Package org.eclipse.ui.forms.widgets

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


        // 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$

        // Details Label
        Label detailsLabel = toolkit.createLabel( parent, Messages.getString( "ErrorPage.Details" ) ); //$NON-NLS-1$
        detailsLabel.setLayoutData( new GridData( SWT.NONE, SWT.NONE, false, false, 2, 1 ) );
View Full Code Here


        // Error Label
        toolkit.createLabel( parent, Messages.getString( "ErrorPage.ErrorOpeningTheEditor" ) ); //$NON-NLS-1$

        // Details Label
        Label detailsLabel = toolkit.createLabel( parent, Messages.getString( "ErrorPage.Details" ) ); //$NON-NLS-1$
        detailsLabel.setLayoutData( new GridData( SWT.NONE, SWT.NONE, false, false, 2, 1 ) );

        // Details Text
        Text detailsText = toolkit.createText( parent, "", SWT.MULTI ); //$NON-NLS-1$
        detailsText.setEditable( false );
View Full Code Here

        composite.setLayoutData( new GridData( SWT.CENTER, SWT.CENTER, true, true ) );

        ProgressBar progressBar = new ProgressBar( composite, SWT.INDETERMINATE );
        progressBar.setLayoutData( new GridData( SWT.CENTER, SWT.NONE, false, false ) );

        Label label = toolkit.createLabel( composite,
            Messages.getString( "LoadingPage.LoadingTheConfigurationPleaseWait" ) ); //$NON-NLS-1$
        label.setLayoutData( new GridData( SWT.CENTER, SWT.NONE, false, false ) );
    }
}
View Full Code Here

    layout.verticalSpacing = 0;
    layout.marginBottom = 0;
    composite.setLayout(layout);
    composite.setBackground(null);
    composite.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false));
    Control label = toolkit.createLabel(composite, "Search");
    label.setBackground(null);

    searchText = toolkit.createText(composite, "", SWT.FLAT | SWT.SEARCH); //$NON-NLS-1$
    searchText.setData(FormToolkit.TEXT_BORDER, Boolean.TRUE);
    searchText.setLayoutData(new GridData(200, -1));
View Full Code Here

        gridLayout.numColumns = 2;
        textComposite.setLayout(gridLayout);
        textComposite.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, false));
        section.setDescriptionControl(textComposite);
        //text
        Label label = toolkit.createLabel(textComposite, Messages.editorSectionSecurityDescription);
       
    // Button for managing account
        Button manageAccountButton = toolkit.createButton(textComposite, CommonMessages.manageAccount, SWT.PUSH);
        GridData buttonData = new GridData(SWT.LEFT, SWT.CENTER, false, false);
        manageAccountButton.setLayoutData(buttonData);
View Full Code Here

    GridLayout gridLayout = new GridLayout();
    gridLayout.numColumns = 3;
    composite.setLayout(gridLayout);

    Label labelHome = formToolkit.createLabel(composite,
        Messages.LocalOfficeApplicationPreferencesPage_label_application_home);
    labelHome.setBackground(composite.getBackground());

    textHome = formToolkit.createText(composite, ""); //$NON-NLS-1$
    textHome.setEditable(false);
View Full Code Here

          initApplicationProperties(tableApplicationProperties);
        }
      }
    });

    Label labelNull = formToolkit.createLabel(composite, ""); //$NON-NLS-1$
    gridData = new GridData();
    gridData.horizontalSpan = 3;
    labelNull.setLayoutData(gridData);

    Label labelProperties = formToolkit.createLabel(composite,
View Full Code Here

    Label labelNull = formToolkit.createLabel(composite, ""); //$NON-NLS-1$
    gridData = new GridData();
    gridData.horizontalSpan = 3;
    labelNull.setLayoutData(gridData);

    Label labelProperties = formToolkit.createLabel(composite,
        Messages.LocalOfficeApplicationPreferencesPage_label_application_properties_text);
    labelProperties.setBackground(composite.getBackground());
    labelProperties.setFont(JFaceResources.getFontRegistry().getBold(labelProperties.getFont().toString()));
    gridData = new GridData(SWT.FILL, SWT.NONE, true, false);
    gridData.horizontalSpan = 3;
View Full Code Here

    displayGroupLayout.marginHeight = 0;
    displayGroupLayout.numColumns = 2;
    displayGroupComposite.setLayout(displayGroupLayout);

    // Name
    form.createLabel(displayGroupComposite, "Name:");
    myNameText = form.createText(displayGroupComposite, "", SWT.SINGLE);
    GridData nameFieldLayoutData = new GridData(SWT.FILL, SWT.FILL, true, false);
    myNameText.setLayoutData(nameFieldLayoutData);

    // Class Name
View Full Code Here

    myNameText = form.createText(displayGroupComposite, "", SWT.SINGLE);
    GridData nameFieldLayoutData = new GridData(SWT.FILL, SWT.FILL, true, false);
    myNameText.setLayoutData(nameFieldLayoutData);

    // Class Name
    form.createLabel(displayGroupComposite, "Class Type:");
    myClassNameCombo = new Combo(displayGroupComposite, SWT.POP_UP);
    GridData classNameFieldLayoutData = new GridData(SWT.FILL, SWT.FILL, true, false);
    myNameText.setLayoutData(classNameFieldLayoutData);

    // Entity
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.