Package org.eclipse.ui.forms.widgets

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


    orgText.setData(FormToolkit.KEY_DRAW_BORDER, Boolean.FALSE);
    if (cfServer.getCloudFoundrySpace() != null && cfServer.getCloudFoundrySpace().getOrgName() != null) {
      orgText.setText(cfServer.getCloudFoundrySpace().getOrgName());
    }

    Label spaceLabel = toolkit.createLabel(topComposite, Messages.CloudFoundryAccountSection_LABEL_SPACE, SWT.NONE);
    spaceLabel.setForeground(toolkit.getColors().getColor(IFormColors.TITLE));
    spaceLabel.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, false, false));

    spaceText = toolkit.createText(topComposite, "", SWT.NONE); //$NON-NLS-1$
    spaceText.setEditable(false);
View Full Code Here


    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));

    createCloneServerArea(buttonComposite, toolkit);

    final Button changePasswordButton = toolkit.createButton(buttonComposite,
View Full Code Here

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

        supportBundleVersionLabel = toolkit.createLabel(actionArea, "");
        installOrUpdateSupportBundleLink = toolkit.createHyperlink(actionArea, "(Install)", SWT.NONE);

        initialize();
    }
View Full Code Here

        body.setLayout(layout);
        GridDataFactory defaultGridData = GridDataFactory.fillDefaults();

        String className = wrapper.getMBeanInfo().getClassName();

        toolkit.createLabel(body, Messages.className);
        Label classNameLabel = toolkit.createLabel(body, className, SWT.WRAP
                | SWT.READ_ONLY);
        classNameLabel.setFont(bold);
        classNameLabel.setLayoutData(defaultGridData.create());
View Full Code Here

        GridDataFactory defaultGridData = GridDataFactory.fillDefaults();

        String className = wrapper.getMBeanInfo().getClassName();

        toolkit.createLabel(body, Messages.className);
        Label classNameLabel = toolkit.createLabel(body, className, SWT.WRAP
                | SWT.READ_ONLY);
        classNameLabel.setFont(bold);
        classNameLabel.setLayoutData(defaultGridData.create());

        String description = wrapper.getMBeanInfo().getDescription();
View Full Code Here

        classNameLabel.setFont(bold);
        classNameLabel.setLayoutData(defaultGridData.create());

        String description = wrapper.getMBeanInfo().getDescription();

        toolkit.createLabel(body, Messages.description);
        Text descriptionText = toolkit.createText(body, description, SWT.MULTI
                | SWT.WRAP | SWT.READ_ONLY);
        descriptionText.setLayoutData(defaultGridData.create());

        Section notifSection = toolkit.createSection(body, Section.TITLE_BAR
View Full Code Here

    Composite parent = toolkit.createComposite(section);
    parent.setLayout(new GridLayout(3, false));
    section.setClient(parent);

    // The labels at the top:
    toolkit.createLabel(parent, "Available Groups:");
    toolkit.createLabel(parent, "");
    toolkit.createLabel(parent, "Selected Groups:");

    createAvailableCategoriesViewer(parent);
View Full Code Here

    parent.setLayout(new GridLayout(3, false));
    section.setClient(parent);

    // The labels at the top:
    toolkit.createLabel(parent, "Available Groups:");
    toolkit.createLabel(parent, "");
    toolkit.createLabel(parent, "Selected Groups:");

    createAvailableCategoriesViewer(parent);

    Composite buttonsComposite = toolkit.createComposite(parent);
View Full Code Here

    section.setClient(parent);

    // The labels at the top:
    toolkit.createLabel(parent, "Available Groups:");
    toolkit.createLabel(parent, "");
    toolkit.createLabel(parent, "Selected Groups:");

    createAvailableCategoriesViewer(parent);

    Composite buttonsComposite = toolkit.createComposite(parent);
    createButtons(buttonsComposite, toolkit);
View Full Code Here

        FormToolkit toolkit = managedForm.getToolkit();
        Composite parent = form.getBody();
        parent.setLayout( new GridLayout( 2, false ) );

        // Error Image
        Label errorImageLabel = toolkit.createLabel( parent, null );
        errorImageLabel.setImage( Display.getCurrent().getSystemImage( SWT.ICON_ERROR ) );

        // Error Label
        toolkit.createLabel( parent, Messages.getString( "ErrorPage.ErrorOpeningTheEditor" ) ); //$NON-NLS-1$
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.