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

Examples of com.google.gdt.eclipse.designer.model.widgets.ValuePickerInfo


            "      rootPanel.add(valuePicker);",
            "    }",
            "  }",
            "}");
    frame.refresh();
    ValuePickerInfo valuePicker = (ValuePickerInfo) frame.getChildrenWidgets().get(0);
    CellListInfo cellList = valuePicker.getCellList();
    Class<?> cellListClass = cellList.getDescription().getComponentClass();
    assertTrue(ReflectionUtils.isSuccessorOf(
        cellListClass,
        "com.google.gwt.user.cellview.client.CellList"));
    // CellList should not be visible on design canvas, because we want that user click and move ValuePicker
View Full Code Here


            "    RootPanel rootPanel = RootPanel.get();",
            "  }",
            "}");
    frame.refresh();
    // create
    ValuePickerInfo valuePicker = createJavaInfo("com.google.gwt.user.client.ui.ValuePicker");
    frame.command_CREATE2(valuePicker, null);
    // check
    assertNoErrors(valuePicker);
    {
      CellListInfo cellList = valuePicker.getCellList();
      Class<?> cellListClass = cellList.getDescription().getComponentClass();
      assertTrue(ReflectionUtils.isSuccessorOf(
          cellListClass,
          "com.google.gwt.user.cellview.client.CellList"));
      assertNoErrors(cellList);
View Full Code Here

            "      rootPanel.add(valuePicker);",
            "    }",
            "  }",
            "}");
    frame.refresh();
    ValuePickerInfo valuePicker = (ValuePickerInfo) frame.getChildrenWidgets().get(0);
    CellListInfo cellList = valuePicker.getCellList();
    //
    assertFalse(cellList.canDelete());
  }
View Full Code Here

TOP

Related Classes of com.google.gdt.eclipse.designer.model.widgets.ValuePickerInfo

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.