Examples of StringFieldEditor


Examples of org.eclipse.jface.preference.StringFieldEditor

  protected abstract ELEMENTS createDialogElements(Composite composite,
      Runnable modifyListener, PreferenceStore store);

  protected static TabElements createBasicTabElements(Composite composite,
      final Runnable modifyListener, PreferenceStore store, Params params) {
    final StringFieldEditor debugHost;
    final IntegerFieldEditor debugPort;
    final BooleanFieldEditor addNetworkConsole;
    {
      Group connectionGroup = new Group(composite, 0);
      connectionGroup.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
      connectionGroup.setText(Messages.ChromiumRemoteTab_CONNECTION_GROUP);
      connectionGroup.setLayout(new GridLayout(1, false));


      IPropertyChangeListener propertyModifyListener = new IPropertyChangeListener() {
        public void propertyChange(PropertyChangeEvent event) {
          modifyListener.run();
        }
      };


      Composite propertiesComp = createInnerComposite(connectionGroup, 2);

      // Host text field
      debugHost = new StringFieldEditor(HOST_FIELD_NAME,
          Messages.ChromiumRemoteTab_HostLabel, propertiesComp);
      debugHost.setPropertyChangeListener(propertyModifyListener);
      debugHost.setPreferenceStore(store);

      // Port text field
      debugPort = new IntegerFieldEditor(PORT_FIELD_NAME,
          Messages.ChromiumRemoteTab_PortLabel, propertiesComp);
      debugPort.setPropertyChangeListener(propertyModifyListener);
View Full Code Here

Examples of org.eclipse.jface.preference.StringFieldEditor

  protected void createFieldEditors() {
    addField(new DirectoryFieldEditor(Constants.GWT_HOME_PREFERENCE, "GWT &Home:", getFieldEditorParent()));
    addField(new BooleanFieldEditor(Constants.UPDATE_ASYNC_PREFERENCE, "Manually manage Async files", getFieldEditorParent()));
    addField(new BooleanFieldEditor(Constants.DELETE_SERVICE_PREFERENCE, "Delete associated files & entries when deleting a RemoteService", getFieldEditorParent()));
    addField(new StringFieldEditor(Constants.DEFAULT_VM_OPTION_PREFERENCE, "Default &VM Options:", getFieldEditorParent()));

    Group group = new Group(getFieldEditorParent(), SWT.NONE);
    group.setText("GWT Compiler Options:");
    group.setLayoutData(new GridData(SWT.FILL, SWT.NONE, true, false, 3, 1));
    addField(new StringFieldEditor(Constants.GWT_OUTPUT_PREFERENCE, "&Output Folder:", group));
    addField(new BooleanFieldEditor(Constants.COMPILE_AT_FULLBUILD_PREFERENCE, "Invoke on Clean &Build", group));
    addField(new BooleanFieldEditor(Constants.COMPILE_AT_PUBLISH_PREFERENCE, "Invoke when publishing to an &external server", group));

  }
View Full Code Here

Examples of org.eclipse.jface.preference.StringFieldEditor

   
  }

  protected void createFieldEditors() {
    addField(new DirectoryFieldEditor(Constants.GWT_HOME_PREFERENCE, "GWT &Home:", getFieldEditorParent()));
    addField(new StringFieldEditor(Constants.GWT_OUTPUT_PREFERENCE, "GWT Compiler &Output:", getFieldEditorParent()));
    addField(new BooleanFieldEditor(Constants.UPDATE_ASYNC_PREFERENCE, "Manually manage Async files", getFieldEditorParent()));
    addField(new BooleanFieldEditor(Constants.COMPILE_AT_FULLBUILD_PREFERENCE, "Invoke GWT Compiler on Clean &Build", getFieldEditorParent()));
    addField(new BooleanFieldEditor(Constants.COMPILE_AT_PUBLISH_PREFERENCE, "Invoke GWT Compiler when publishing to an &external server", getFieldEditorParent()));
  }
View Full Code Here

Examples of org.eclipse.jface.preference.StringFieldEditor

  protected void createFieldEditors() {
    // addField(new DirectoryFieldEditor(Constants.GWT_HOME_PREFERENCE,
    // "GWT &Home:", getFieldEditorParent()));
    addField(new BooleanFieldEditor(Constants.UPDATE_ASYNC_PREFERENCE, "Manually manage Async files", getFieldEditorParent()));
    addField(new BooleanFieldEditor(Constants.DELETE_SERVICE_PREFERENCE, "When deleting a RemoteService, delete associated Async, Impl files and remove entries from web.xml", getFieldEditorParent()));
    addField(new StringFieldEditor(Constants.DEFAULT_VM_OPTION_PREFERENCE, "Default &VM Options:", getFieldEditorParent()));

    Group group = new Group(getFieldEditorParent(), SWT.NONE);
    group.setText("GWT Compiler Options:");
    group.setLayoutData(new GridData(SWT.FILL, SWT.NONE, true, false, 3, 1));
    addField(new StringFieldEditor(Constants.GWT_OUTPUT_PREFERENCE, "&Output Folder:", group));
    addField(new BooleanFieldEditor(Constants.COMPILE_AT_FULLBUILD_PREFERENCE, "Invoke on Clean &Build", group));
    // addField(new
    // BooleanFieldEditor(Constants.COMPILE_AT_PUBLISH_PREFERENCE,
    // "Invoke when publishing to an &external server", group));
View Full Code Here

Examples of org.eclipse.jface.preference.StringFieldEditor

        chatServerGroup = new Composite(chatGroup, SWT.NONE);
        chatServerGroup.setLayout(new GridLayout(2, false));
        chatServerGroup.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true,
            false));

        chatserver = new StringFieldEditor(PreferenceConstants.CHATSERVER,
            "Chatserver:", chatServerGroup);

        useDefaultChatServer = new BooleanFieldEditor(
            PreferenceConstants.USE_DEFAULT_CHATSERVER,
            "Use default chatserver", chatGroup);

        beepUponIM = new BooleanFieldEditor(PreferenceConstants.BEEP_UPON_IM,
            "Beep when receiving a chat message", chatGroup);
        beepUponIM.setEnabled(true, chatGroup);

        skypeName = new StringFieldEditor(PreferenceConstants.SKYPE_USERNAME,
            "Skype name:", getFieldEditorParent());

        audioQuality = new ComboFieldEditor(
            PreferenceConstants.AUDIO_QUALITY_LEVEL,
            "Audio Quality Level (0-10) - 10 is best", audioQualityValues,
View Full Code Here

Examples of org.eclipse.jface.preference.StringFieldEditor

        _root.getTextControl(currentComposite).setLayoutData(gridData);
        _setParent(_root, currentComposite);
        addField(_root);

        currentComposite = _newComposite(composite);
        _prefix = new StringFieldEditor(PreferenceConstants.BACKTRACK_PREFIX,
                "&Extra prefix:", currentComposite);
        _setParent(_prefix, currentComposite);
        addField(_prefix);
    }
