Examples of ComboDialogField


Examples of org.eclipse.dltk.internal.ui.wizards.dialogfields.ComboDialogField

      fLocalServerRadio = new SelectionButtonDialogField(SWT.RADIO);
      fLocalServerRadio.setDialogFieldListener(this);
      fLocalServerRadio.setLabelText(PHPUIMessages.PHPProjectWizardFirstPage_localServerLabel); //$NON-NLS-1$
      fLocalServerRadio.setSelection(false);
      fLocalServerRadio.doFillIntoGrid(group, numColumns);
      fSeverLocationList = new ComboDialogField(SWT.READ_ONLY);
      fSeverLocationList.setLabelText(NewWizardMessages.ScriptProjectWizardFirstPage_LocationGroup_locationLabel_desc);
      fSeverLocationList.doFillIntoGrid(group, numColumns);
     
      fSeverLocationList.setEnabled(false);
      docRootArray = new String[docRoots.size()];
View Full Code Here

Examples of org.eclipse.dltk.internal.ui.wizards.dialogfields.ComboDialogField

      fLocalServerRadio = new SelectionButtonDialogField(SWT.RADIO);
      fLocalServerRadio.setDialogFieldListener(this);
      fLocalServerRadio.setLabelText(PHPUIMessages.PHPProjectWizardFirstPage_localServerLabel); //$NON-NLS-1$
      fLocalServerRadio.setSelection(false);
      fLocalServerRadio.doFillIntoGrid(group, numColumns);
      fSeverLocationList = new ComboDialogField(SWT.READ_ONLY);
      fSeverLocationList.setLabelText("Target directory");
      fSeverLocationList.doFillIntoGrid(group, numColumns );
      GridData data = (GridData) fSeverLocationList.getLabelControl(null).getLayoutData();
      data.widthHint = 120;
      fSeverLocationList.getLabelControl(null).setLayoutData(data);
View Full Code Here

Examples of org.eclipse.dltk.internal.ui.wizards.dialogfields.ComboDialogField

    super(composerProjectWizardFirstPage, composite, 4, PHPVersion.PHP5_3);
  }
 
  @Override
  protected void createSubComponents(Group group) {
    symfonyVersionSelector = new ComboDialogField(SWT.READ_ONLY);
    symfonyVersionSelector.setLabelText("Symfony Version:");
    symfonyVersionSelector.doFillIntoGrid(group, 2);
    symfonyVersionSelector.setDialogFieldListener(this);
    fConfigurationBlock.setMinimumVersion(PHPVersion.PHP5_3);
    loadVersionCombo();
View Full Code Here

Examples of org.eclipse.jdt.internal.ui.wizards.dialogfields.ComboDialogField

        handleFieldChanged(ASPECT_NAME);
      }
    });
    fAspectNameDialogField.setLabelText("Aspect Name:");

    fCrosscutTypeDialogField = new ComboDialogField(SWT.READ_ONLY);
    fCrosscutTypeDialogField.setDialogFieldListener(new IDialogFieldListener() {
      public void dialogFieldChanged(DialogField field) {
        fCrosscutTypeStatus = updateCrosscutType();
        handleFieldChanged(CROSSCUT_TYPE);
      }
    });
    fCrosscutTypeDialogField.setLabelText("Crosscut Type:");
    fCrosscutTypeDialogField.setItems(new String[] { "MethodCut", "MethodRedefineCut", "GetCut", "SetCut", "ThrowCut", "CatchCut"});

    fPointCutterDialogField = new ComboDialogField(SWT.READ_ONLY);
    fPointCutterDialogField.setDialogFieldListener(new IDialogFieldListener() {
      public void dialogFieldChanged(DialogField field) {
        fPointCutterStatus = updatePointCutter();
        handleFieldChanged(POINT_CUTTER);
      }
    });
    fPointCutterDialogField.setLabelText("Point Cutter:");

    fPointCutter1DialogField = new ComboDialogField(SWT.READ_ONLY);
    fPointCutter1DialogField.setLabelText("Specifier 1:");
    fPointCutter1DialogField.setEnabled(false);

    fPointCutter2DialogField = new ComboDialogField(SWT.READ_ONLY);
    fPointCutter2DialogField.setLabelText("Specifier 2:");
    fPointCutter2DialogField.setEnabled(false);
  }
