Package org.eclipse.swt.custom

Examples of org.eclipse.swt.custom.StackLayout


                "title"), null, Section.TWISTIE | Section.EXPANDED);
        GridData data = new GridData(GridData.FILL_HORIZONTAL);
        section.setLayoutData(data);

        displayArea = new Composite(section, SWT.NONE);
        displayAreaLayout = new StackLayout();
        displayArea.setLayout(displayAreaLayout);

        noErrors = new Label(displayArea, SWT.LEFT);
        setDefaultColour(noErrors);
        noErrors.setText(EditorMessages.getString(RESOURCE_PREFIX + "errors.none"));
View Full Code Here


        GridData data = new GridData(GridData.FILL_VERTICAL);
        policiesSection.setLayoutData(data);

        final Composite stackedContainer = new Composite(displayArea,
                SWT.NONE);
        final StackLayout stackLayout = new StackLayout();
        stackLayout.marginHeight = 0;
        stackLayout.marginHeight = 0;
        stackedContainer.setLayout(stackLayout);
        stackedContainer.setLayoutData(new GridData(GridData.FILL_BOTH));
View Full Code Here

        GridLayout gridLayout = new GridLayout(2, false);
        gridLayout.horizontalSpacing = 10;
        comboContainer.setLayout(gridLayout);

        stackComposite = new Composite(getShell(), SWT.NONE);
        stackComposite.setLayout(new StackLayout());


        // Create the manager from the repository file, giving it an
        // ODOMFactory,
        try {
View Full Code Here

        mainWindow.getShell().getDisplay().getSystemColor(SWT.COLOR_TITLE_BACKGROUND_GRADIENT),
        mainWindow.getShell().getDisplay().getSystemColor(SWT.COLOR_WIDGET_BACKGROUND)
    };
   
    GridData tableGridLayout = new GridData(SWT.FILL, SWT.FILL, true, true, 5, 2);
    solutionTableStackLayout = new StackLayout();

    Composite composite = new Composite(tabFolder, SWT.NONE);
    composite.setLayout(new GridLayout(6, true));
    composite.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true, 6, 2));
View Full Code Here

        mainWindow.getShell().getDisplay().getSystemColor(SWT.COLOR_WIDGET_BACKGROUND)
    };
   
    GridData tableGridLayout = new GridData(SWT.FILL, SWT.FILL, true, true, 5, 6);
    GridData fileListLayoutData = new GridData(SWT.FILL, SWT.FILL, true, true, 1, 1);
    sourceTableStackLayout = new StackLayout();

    Composite composite = new Composite(tabFolder, SWT.NONE);
    composite.setLayout(new GridLayout(6, true));
    composite.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true, 6, 6));
View Full Code Here

  }

  protected Control createContents(Composite parent) {
    this.mainLayout = new GridLayout(4, true);
    this.workspaceStackLayoutData = new GridData(SWT.FILL, SWT.FILL, true, true, 3, 1);
    this.workspaceStack = new StackLayout();

    this.mainContainer = new Composite(parent, SWT.NONE);
    this.mainContainer.setLayout(mainLayout);
    this.mainContainer.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true, 4, 2));
View Full Code Here

   * @param style
   */
  @SuppressWarnings("unchecked")
  public DoubleElementEditorChooser(Composite parent, int style) {
    super(parent, style);
    stackLayout = new StackLayout();

    // Install editors for every Element type known to every plugin
    for (SourcePlugin p : SourcePluginRegistry.getInstances()) {
      // get the transformer for an Element to an ElementEditor
      ElementClassTransformer<Class<? extends ElementEditor>> transformer =
View Full Code Here

    composite.setLayout(layout);

    // bottom composite with options for each tool.
    panel = new Composite(parent, SWT.NONE);
    panel.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true));
    stackLayout = new StackLayout();
    panel.setLayout(stackLayout);

    guis.put(null, new Composite(panel, SWT.NONE));

    for (Tool tool : ToolList.tools) {
View Full Code Here

    Composite c = new Composite(parent, SWT.NONE);
    c.setLayoutData(new GridData(GridData.FILL_BOTH));
    c.setLayout(new GridLayout(1, false));
    cards = new Composite(c, SWT.NONE);
    GridData data = new GridData(GridData.FILL_BOTH);
    pageSelector = new StackLayout();
    cards.setLayoutData(data);
    cards.setLayout(pageSelector);
    tablePage = new Composite(cards, SWT.NONE);
    tablePage.setLayout(new GridLayout(1, false));
    createTable(tablePage);
View Full Code Here

    valueTextStack = newComposite(sectionClient);
    valueTextStack.setLayoutData(new GridData(GridData.FILL_HORIZONTAL
            + GridData.VERTICAL_ALIGN_FILL));
    ((GridData) valueTextStack.getLayoutData()).horizontalSpan = 2;
    valueTextStack.setLayout(valueTextStackLayout = new StackLayout());
    valueTextStackLayout.marginHeight = 5;
    valueTextStackLayout.marginWidth = 5;
    vtc1 = new2ColumnComposite(valueTextStack);
    vtc2 = new2ColumnComposite(valueTextStack);
    enableBorders(vtc1);
View Full Code Here

TOP

Related Classes of org.eclipse.swt.custom.StackLayout

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.