Examples of LayoutChoicesControl


Examples of com.google.devtools.depan.eclipse.utils.LayoutChoicesControl

    int index = addPage(composite);
    setPageText(index, "New View");
  }

  private LayoutChoicesControl setupLayoutChoices(Composite parent) {
    LayoutChoicesControl result = new LayoutChoicesControl(
        parent, LayoutChoicesControl.Style.LINEAR);
    result.setLayoutChoices(LayoutGenerators.getLayoutNames(false));

    RelationshipSet selectedRelSet =
        graph.getDefaultAnalysis().getDefaultRelationshipSet();
    java.util.List<RelSetDescriptor> choices =
        RelSetDescriptors.buildGraphChoices(graph);
    result.setRelSetInput(selectedRelSet, choices);

    return result;
  }
View Full Code Here

Examples of com.google.devtools.depan.eclipse.utils.LayoutChoicesControl

  @Override
  public Control setupComposite(Composite parent) {
    toolPanel = new Composite(parent, SWT.NONE);
    toolPanel.setLayout(new GridLayout(1, false));

    layoutChoices = new LayoutChoicesControl(toolPanel,
        LayoutChoicesControl.Style.LINEAR);
    layoutChoices.setLayoutData(new GridData(SWT.BEGINNING, SWT.CENTER, true, false));
    layoutChoices.setLayoutChoices(LayoutGenerators.getLayoutNames(false));

    Button apply = new Button(toolPanel, SWT.PUSH);
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.