Package org.eclipse.ui.views.properties.tabbed

Examples of org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetWidgetFactory.createButton()


          propertyLabel.setLayoutData(data);

          // Create a help button for the field
          final Help help = fieldInfo.getHelpAnnotation();
          if (help != null) {
            final Button propertyHelp = factory.createButton(workParent, "", SWT.BUTTON1);
            propertyHelp.setImage(PlatformUI.getWorkbench().getSharedImages().getImage(ISharedImages.IMG_LCL_LINKTO_HELP));

            // create a tooltip
            final ToolTip tooltip = new FormToolTip(propertyHelp, String.format("Help for field %s",
                    property.displayName().equals("") ? fieldInfo.getFieldName() : property.displayName()), help.displayHelpShort(), help.displayHelpLong());
View Full Code Here


    data.right = new FormAttachment(100, 0);
    data.top = new FormAttachment(inputVariableNamesText, VSPACE);
    excludedComposite.setLayoutData(data);
    excludedComposite.setLayout(new RowLayout());
   
    excludedButton = factory.createButton(excludedComposite, "Yes", SWT.RADIO);
    nonExcludedButton = factory.createButton(excludedComposite, "No", SWT.RADIO);

    CLabel excludedLabel = factory.createCLabel(composite, "Excluded:"); //$NON-NLS-1$
    data = new FormData();
    data.left = new FormAttachment(0, 0);
View Full Code Here

    data.top = new FormAttachment(inputVariableNamesText, VSPACE);
    excludedComposite.setLayoutData(data);
    excludedComposite.setLayout(new RowLayout());
   
    excludedButton = factory.createButton(excludedComposite, "Yes", SWT.RADIO);
    nonExcludedButton = factory.createButton(excludedComposite, "No", SWT.RADIO);

    CLabel excludedLabel = factory.createCLabel(composite, "Excluded:"); //$NON-NLS-1$
    data = new FormData();
    data.left = new FormAttachment(0, 0);
    data.right = new FormAttachment(excludedComposite, -HSPACE);
View Full Code Here

    final TabbedPropertySheetWidgetFactory factory = getWidgetFactory();
    final Composite composite = factory.createFlatFormComposite(parent);
    FormData data = null;

    openCalledElementButton = factory.createButton(composite, StringUtils.EMPTY, SWT.PUSH);
    openCalledElementButton.setImage(Activator.getImage(PluginImage.ACTION_GO));
    data = new FormData();
    data.right = new FormAttachment(100, -HSPACE);
    openCalledElementButton.setLayoutData(data);
    openCalledElementButton.addSelectionListener(openCalledElementSelected);
View Full Code Here

    data = new FormData();
    data.right = new FormAttachment(100, -HSPACE);
    openCalledElementButton.setLayoutData(data);
    openCalledElementButton.addSelectionListener(openCalledElementSelected);

    chooseCalledElementButton = factory.createButton(composite, "\u2026", SWT.PUSH);
    chooseCalledElementButton.setToolTipText(
            "Click to open a dialog to choose from all found processes.");

    data = new FormData();
    data.right = new FormAttachment(openCalledElementButton, -HSPACE);
View Full Code Here

    data.right = new FormAttachment(70, 0);
    data.top = new FormAttachment(radioTypeComposite, VSPACE);
    classNameText.setEnabled(true);
    classNameText.setLayoutData(data);

    classSelectButton = factory.createButton(composite, "Select class", SWT.PUSH);
    data = new FormData();
    data.left = new FormAttachment(classNameText, 0);
    data.right = new FormAttachment(78, 0);
    data.top = new FormAttachment(classNameText, -2, SWT.TOP);
    classSelectButton.setLayoutData(data);
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.