Package com.google.gdt.eclipse.designer.smart.model

Examples of com.google.gdt.eclipse.designer.smart.model.ListGridInfo


            "    canvas.draw();",
            "  }",
            "}");
    canvas.refresh();
    FilterBuilderInfo filterBuilder = canvas.getChildren(FilterBuilderInfo.class).get(0);
    ListGridInfo listGrid = canvas.getChildren(ListGridInfo.class).get(0);
    DataSourceInfo dataSource;
    {
      Property property = listGrid.getPropertyByTitle("dataSource");
      ObjectPropertyEditor editor = (ObjectPropertyEditor) property.getEditor();
      dataSource = (DataSourceInfo) editor.getValueComponent(property);
    }
    //
    assertThat(filterBuilder.getChildren()).isEmpty();
View Full Code Here


  ////////////////////////////////////////////////////////////////////////////
  /**
   * <code>ListGrid</code> parsing.
   */
  public void test_parse() throws Exception {
    ListGridInfo listGrid =
        openJavaInfo(
            "public class Test extends ListGrid {",
            "  public Test() {",
            "    ListGridField field = new ListGridField('field', 'Field');",
            "    setFields(new ListGridField[] { field });",
            "  }",
            "}");
    //
    assertEquals(1, listGrid.getFields().size());
    List<ArrayObjectInfo> arrayInfos = listGrid.getChildren(ArrayObjectInfo.class);
    assertEquals(1, arrayInfos.size());
  }
View Full Code Here

  /**
   * Creation fields.
   */
  public void test_CREATE() throws Exception {
    ListGridInfo listGrid =
        openJavaInfo(
            "public class Test extends ListGrid {",
            "  public Test() {",
            "    // filler",
            "  }",
View Full Code Here

TOP

Related Classes of com.google.gdt.eclipse.designer.smart.model.ListGridInfo

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.