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

Examples of com.google.gdt.eclipse.designer.model.widgets.WidgetInfo.canDelete()


    TreeInfo tree = (TreeInfo) frame.getChildrenWidgets().get(0);
    TreeItemInfo treeItem = tree.getItems().get(0);
    WidgetInfo button = treeItem.getWidget();
    // check association type, but not operations (see test for this association)
    assertInstanceOf(ImplicitFactoryArgumentAssociation.class, button.getAssociation());
    assertTrue(button.canDelete());
    assertFalse(JavaInfoUtils.canMove(button));
    assertTrue(JavaInfoUtils.canReparent(button));
  }

  ////////////////////////////////////////////////////////////////////////////
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.