View Full Code Here

Examples of org.eclipse.jface.preference.StringFieldEditor

    private void composeLogFileSettings(final Composite composite) {
        Group logFileSettings = buildSettingsGroup(composite, "Log File settings");
        GridData gridData = (GridData) logFileSettings.getLayoutData();
        gridData.heightHint = 35;

        StringFieldEditor layoutPatternField = new StringFieldEditor(DefaultPreferences.LogFilePreferences.getId(),
                " &Layout pattern:", logFileSettings);
        layoutPatternField.getTextControl(logFileSettings).setLayoutData(
                new GridData(SWT.FILL, SWT.CENTER, true, false));
        addField(layoutPatternField);

        logger.debug("LogFile settings were composed");
    }
View Full Code Here

Examples of org.eclipse.jface.preference.StringFieldEditor

    setPreferenceStore(Activator.getDefault().getPreferenceStore());
    setDescription("General program preferences");
  }
 
  public void createFieldEditors() {
    addField(new StringFieldEditor(PreferenceConstants.P_IPURLSERVICE,
        "&External IP address service URL:", getFieldEditorParent()));
    addField(
      new IntegerFieldEditor(
        PreferenceConstants.P_LISTENINGPORT,
        "&Listening port",
View Full Code Here

Examples of org.eclipse.jface.preference.StringFieldEditor

  public void createFieldEditors() {
    addField(new ComboFieldEditor(PreferenceConstants.P_DIALECT, "&SQL Dialect:", DIALECTS,
      getFieldEditorParent()));
    addField(new ComboFieldEditor(PreferenceConstants.P_DRIVER, "&JDBC Driver:",
      getDriverList(), getFieldEditorParent()));
    addField(new StringFieldEditor(PreferenceConstants.P_URL, "&Connection URL",
      getFieldEditorParent()));
    addField(new StringFieldEditor(PreferenceConstants.P_USER, "&User", getFieldEditorParent()));
    addField(new StringFieldEditor(PreferenceConstants.P_PASSWORD, "&Password:",
      getFieldEditorParent()));
  }
View Full Code Here

Examples of org.eclipse.jface.preference.StringFieldEditor

  public void createFieldEditors() {
    // addField(new
    // DirectoryFieldEditor(PreferenceConstants.P_FITNESSEROOT_DIR,
    // "FitnesseRoot Dir :", getFieldEditorParent()));

    addField(new StringFieldEditor(PreferenceConstants.P_URL_PREFIX,
        "URL Prefix :", getFieldEditorParent()));
  }
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.