Package org.eclipse.ui.forms.widgets

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


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

        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


        section.setText("Connection");
        section.setDescription("Connection details for this server");
        section.setLayoutData(new GridData(GridData.FILL_HORIZONTAL | GridData.VERTICAL_ALIGN_FILL));

        // ports
        Composite composite = toolkit.createComposite(section);

        GridLayout layout = new GridLayout();
        layout.numColumns = 2;
        layout.marginHeight = 8;
        layout.marginWidth = 8;
View Full Code Here

        section.setText("Install");
        section.setDescription("Specify how to install bundles on the server");
        section.setLayoutData(new GridData(GridData.FILL_HORIZONTAL | GridData.VERTICAL_ALIGN_FILL));

        // ports
        Composite composite = toolkit.createComposite(section);

        GridLayout layout = new GridLayout();
        layout.numColumns = 2;
        layout.marginHeight = 8;
        layout.marginWidth = 8;
View Full Code Here

        quickLocalInstallButton = toolkit.createButton(composite, "Install bundles directly from the filesystem",
                SWT.RADIO);
        data = new GridData(SWT.FILL, SWT.FILL, true, false, 2, 1);
        quickLocalInstallButton.setLayoutData(data);

        actionArea = toolkit.createComposite(composite);
        RowLayout actionAreaLayout = new RowLayout();
        actionAreaLayout.center = true;
        actionArea.setLayout(actionAreaLayout);

        supportBundleVersionLabel = toolkit.createLabel(actionArea, "");
View Full Code Here

        // Creating the Section
        Section section = toolkit.createSection( parent, Section.TITLE_BAR );
        section.setText( "All Partitions" );
        section.marginWidth = 10;
        section.marginHeight = 5;
        Composite client = toolkit.createComposite( section, SWT.WRAP );
        GridLayout layout = new GridLayout();
        layout.numColumns = 2;
        layout.makeColumnsEqualWidth = false;
        layout.marginWidth = 2;
        layout.marginHeight = 2;
View Full Code Here

        // CREATE CONTROLS
        Composite body = form.getBody();

        SashForm sashForm = new SashForm(body, SWT.HORIZONTAL);

        Composite treePanel = toolkit.createComposite(sashForm);
        contentTreePart = new JARContentTreePart(treePanel, managedForm);
        managedForm.addPart(contentTreePart);

        Composite detailsPanel = toolkit.createComposite(sashForm);
        entryPart = new JAREntryPart(getEditor(), detailsPanel, toolkit);
View Full Code Here

        Composite treePanel = toolkit.createComposite(sashForm);
        contentTreePart = new JARContentTreePart(treePanel, managedForm);
        managedForm.addPart(contentTreePart);

        Composite detailsPanel = toolkit.createComposite(sashForm);
        entryPart = new JAREntryPart(getEditor(), detailsPanel, toolkit);
        managedForm.addPart(entryPart);

        if (selectedPath != null)
            contentTreePart.setSelectedPath(selectedPath);
View Full Code Here

        form.getBody().setLayout( new GridLayout() );

        // General Information Section
        createGeneralInformationSection( form.getBody(), toolkit );

        Composite bottomComposite = toolkit.createComposite( form.getBody() );
        bottomComposite.setLayout( new GridLayout( 2, true ) );
        bottomComposite.setLayoutData( new GridData( SWT.FILL, SWT.NONE, true, false ) );

        // Mandatory Attributes Section
        createMandatoryAttributesSection( bottomComposite, toolkit );
View Full Code Here

        FormToolkit toolkit = managedForm.getToolkit();
        Section section = getSection();
        section.marginWidth = 10;
        section.marginHeight = 5;
        section.setText(Messages.AttributesSection_title);
        Composite container = toolkit.createComposite(section, SWT.WRAP);
        section.setClient(container);
        GridLayout layout = new GridLayout();
        layout.marginWidth = 2;
        layout.marginHeight = 2;
        container.setLayout(layout);
View Full Code Here

        FormToolkit toolkit = managedForm.getToolkit();
        Section section = getSection();
        section.marginWidth = 10;
        section.marginHeight = 5;
        section.setText(Messages.OperationsSection_title);
        Composite container = toolkit.createComposite(section, SWT.WRAP);
        section.setClient(container);
        GridLayout layout = new GridLayout();
        layout.marginWidth = 2;
        layout.marginHeight = 2;
        container.setLayout(layout);
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.