Package org.eclipse.ui.forms.widgets

Examples of org.eclipse.ui.forms.widgets.FormToolkit.createComposite()


  }

  @Override
  protected void createMasterPart(IManagedForm managedForm, Composite parent) {
    FormToolkit toolkit = managedForm.getToolkit();
    Composite container = toolkit.createComposite(parent);
    container.setLayout(new GridLayout());
    container.setLayoutData(new GridData(SWT.FILL, SWT.FILL, false, true));

    masterPart = new ApplicationMasterPart(editorPage, managedForm, container, cloudServer);
    managedForm.addPart(masterPart);
View Full Code Here


    Section section = toolkit.createSection(parent, ExpandableComposite.TWISTIE | ExpandableComposite.TITLE_BAR);
    section.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, false));
    section.setText(sectionTitle);

    Composite composite = toolkit.createComposite(section);
    section.setClient(composite);

    GridLayout layout = new GridLayout();
    composite.setLayout(layout);
    composite.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true));
View Full Code Here

    // urlWidget = new CloudUrlWidget(cfServer);
    // urlWidget.createControls(topComposite);
    // urlWidget.getUrlCombo().addModifyListener(new
    // DataChangeListener(DataType.URL));
    //
    final Composite buttonComposite = toolkit.createComposite(composite);

    buttonComposite.setLayout(new GridLayout(4, false));
    GridDataFactory.fillDefaults().align(SWT.END, SWT.FILL).grab(true, false).applyTo(buttonComposite);

    final Composite validateComposite = toolkit.createComposite(composite);
View Full Code Here

    final Composite buttonComposite = toolkit.createComposite(composite);

    buttonComposite.setLayout(new GridLayout(4, false));
    GridDataFactory.fillDefaults().align(SWT.END, SWT.FILL).grab(true, false).applyTo(buttonComposite);

    final Composite validateComposite = toolkit.createComposite(composite);
    validateComposite.setLayout(new GridLayout(1, false));
    validateComposite.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, false));

    validateLabel = toolkit.createLabel(validateComposite, "", SWT.NONE); //$NON-NLS-1$
    validateLabel.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false));
View Full Code Here

        layout.numColumns = 1;
        layout.horizontalSpacing = 10;
        body.setLayout(layout);
        body.setLayoutData(new TableWrapData(TableWrapData.FILL));

        Composite top = toolkit.createComposite(body);
        layout = new TableWrapLayout();
        layout.verticalSpacing = 20;
        top.setLayout(layout);
        TableWrapData data = new TableWrapData(TableWrapData.FILL_GRAB);
        //data.colspan = 2;
View Full Code Here

        top.setLayout(layout);
        TableWrapData data = new TableWrapData(TableWrapData.FILL_GRAB);
        //data.colspan = 2;
        top.setLayoutData(data);

        Composite bottom = toolkit.createComposite(body);
        layout = new TableWrapLayout();
        layout.verticalSpacing = 20;
        bottom.setLayout(layout);
        bottom.setLayoutData(new TableWrapData(TableWrapData.FILL_GRAB));
View Full Code Here

        layout.numColumns = 2;
        layout.horizontalSpacing = 10;
        body.setLayout(layout);
        body.setLayoutData(new TableWrapData(TableWrapData.FILL));

        Composite left = toolkit.createComposite(body);
        layout = new TableWrapLayout();
        layout.verticalSpacing = 20;
        left.setLayout(layout);
        left.setLayoutData(new TableWrapData(TableWrapData.FILL_GRAB));
View Full Code Here

        layout = new TableWrapLayout();
        layout.verticalSpacing = 20;
        left.setLayout(layout);
        left.setLayoutData(new TableWrapData(TableWrapData.FILL_GRAB));

        Composite right = toolkit.createComposite(body);
        layout = new TableWrapLayout();
        layout.verticalSpacing = 20;
        right.setLayout(layout);
        right.setLayoutData(new TableWrapData(TableWrapData.FILL_GRAB));
View Full Code Here

        layout.numColumns = 2;
        layout.horizontalSpacing = 10;
        body.setLayout(layout);
        body.setLayoutData(new TableWrapData(TableWrapData.FILL_GRAB));

        Composite left = toolkit.createComposite(body);
        layout = new TableWrapLayout();
        layout.verticalSpacing = 20;
        left.setLayout(layout);
        TableWrapData layoutData = new TableWrapData(TableWrapData.FILL_GRAB);
        layoutData.rowspan = 2;
View Full Code Here

        left.setLayout(layout);
        TableWrapData layoutData = new TableWrapData(TableWrapData.FILL_GRAB);
        layoutData.rowspan = 2;
        left.setLayoutData(layoutData);

        Composite right = toolkit.createComposite(body);
        layout = new TableWrapLayout();
        layout.verticalSpacing = 20;
        right.setLayout(layout);
        right.setLayoutData(new TableWrapData(TableWrapData.FILL_GRAB));
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.