Examples of layout()


Examples of org.sf.feeling.swt.win32.internal.extension.widgets.BorderCanvas.layout()

      maxData.exclude = !enabled;
      maxButton.setLayoutData(maxData);
      maxButton.setVisible(enabled);
      break;
    }
    border.layout();
  }

  public boolean getEnabled(int type)
  {
    ButtonCanvas button = (ButtonCanvas) buttons.get(new Integer(type));
View Full Code Here

Examples of org.springframework.ide.eclipse.beans.ui.graph.model.Graph.layout()

                public void run() {
                  if (getGraphicalViewer() != null && getGraphicalViewer().getControl() != null) {
                    setPartName(input.getName());
                    setContentDescription(input.getToolTipText());

                    graph.layout(getGraphicalViewer().getControl().getFont());
                    getGraphicalViewer().setContents(graph);
                  }
                }
              });
            }
View Full Code Here

Examples of org.terasology.logic.behavior.asset.BehaviorTree.layout()

        WidgetUtil.trySubscribe(this, "layout", new ActivateEventListener() {
            @Override
            public void onActivated(UIWidget button) {
                BehaviorTree selection = selectTree.getSelection();
                if (selection != null) {
                    selection.layout(selectedNode);
                }
            }
        });

        WidgetUtil.trySubscribe(this, "new", new ActivateEventListener() {
View Full Code Here

Examples of org.terasology.logic.behavior.asset.BehaviorTreeData.layout()

        parallel.children().add(new MonitorNode());
        parallel.children().add(new DebugNode(3));
        BehaviorTreeData tree = new BehaviorTreeData();
        tree.setRoot(sequence);
        tree.createRenderable();
        tree.layout(null);
        return tree;
    }

    @Before
    public void setup() throws Exception {
View Full Code Here

Examples of org.wso2.carbon.bpel.ui.bpel2svg.ActivityInterface.layout()

        int childYTop = yTop + getStartIconHeight() + (getYSpacing() / 2);
        int childXLeft = startXLeft + (getXSpacing() / 2);
        while (itr.hasNext()) {
            activity = itr.next();
//            childYTop += centreOfMyLayout - (activity.getDimensions().getHeight() / 2);
            activity.layout(childXLeft, childYTop);
            childXLeft += activity.getDimensions().getWidth();
        }

        // Set the values
        setStartIconXLeft(xLeft);
View Full Code Here

Examples of org.wso2.carbon.bpel.ui.bpel2svg.ActivityInterface.layout()

        while (itr.hasNext()) {
            activity = itr.next();
            if (activity instanceof ElseIfImpl || activity instanceof ElseImpl) {
                // Ignore
            } else {
                activity.layout(childXLeft, childYTop);
                childXLeft += activity.getDimensions().getWidth();
            }
        }
        // Process Handlers
        itr = getSubActivities().iterator();
View Full Code Here

Examples of org.wso2.carbon.bpel.ui.bpel2svg.ActivityInterface.layout()

        childYTop = yTop + getElseIfAdjustment();

        while (itr.hasNext()) {
            activity = itr.next();
            if (activity instanceof ElseIfImpl || activity instanceof ElseImpl) {
                activity.layout(childXLeft, childYTop);
                childXLeft += activity.getDimensions().getWidth();
            }
        }

        // Set the values
View Full Code Here

Examples of org.wso2.carbon.bpel.ui.bpel2svg.ActivityInterface.layout()

        while (itr.hasNext()) {
            activity = itr.next();
            if (activity instanceof ElseIfImpl || activity instanceof ElseImpl) {
                // Ignore
            } else {
                activity.layout(childXLeft, childYTop);
                childYTop += activity.getDimensions().getHeight();
            }
        }
        // Process Handlers
        itr = getSubActivities().iterator();
View Full Code Here

Examples of org.wso2.carbon.bpel.ui.bpel2svg.ActivityInterface.layout()

        childXLeft = xLeft + getElseIfAdjustment();

        while (itr.hasNext()) {
            activity = itr.next();
            if (activity instanceof ElseIfImpl || activity instanceof ElseImpl) {
                activity.layout(childXLeft, childYTop);
                childYTop += activity.getDimensions().getHeight();
            }
        }

        // Set the values
View Full Code Here

Examples of org.wso2.carbon.bpel.ui.bpel2svg.ActivityInterface.layout()

        int childXLeft = startXLeft + (getYSpacing() / 2);
        int childYTop = startYTop + (getXSpacing() / 2);
        while (itr.hasNext()) {
            activity = itr.next();
//            childXLeft = centreOfMyLayout - activity.getDimensions().getWidth() / 2;
            activity.layout(childXLeft, childYTop);
            childYTop += activity.getDimensions().getHeight();
        }

        // Set the values
        setStartIconXLeft(xLeft);
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.