Package org.eclipse.ui.forms.widgets

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


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

    textHome = formToolkit.createText(composite, ""); //$NON-NLS-1$
    textHome.setEditable(false);
    textHome.setFont(composite.getFont());
    GridData gridData = new GridData(SWT.FILL, SWT.NONE, true, false);
    textHome.setLayoutData(gridData);
View Full Code Here


    toolkit.decorateFormHeading(form.getForm());

    final Composite body = form.getBody();
    body.setLayout(new org.eclipse.swt.layout.GridLayout(1, true));

    filter = toolkit.createText(body, null, SWT.SINGLE | SWT.SEARCH
        | SWT.ICON_CANCEL);
    filter.addModifyListener(new ModifyListener() {
      public void modifyText(ModifyEvent e) {
        triggerRefresh();
      }
View Full Code Here

    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
    form.createLabel(displayGroupComposite, "Class Type:");
View Full Code Here

    GridData entityFieldLayoutData = new GridData(SWT.FILL, SWT.FILL, true, false);
    myEntityCombo.setLayoutData(entityFieldLayoutData);

    // Editing Context
    form.createLabel(displayGroupComposite, "Editing Context:");
    myEditingContextText = form.createText(displayGroupComposite, "", SWT.SINGLE);
    GridData editingContextFieldLayoutData = new GridData(SWT.FILL, SWT.FILL, true, false);
    myEditingContextText.setLayoutData(editingContextFieldLayoutData);

    // HasDetail
    createSpacer(form, displayGroupComposite, 1);
View Full Code Here

      }
    };

    GridData gd;
    toolkit.createLabel(client, "Name:");
    name = toolkit.createText(client, "", SWT.SINGLE);
    name.addModifyListener(new ModifyListener() {
      public void modifyText(ModifyEvent e) {
        if (binding != null) {
          try {
            binding.setName(name.getText());
View Full Code Here

   
    AtopTranslationTask task = getTask();
   
    // type widget
    toolkit.createLabel(this, "Type :");
    Text text = toolkit.createText(this, task.getFriendlyName());
    text.setEditable(false);
    text.setLayoutData(gd);
   
    // name widget
    createNameField(this, toolkit);
View Full Code Here

    modelTypeCombo.setLayoutData(gd);
    modelTypeCombo.setEnabled(false);

    // model filename
    toolkit.createLabel(this, "Prism Model file :");
    prismModelFileText = toolkit.createText(this, task.getPrismModelFileName());
    prismModelFileText.setLayoutData(gd);
    prismModelFileText.setEditable(false);
   
    // properties filename
    toolkit.createLabel(this, "Prism Properties file :");
View Full Code Here

    prismModelFileText.setLayoutData(gd);
    prismModelFileText.setEditable(false);
   
    // properties filename
    toolkit.createLabel(this, "Prism Properties file :");
    prismPropsFileText = toolkit.createText(this, task.getPrismPropertiesFileName());
    prismPropsFileText.setLayoutData(gd);
    prismPropsFileText.setEditable(false);
  }
}
View Full Code Here

    JmtTranslationTask task = getTask();
   
    // type widget
    toolkit.createLabel(this, "Type :");
    Text text = toolkit.createText(this, task.getFriendlyName());
    text.setEditable(false);
    text.setLayoutData(gd);
   
    // name widget
    createNameField(this, toolkit);
View Full Code Here

    // activities widget
    createActivitiesViewer(this, toolkit);
   
    // model filename
    toolkit.createLabel(this, "Prism Model file :");
    jmtModelFileText = toolkit.createText(this, task.getJmtFileName());
    jmtModelFileText.setLayoutData(gd);
    jmtModelFileText.setEditable(false);
  }
 
  private void createUmlResourceField(Composite parent, FormToolkit 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.