Package org.eclipse.ui.forms.widgets

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


        layout.marginHeight = 0;
        layout.marginWidth = 0;
        top.setLayout(layout);
       
        FormToolkit kit = new FormToolkit(parent.getDisplay());
        Form form = kit.createForm(top);
        GridData grid = new GridData(GridData.FILL_BOTH);
        grid.widthHint = 400;
        form.setLayoutData(grid);
        form.setText("Welcome to JSmooth !");
        TableWrapLayout wraplayout = new TableWrapLayout();
View Full Code Here


  }

  @Override
  public void createControl(Composite parent) {
    FormToolkit toolkit = new FormToolkit(Display.getDefault());
    this.form = toolkit.createForm(parent);

    Composite formBody = form.getBody();
    formBody.setLayout(new FillLayout());

    this.form.setText(Messages.MessageDetailFormTitle);
View Full Code Here

    FormColors colors = toolkit.getColors();
    Color top = colors.getColor(IFormColors.H_GRADIENT_END);
    Color bot = colors.getColor(IFormColors.H_GRADIENT_START);

    // create the base form
    Form form = toolkit.createForm(parent);
    form.setText(title);
    form.setTextBackground(new Color[] { top, bot }, new int[] { 100 }, true);
    FormLayout layout = new FormLayout();
    layout.marginTop = 10;
    layout.marginBottom = 10;
View Full Code Here

  private Form form;

  public void createControl(Composite parent) {
    FormToolkit toolkit = new FormToolkit(parent.getDisplay());
    form = toolkit.createForm(parent);
    form.setText("Not configured");
   
    TableWrapLayout layout = new TableWrapLayout();
    form.getBody().setLayout(layout);
    FormText text = toolkit.createFormText(form.getBody(), true);
View Full Code Here

  private Form form;

  public void createControl(Composite parent) {
    FormToolkit toolkit = new FormToolkit(parent.getDisplay());
    form = toolkit.createForm(parent);
    form.setText("Not configured");

    TableWrapLayout layout = new TableWrapLayout();
    form.getBody().setLayout(layout);
    FormText text = toolkit.createFormText(form.getBody(), true);
View Full Code Here

    @Override
    public void createControl(Composite parent) {
      FormToolkit toolkit = new FormToolkit(parent.getDisplay());

      Form form = toolkit.createForm(parent);
      Composite composite = form.getBody();
      composite.setLayout(new GridLayout(1, true));
      GridDataFactory.swtDefaults().align(SWT.FILL, SWT.FILL).grab(true, true).applyTo(composite);

      createServerGroup(composite, toolkit);
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.