Examples of SashForm


Examples of org.eclipse.swt.custom.SashForm

        onGenerateName();
      }
    });

    /* Sashform dividing search definition from actions */
    SashForm sashForm = new SashForm(parent, SWT.VERTICAL | SWT.SMOOTH);
    sashForm.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true));

    /* Top Sash */
    Composite topSash = new Composite(sashForm, SWT.NONE);
    topSash.setLayout(LayoutUtils.createGridLayout(2, 0, 0, 0, 0, false));
    createConditionControls(topSash);

    /* Bottom Sash */
    Composite bottomSash = new Composite(sashForm, SWT.NONE);
    bottomSash.setLayout(LayoutUtils.createGridLayout(1, 0, 0, 0, 0, false));

    /* Label in between */
    Composite labelContainer = new Composite(bottomSash, SWT.NONE);
    labelContainer.setLayout(LayoutUtils.createGridLayout(1, 10, 3, 0, 0, false));
    ((GridLayout) labelContainer.getLayout()).marginBottom = 2;
    labelContainer.setLayoutData(new GridData(SWT.FILL, SWT.BEGINNING, true, false));
    Label explanationLabel = new Label(labelContainer, SWT.NONE);
    explanationLabel.setText(Messages.NewsFilterDialog_PERFORM_ACTIONS);

    /* Action Controls */
    createActionControls(bottomSash);

    /* Separator */
    new Label(bottomSash, SWT.SEPARATOR | SWT.HORIZONTAL).setLayoutData(new GridData(SWT.FILL, SWT.END, true, false));

    /* Set weights to even */
    sashForm.setWeights(new int[] { 50, 50 });

    applyDialogFont(parent);

    return parent;
  }
View Full Code Here

Examples of org.eclipse.swt.custom.SashForm

    /* Title Message */
    restoreInfoMessage(false);

    /* Sashform dividing search definition from results */
    fSashForm = new SashForm(parent, SWT.VERTICAL | SWT.SMOOTH);
    fSashForm.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true, 2, 1));

    /* Top Area */
    Composite topSash = new Composite(fSashForm, SWT.NONE);
    topSash.setLayout(LayoutUtils.createGridLayout(1, 0, 0, 0, 0, false));
View Full Code Here

Examples of org.eclipse.swt.custom.SashForm

      Label sep = new Label(rootComposite, SWT.SEPARATOR | SWT.HORIZONTAL);
      sep.setLayoutData(new GridData(SWT.FILL, SWT.BEGINNING, true, false));
    }

    /* SashForm dividing Feed and News View */
    fSashForm = new SashForm(rootComposite, (fInitialLayoutClassic ? SWT.VERTICAL : SWT.HORIZONTAL) | SWT.SMOOTH);
    fSashForm.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true));

    /* Table-Viewer to display headlines */
    NewsTableViewer tableViewer;
    {
View Full Code Here

Examples of org.eclipse.swt.custom.SashForm

        tmanager.add(toggleASMifierModeAction);
        tmanager.add(toggleVerifierAction);
    }

    private void createVerifyControl() {
        verifyControl = new SashForm(stackComposite, SWT.VERTICAL);

        tableControl = new Table(verifyControl, SWT.SINGLE | SWT.FULL_SELECTION);
        tableControlViewer = new TableViewer(tableControl);

        TableColumn tc = new TableColumn(tableControl, SWT.LEFT);
        tc.setText("#");
        tc.setToolTipText("ASM instruction offset");

        tc = new TableColumn(tableControl, SWT.LEFT);
        tc.setText(BytecodeOutlinePlugin.getResourceString(NLS_PREFIX + "lvt.header"));
        tc.setToolTipText("Local variables");

        tc = new TableColumn(tableControl, SWT.LEFT);
        tc.setText(BytecodeOutlinePlugin.getResourceString(NLS_PREFIX + "stack.header"));
        tc.setToolTipText("Stack content *before* current instruction is executed");
        new TableColumn(tableControl, SWT.LEFT);
        new TableColumn(tableControl, SWT.LEFT);
        tableControl.setLinesVisible(false);
        tableControl.setHeaderVisible(true);

        stackAndLvt = new SashForm(verifyControl, SWT.HORIZONTAL);

        lvtTable = new Table(stackAndLvt, SWT.SINGLE | SWT.FULL_SELECTION);
        lvtTable.setLinesVisible(false);
        lvtTable.setHeaderVisible(true);

View Full Code Here

Examples of org.eclipse.swt.custom.SashForm

    gridLayout2.numColumns = 1;
    jobsAndOrdersGroup = new Group(this, SWT.NONE);
    jobsAndOrdersGroup.setText("Commands for Job: " + listener.getName() + (listener.isDisabled() ? " (Disabled)" : ""));
    jobsAndOrdersGroup.setLayout(gridLayout2);
    GridData gridData18 = new org.eclipse.swt.layout.GridData(GridData.FILL, GridData.FILL, true, true, 1, 2);
    sashForm = new SashForm(jobsAndOrdersGroup, SWT.NONE);
    //sashForm.setWeights(new int[] { 1 });
    sashForm.setOrientation(512);
    sashForm.setLayoutData(gridData18);
    //parameter
    //createJobCommandParameter();
View Full Code Here

Examples of org.eclipse.swt.custom.SashForm

    /**
     * This method initializes sashForm
     */
    private void createSashForm() {
        sashForm = new SashForm(this, SWT.NONE);
        createGTree();
        createCMainForm();
        cMainForm = new Composite(sashForm, SWT.NONE);
        cMainForm.setLayout(new FillLayout());
              
View Full Code Here

Examples of org.eclipse.swt.custom.SashForm

  /**
   * This method initializes sashForm
   */
  private void createSashForm() {
   
    sashForm = new SashForm(this, SWT.NONE);
    //sashForm.setLayoutData(new GridData(GridData.FILL, GridData.FILL, true, true));
    createGTree();
    createCMainForm();
    sashForm.setWeights(new int[] { 176, 698 });
    Options.loadSash("main", sashForm);
View Full Code Here

Examples of org.eclipse.swt.custom.SashForm

  /**
   * This method initializes sashForm
   */
  private void createSashForm() {
    sashForm = new SashForm(this, SWT.NONE);
    createGroup();
    createDocMainForm();
    sashForm.setWeights(new int[] { 66, 264 });
    Options.loadSash("test", sashForm);
  }
View Full Code Here

Examples of org.eclipse.swt.custom.SashForm

    /**
     * This method initializes sashForm
     */
    private void createSashForm() {
        sashForm = new SashForm(this, SWT.NONE);
        createGroup();
        createDocMainForm();
        sashForm.setWeights(new int[] { 66, 264 });
        Options.loadSash("documentation", sashForm);
    }
View Full Code Here

Examples of org.eclipse.swt.custom.SashForm

    group = new Group(this, SWT.NONE);       

    final GridLayout gridLayout = new GridLayout();
    group.setLayout(gridLayout);

    sashForm = new SashForm(group, SWT.VERTICAL);
    sashForm.setLayout(new GridLayout());

    sashForm.setLayoutData(new GridData(GridData.FILL, GridData.FILL, true, true));

    final Group jobchainsGroup = new Group(sashForm, SWT.NONE);
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.