Package org.eclipse.wb.core.model

Examples of org.eclipse.wb.core.model.ObjectInfo


    }, false);
  }

  public boolean validateMove(Object object) {
    if (isValidObjectType(object)) {
      ObjectInfo component = (ObjectInfo) object;
      // don't move item on its child menu
      return !component.isParentOf(m_menu);
    }
    return false;
  }
View Full Code Here


  ////////////////////////////////////////////////////////////////////////////
  @Override
  protected void refresh_afterCreate() throws Exception {
    super.refresh_afterCreate();
    {
      ObjectInfo expandedWidget = m_stackContainer.getActive();
      if (expandedWidget != null) {
        for (WidgetInfo widget : getContainer().getChildrenWidgets()) {
          ReflectionUtils.invokeMethod(
              widget.getObject(),
              "setCollapsed(boolean)",
View Full Code Here

    StatementTarget statementTarget = createStatementTarget(newTab);
    JavaInfoUtils.addTarget(newCanvas, createAssociation, newTab, statementTarget);
  }

  public void command_MOVE(CanvasInfo moveCanvas, TabInfo referenceTab) throws Exception {
    ObjectInfo parent = moveCanvas.getParent();
    if (parent instanceof TabInfo) {
      TabInfo moveTab = (TabInfo) parent;
      AssociationObject associationObject = createTabAssociationObject();
      JavaInfoUtils.move(moveTab, associationObject, this, referenceTab);
      return;
View Full Code Here

    StatementTarget statementTarget = createStatementTarget(newItem);
    JavaInfoUtils.addTarget(newCanvas, associationObject, newItem, statementTarget);
  }

  public void command_MOVE(CanvasInfo moveCanvas, FormItemInfo referenceItem) throws Exception {
    ObjectInfo parent = moveCanvas.getParent();
    if (parent instanceof FormItemInfo) {
      FormItemInfo moveItem = (FormItemInfo) parent;
      command_MOVE(moveItem, referenceItem);
      return;
    }
View Full Code Here

            "// filler filler filler filler filler",
            "<ui:UiBinder>",
            "  <g:FlowPanel/>",
            "</ui:UiBinder>");
    //
    ObjectInfo object = new TestObjectInfo();
    panel.addChild(object);
    panel.refresh();
    canvas.assertNullEditPart(object);
  }
View Full Code Here

TOP

Related Classes of org.eclipse.wb.core.model.ObjectInfo

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.