Sha256: 7bf1c917b48e3b17a34205f1c77a27965656b05abeecf03021f74cd957b87c5b

Contents?: true

Size: 669 Bytes

Versions: 5

Compression:

Stored size: 669 Bytes

Contents

package <%= views_package %>;

import java.util.ArrayList;

import <%= gwt_rails_package %>.ColumnDefinition;
import <%= models_package %>.<%= class_name %>;

@SuppressWarnings("serial")
public class <%= class_name.pluralize %>ColumnDefinitionsImpl extends 
    ArrayList<ColumnDefinition<<%= class_name %>>> {
  
  protected <%= class_name.pluralize %>ColumnDefinitionsImpl() {
    
    this.add(new ColumnDefinition<<%= class_name %>>() {
      public void render(<%= class_name %> c, StringBuilder sb) {        
        sb.append("<div id='" + c.id + "'>" + "TODO" + "</div>");
      }

      public boolean isClickable() {
        return true;
      }
    });
  }
}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
resty-generators-0.4.0 lib/generators/resty/templates/ColumnDefinitionsImpl.java
resty-generators-0.3.3 lib/generators/resty/templates/ColumnDefinitionsImpl.java
resty-generators-0.3.2 lib/generators/resty/templates/ColumnDefinitionsImpl.java
resty-generators-0.3.1 lib/generators/resty/templates/ColumnDefinitionsImpl.java
resty-generators-0.3.0 lib/generators/resty/templates/ColumnDefinitionsImpl.java