Package org.eclipse.swt.custom

Examples of org.eclipse.swt.custom.StackLayout


    pages = new HashMap<IPage, Composite>();
    pageStatus = new HashMap<IPage, Boolean>();
    pageToolItems = new HashMap<IPage, IContributionItem[]>();

    toolkit = new FormToolkit(PlatformUI.getWorkbench().getDisplay());
    stackLayout = new StackLayout();
    preferences = new Preference();
  }
View Full Code Here


    deploymentCoLocated.setSelection(true);
    deploymentCoLocated.addSelectionListener(deploymentListener);
    deploymentRemote.addSelectionListener(deploymentListener);

    stackLayoutComposite = new Composite(sectionClient, SWT.NONE);
    stackLayout = new StackLayout();
    stackLayoutComposite.setLayout(stackLayout);
    td = new TableWrapData(TableWrapData.FILL);
    td.colspan = 2;
    td.grabHorizontal = true;
    td.indent = 0;
View Full Code Here

        layout.marginHeight = 0;
        layout.marginWidth = 0;
        controlColumn.setLayout(layout);

        controlArea = new Composite(controlColumn, SWT.NONE);
        controlAreaLayout = new StackLayout();
        controlArea.setLayout(controlAreaLayout);

        colorControls = new Composite(controlArea, SWT.NONE);
        colorControls.setLayout(new FillLayout());
        createColorControl();
View Full Code Here

        label.setText(RESOURCE_BUNDLE.getString("preview")); //$NON-NLS-1$
        myApplyDialogFont(label);
        previewComposite = new Composite(composite, SWT.NONE);
        data = new GridData(GridData.FILL_BOTH);
        previewComposite.setLayoutData(data);
        stackLayout = new StackLayout();
        previewComposite.setLayout(stackLayout);
    }
View Full Code Here

    deploymentCoLocated.setSelection(true);
    deploymentCoLocated.addSelectionListener(deploymentListener);
    deploymentRemote.addSelectionListener(deploymentListener);

    stackLayoutComposite = new Composite(sectionClient, SWT.NONE);
    stackLayout = new StackLayout();
    stackLayoutComposite.setLayout(stackLayout);
    td = new TableWrapData(TableWrapData.FILL);
    td.colspan = 2;
    td.grabHorizontal = true;
    td.indent = 0;
View Full Code Here

  protected Composite createPageComposite(Composite parent) {
    pageComposite = new Composite(parent, SWT.NONE);
    // use a StackLayout instead of a FillLayout (see bug 81460 [Workbench]
    // (regression) Close all perspectives, open Java perspective, layout
    // wrong)
    pageComposite.setLayout(new StackLayout());
    return pageComposite;
  }
View Full Code Here

        if (in == null || pageList.contains(in)) {
          pageList.setActive(in);
        }
        WorkbenchPage newPage = pageList.getActive();
        Composite parent = getPageComposite();
        StackLayout layout = (StackLayout) parent.getLayout();
        if (newPage != null) {
          layout.topControl = newPage.getClientComposite();
          parent.layout();
          hideEmptyWindowContents();
          newPage.onActivate();
View Full Code Here

   * @see org.eclipse.ui.part.WorkbenchPart#createPartControl(org.eclipse.swt.widgets.Composite)
   */
  @Override
  public void createPartControl(Composite parent) {
    root = new Composite(parent, SWT.NONE);
    stackLayout = new StackLayout();
    stackLayout.marginHeight = 0;
    stackLayout.marginWidth = 0;
    root.setLayout(stackLayout);
   
    noEntryArea = new Composite(root, SWT.NONE);
View Full Code Here

   */
  private void buildControls() {
    super.setLayout(new GridLayout());
    baseComposite = new Composite(this, SWT.EMBEDDED);
    baseComposite.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true));
    stackLayout = new StackLayout();
    stackLayout.marginHeight = -5;
    stackLayout.marginWidth = -5;
    baseComposite.setLayout(stackLayout);
    baseComposite.setBackground(this.getParent().getBackground());

View Full Code Here

    @Override
    protected void addRightPanelContents(Composite parent) {
        addSeriesGroup(parent);

        stackPanel = new Composite(parent, SWT.NONE);
        stackLayout = new StackLayout();
        stackPanel.setLayout(stackLayout);
        GridData gridData = new GridData(GridData.FILL_HORIZONTAL);
        gridData.horizontalSpan = 1;
        stackPanel.setLayoutData(gridData);
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.