Package org.eclipse.ui.forms.widgets

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


            | GridData.HORIZONTAL_ALIGN_FILL));

    FormToolkit toolkit = new FormToolkit(composite.getDisplay());
    createContents(composite, toolkit);

    toolkit.paintBordersFor(composite);
    setControl(composite);
    Dialog.applyDialogFont(composite);

    updatePageComplete(_complete);
  } // createControl
View Full Code Here


        }
      }
    });
    envTableViewer.setInput(envName2NameValueMap);
       
    toolkit.paintBordersFor(customComposite);

    return customComposite;
  } // createCustomizationSection

  private Table createCustomizationTable(Composite parent, FormToolkit toolkit) {
View Full Code Here

          listener.modifyText(e);
        }
      }
    });

    toolkit.paintBordersFor(composite);

    return composite;
  }
 
  public void addModifyListener(ModifyListener listener) {
View Full Code Here

    FormToolkit toolkit = managedForm.getToolkit();
    ScrolledForm form = managedForm.getForm();
    form.setText("Parameter Hierarchy");
    Composite body = form.getBody();
    toolkit.decorateFormHeading(form.getForm());
    toolkit.paintBordersFor(body);

    treeViewer = new TreeViewer(managedForm.getForm().getBody(),
        SWT.BORDER);
    treeViewer.setAutoExpandLevel(TreeViewer.ALL_LEVELS);
    Tree tree = treeViewer.getTree();
View Full Code Here

    buttonPreventTermination.setBackground(composite.getBackground());
    gridData = new GridData();
    gridData.horizontalSpan = 3;
    buttonPreventTermination.setLayoutData(gridData);

    formToolkit.paintBordersFor(composite);
    initPreferenceValues();
    initApplicationProperties(tableApplicationProperties);
    return composite;
  }
View Full Code Here

    GridData gd = new GridData(SWT.FILL, SWT.FILL, true, true);
    gd.heightHint = 20;
    gd.widthHint = 80;
    gd.horizontalSpan = 1;
    t.setLayoutData(gd);
    toolkit.paintBordersFor(displayGroupsClient);

    Composite buttonsGroup = new Composite(displayGroupsClient, SWT.NONE);
    GridData buttonsLayoutData = new GridData(GridData.VERTICAL_ALIGN_BEGINNING);
    buttonsGroup.setLayoutData(buttonsLayoutData);
    buttonsGroup.setBackground(displayGroupsClient.getBackground());
View Full Code Here

    form.createLabel(displayGroupComposite, "Fetch Spec:");
    myFetchSpecCombo = new Combo(displayGroupComposite, SWT.POP_UP);
    GridData fetchSpecFieldLayoutData = new GridData(SWT.FILL, SWT.FILL, true, false);
    myFetchSpecCombo.setLayoutData(fetchSpecFieldLayoutData);

    form.paintBordersFor(displayGroupSection);
    displayGroupSection.setClient(displayGroupComposite);
  }

  private void createSpacer(final FormToolkit toolkit, final Composite parent, final int span) {
    Label spacer = toolkit.createLabel(parent, "");
View Full Code Here

          throw new RuntimeException("Failed to open .api file.", e);
        }
      }
    });

    toolkit.paintBordersFor(apiClient);

    apiSection.setClient(apiClient);

    super.createContent(managedForm);
  }
View Full Code Here

    Table bindingsTable = toolkit.createTable(bindingsClient, SWT.FULL_SELECTION);
    GridData bindingTableData = new GridData(GridData.FILL_BOTH);
    bindingTableData.heightHint = 20;
    bindingTableData.widthHint = 100;
    bindingsTable.setLayoutData(bindingTableData);
    toolkit.paintBordersFor(bindingsClient);

    Composite buttonsGroup = new Composite(bindingsClient, SWT.NONE);
    GridData buttonsLayoutData = new GridData(GridData.VERTICAL_ALIGN_BEGINNING);
    buttonsGroup.setLayoutData(buttonsLayoutData);
    buttonsGroup.setBackground(bindingsClient.getBackground());
View Full Code Here

    gd.horizontalSpan = 2;
    willSetFlag.setLayoutData(gd);

    createSpacer(toolkit, client, 2);

    toolkit.paintBordersFor(s1);
    s1.setClient(client);
  }

  private void createSpacer(FormToolkit toolkit, Composite parent, int span) {
    Label spacer = toolkit.createLabel(parent, "");
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.