Examples of createLabel()


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

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

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

        super.createContents(parent);

        Composite mainComposite = getMainComposite();

        FormToolkit toolkit = getManagedForm().getToolkit();
        toolkit.createLabel(mainComposite, ""); // Spacer

        btnProvide = toolkit.createButton(mainComposite, "Provide", SWT.CHECK);
        btnProvide.addSelectionListener(new SelectionAdapter() {
            @Override
            public void widgetSelected(SelectionEvent e) {
View Full Code Here

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

        mainSection.setText(title);

        mainComposite = toolkit.createComposite(mainSection);
        mainSection.setClient(mainComposite);

        toolkit.createLabel(mainComposite, "Pattern:");
        txtName = toolkit.createText(mainComposite, "", SWT.BORDER);
        ControlDecoration decPattern = new ControlDecoration(txtName, SWT.LEFT | SWT.TOP, mainComposite);
        decPattern.setImage(assistDecor.getImage());
        if (assistKeyStroke == null) {
            decPattern.setDescriptionText("Content assist is available. Start typing to activate");
View Full Code Here

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

                txtName.insert(toInsert);
                txtName.setSelection(patternProposal.getCursorPosition());
            }
        });

        toolkit.createLabel(mainComposite, "Version:");
        txtVersion = toolkit.createText(mainComposite, "", SWT.BORDER);

        /*
         * Section attribsSection = toolkit.createSection(parent, Section.TITLE_BAR | Section.TWISTIE);
         * attribsSection.setText("Extra Attributes"); Composite attribsComposite =
View Full Code Here

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

        super.createContents(parent);

        Composite mainComposite = getMainComposite();

        FormToolkit toolkit = getManagedForm().getToolkit();
        toolkit.createLabel(mainComposite, ""); // Spacer
        btnOptional = toolkit.createButton(mainComposite, "Optional", SWT.CHECK);

        btnOptional.addSelectionListener(new SelectionAdapter() {
            @Override
            public void widgetSelected(SelectionEvent e) {
View Full Code Here

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

            section.setTitleBarBackground(greyTitleBarColour);
            // section.setTitleBarBorderColor(greyTitleBarColour);

            Composite composite = toolkit.createComposite(section);
            Label label = toolkit.createLabel(composite, "Select one or more items to view or edit their details.", SWT.WRAP);
            section.setClient(composite);

            GridLayout layout = new GridLayout();
            parent.setLayout(layout);
View Full Code Here

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

            Section section = toolkit.createSection(parent, Section.TITLE_BAR | Section.EXPANDED);
            section.setText("Selection Details");

            Composite composite = toolkit.createComposite(section);
            Label label = toolkit.createLabel(composite, "Select one or more items to view or edit their details.", SWT.WRAP);
            section.setClient(composite);

            GridLayout layout = new GridLayout();
            parent.setLayout(layout);
View Full Code Here

Examples of org.springframework.richclient.factory.ComponentFactory.createLabel()

        createSchemaElementsChart();
        GridBagLayoutBuilder builder = new GridBagLayoutBuilder();

        final ComponentFactory cf = getComponentFactory();
        builder.append(cf.createTitleLabel("schemaInfoView.titleLabel"), 1, 1, true, false).nextLine();
        builder.append(cf.createLabel("schemaInfoView.schema.targetNamespace", new ValueModel[] { targetNamespace}), 1, 1, true, false).nextLine();

        builder.append(cpSchemaElements, 1, 1, true, true);
        return builder.getPanel();
    }
View Full Code Here

Examples of org.vietspider.ui.widget.ApplicationFactory.createLabel()

    GridLayout gridLayout = new GridLayout();
    gridLayout.numColumns = 2;   
    shell.setLayout( gridLayout);
    factory.setComposite(shell);

    factory.createLabel("nodeName");    
    txtName = factory.createText();
    txtName.setEditable(false);
    GridData gridData = new GridData();   
    gridData.grabExcessHorizontalSpace = true;
    gridData.widthHint = 200;
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.