Package org.eclipse.jface.preference

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


   
  }

  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

  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

        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

        _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

    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

    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

  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

  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

  public void createFieldEditors()
  {
   
    // addField( new StringFieldEditor( PreferenceConstants.P_EMBET_URL,
    // "Embet &URL", getFieldEditorParent() ) );
    addField( new StringFieldEditor(PreferenceConstants.P_USER_ID,
        "&User ID", getFieldEditorParent()));
   
    registryURL = new StringFieldEditor(
        PreferenceConstants.P_SKSA_REGISTRY_URL, "SKSA Registry URL", getFieldEditorParent());
    this.addField( registryURL );

    StringFieldEditor repoEdit = new StringFieldEditor(
        PreferenceConstants.P_REPOSITORY_URL, "ADMIRE Repository URL (loaded from SKSA Core)", getFieldEditorParent());
    repoEdit.setEnabled(false, getFieldEditorParent());
    this.addField( repoEdit );

//    localRegBoolEdit = new BooleanFieldEditor(
//        PreferenceConstants.P_USE_LOCAL, "Use local SKSA Registry", getFieldEditorParent());
//    this.addField( localRegBoolEdit );
View Full Code Here

TOP

Related Classes of org.eclipse.jface.preference.StringFieldEditor

Copyright © 2018 www.massapicom. 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.