View Full Code Here

Examples of org.eclipse.jdt.internal.ui.wizards.dialogfields.ComboDialogField

                NewWizardMessages.NewClassWizardPage_methods_constructors, NewWizardMessages.NewClassWizardPage_methods_inherited
        };
        fMethodStubsButtons = new SelectionButtonDialogFieldGroup(SWT.CHECK, buttonNames3, 1);
        fMethodStubsButtons.setLabelText(NewWizardMessages.NewClassWizardPage_methods_label);
       
        fLifecycleMethodDialogField = new ComboDialogField(SWT.READ_ONLY);
        fLifecycleMethodDialogField.setLabelText(Messages.NewDSComponentWizardPage_LC_label);
    }
View Full Code Here

Examples of org.eclipse.jdt.internal.ui.wizards.dialogfields.ComboDialogField

      fNameField.setDialogFieldListener(this);
      fPackageField = new StringDialogField();
      fPackageField.setLabelText("Top level package name:");
      fPackageField.setDialogFieldListener(this);

      fTemplateField = new ComboDialogField(SWT.READ_ONLY);
      fTemplateField.setLabelText("Project type:");
      List<String> types = new ArrayList<String>();
      for (ProjectType type : ProjectType.values()) {
        types.add(type.getDisplayString());
      }
View Full Code Here

Examples of org.eclipse.php.internal.ui.wizards.fields.ComboDialogField

          Logger.logException(e1);
        }
      };
    });

    exes = new ComboDialogField(SWT.READ_ONLY);
    exes.setLabelText("PHP executable");
    exes.doFillIntoGrid(sourceFolderGroup, 2);
    exes.setDialogFieldListener(this);

    createTestButton(sourceFolderGroup);
View Full Code Here

Examples of org.eclipse.wb.internal.core.utils.dialogfields.ComboDialogField

        GridDataFactory.create(compilerGroup).grabH().fillH();
        GridLayoutFactory.create(compilerGroup).columns(columns);
        compilerGroup.setText("GWT compiler");
        // compiler style field
        {
          m_compilerStyleField = new ComboDialogField(SWT.READ_ONLY);
          m_compilerStyleField.setLabelText("Style:");
          m_compilerStyleField.setItems(new String[]{"OBFUSCATED", "PRETTY", "DETAILED"});
          m_compilerStyleField.setDialogFieldListener(m_validateListener);
          //
          DialogFieldUtils.fillControls(compilerGroup, m_compilerStyleField, columns, 60);
        }
        // maximum memory
        {
          m_compilerMaxMemoryField = new ComboDialogField(SWT.NONE);
          m_compilerMaxMemoryField.setLabelText("Maximum memory:");
          m_compilerMaxMemoryField.setItems(new String[]{"128m", "256m", "512m", "1024m"});
          m_compilerMaxMemoryField.setDialogFieldListener(m_validateListener);
          //
          DialogFieldUtils.fillControls(compilerGroup, m_compilerMaxMemoryField, columns, 60);
View Full Code Here

Examples of org.eclipse.wb.internal.core.utils.dialogfields.ComboDialogField

      String value = m_properties.getProperty(key, defaultValue);
      if (dialogField instanceof StringDialogField) {
        StringDialogField stringDialogField = (StringDialogField) dialogField;
        stringDialogField.setTextWithoutUpdate(value);
      } else if (dialogField instanceof ComboDialogField) {
        ComboDialogField comboDialogField = (ComboDialogField) dialogField;
        comboDialogField.setTextWithoutUpdate(value);
      } else {
        throw new IllegalArgumentException("Unknown type of DialogField: " + dialogField);
      }
    }
View Full Code Here

Examples of org.eclipse.wb.internal.core.utils.dialogfields.ComboDialogField

        String value;
        if (dialogField instanceof StringDialogField) {
          StringDialogField stringDialogField = (StringDialogField) dialogField;
          value = stringDialogField.getText();
        } else if (dialogField instanceof ComboDialogField) {
          ComboDialogField comboDialogField = (ComboDialogField) dialogField;
          value = comboDialogField.getText();
        } else {
          throw new IllegalArgumentException("Unknown type of DialogField: " + dialogField);
        }
        // put value
        m_properties.put(key, value);
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.