Examples of DirectoryFieldEditor


Examples of org.eclipse.jface.preference.DirectoryFieldEditor

  /**
   * @see org.eclipse.jface.preference.FieldEditorPreferencePage#createFieldEditors()
   */
  public void createFieldEditors() {
    addField(new FileFieldEditor(Preferences.PREF_EOGENERATOR_PATH, PreferencesMessages.getString("Preferences.EOGeneratorPath.Label"), getFieldEditorParent()));
    addField(new DirectoryFieldEditor(Preferences.PREF_EOGENERATOR_TEMPLATE_DIR, PreferencesMessages.getString("Preferences.EOGeneratorTemplateDir.Label"), getFieldEditorParent()));
    addField(new StringFieldEditor(Preferences.PREF_EOGENERATOR_JAVA_TEMPLATE, PreferencesMessages.getString("Preferences.EOGeneratorJavaTemplate.Label"), getFieldEditorParent()));
    addField(new StringFieldEditor(Preferences.PREF_EOGENERATOR_SUBCLASS_JAVA_TEMPLATE, PreferencesMessages.getString("Preferences.EOGeneratorSubclassJavaTemplate.Label"), getFieldEditorParent()));
    addField(new BooleanFieldEditor(Preferences.PREF_EOGENERATOR_JAVA_14, PreferencesMessages.getString("Preferences.EOGeneratorJava14.Label"), getFieldEditorParent()));
  }
View Full Code Here

Examples of org.eclipse.jface.preference.DirectoryFieldEditor

      addField(new BooleanFieldEditor (
          "COMMIT_ENABLE_" + iProject.getLocation().toFile().getName(),
          "Enable Code Commit",
          automaticValidationGroup));
     
      addField(new DirectoryFieldEditor (
        "REPOSITORY_" + iProject.getLocation().toFile().getName(),
        "Repository Location",
        automaticValidationGroup))
     
      automaticValidationGroup.setLayoutData(gridData);
View Full Code Here

Examples of org.eclipse.jface.preference.DirectoryFieldEditor

  protected void createFieldEditors() {
      addLinkWidget("Visit <A>Nodeclipse maven project page</A>", "http://www.nodeclipse.org/projects/maven/");
      addLinkWidget(" and <A>maven.apache.org</A> for news and docs.", "http://maven.apache.org/");
      addLinkWidget("<A>GitHub</A>", "https://github.com/Nodeclipse/nodeclipse-1/tree/master/org.nodeclipse.enide.maven");

    mavenHome = new DirectoryFieldEditor(MavenConstants.MAVEN_HOME, "Maven home directory:", getFieldEditorParent());
    mavenHome.setEnabled(false, getFieldEditorParent());
    addField(mavenHome);
    //TODO show maven version in this Preference Page
    mavenHomeToUse = new DirectoryFieldEditor(MavenConstants.MAVEN_HOME_TO_USE, "Maven home to use:", getFieldEditorParent());
    addField(mavenHomeToUse);
    javaHomeToUse = new DirectoryFieldEditor(MavenConstants.MAVEN_JAVA_HOME_TO_USE, "alternative JAVA_HOME to use:", getFieldEditorParent());
    addField(javaHomeToUse);
    mavenJvmOpts = new StringFieldEditor(MavenConstants.MAVEN_OPTS, "JVM options MAVEN_OPTS:", getFieldEditorParent());
    addField(mavenJvmOpts);
   
    mavenOptions = new StringFieldEditor(MavenConstants.MAVEN_OPTIONS, "Maven options (mvn -h):", getFieldEditorParent());
View Full Code Here

Examples of org.eclipse.jface.preference.DirectoryFieldEditor

        addTernNature = new BooleanFieldEditor(PreferenceConstants.ADD_TERN_NATURE,
            "add Tern nature to newly created projects", getFieldEditorParent());
        addField(addTernNature);
       
        nodeSourcesPath = new DirectoryFieldEditor(PreferenceConstants.NODE_SOURCES_PATH, "Node sources directory path:", getFieldEditorParent());
        addField(nodeSourcesPath);

        useNodejsBaseModuleDefinitions = new BooleanFieldEditor(PreferenceConstants.USE_NODEJS_BASE_MODULE_DEFINITIONS,
            "use Node.js base module definitions (changed after restart)", getFieldEditorParent());
        addField(useNodejsBaseModuleDefinitions);
View Full Code Here

Examples of org.eclipse.jface.preference.DirectoryFieldEditor

  protected void createFieldEditors() {
      addLinkWidget("Visit <A>Nodeclipse gradle project page</A>", "http://www.nodeclipse.org/projects/gradle/");
      addLinkWidget(" and <A>www.gradle.org</A> for news and docs.", "http://www.gradle.org/");
      addLinkWidget("<A>GitHub</A>", "https://github.com/Nodeclipse/nodeclipse-1/tree/master/org.nodeclipse.enide.gradle");
   
      gradleHome = new DirectoryFieldEditor(GradleConstants.GRADLE_HOME, "Gradle home directory:", getFieldEditorParent());
    gradleHome.setEnabled(false, getFieldEditorParent());
    addField(gradleHome);
    //TODO show version in this Preference Page
    gradleHomeToUse = new DirectoryFieldEditor(GradleConstants.GRADLE_HOME_TO_USE, "Gradle home to use:", getFieldEditorParent());
    addField(gradleHomeToUse);
    gradleUseWrapper = new BooleanFieldEditor(GradleConstants.GRADLE_USE_WRAPPER,
        "use wrapper if `gradlew[.bat]` is present (appears after `gradle wrapper`)", getFieldEditorParent());
    addField(gradleUseWrapper);
    javaHomeToUse = new DirectoryFieldEditor(GradleConstants.GRADLE_JAVA_HOME_TO_USE, "alternative JAVA_HOME to use:", getFieldEditorParent());
    addField(javaHomeToUse);
    gradleJvmOpts = new StringFieldEditor(GradleConstants.GRADLE_OPTS, "JVM options GRADLE_OPTS:", getFieldEditorParent());
    addField(gradleJvmOpts);
   
    gradleOptions = new StringFieldEditor(GradleConstants.GRADLE_OPTIONS, "Gradle options (gradle -h):", getFieldEditorParent());
        addField(gradleOptions);
        /*
    gradleTask1 = new StringFieldEditor(GradleConstants.GRADLE_TASK1, "Gradle task1:", getFieldEditorParent());
        addField(gradleTask1);
        gradleTask2 = new StringFieldEditor(GradleConstants.GRADLE_TASK2, "Gradle task2:", getFieldEditorParent());
        addField(gradleTask2);
        */
        gradleOptionDebug = new BooleanFieldEditor(GradleConstants.GRADLE_OPTION_DEBUG,"-d, --debug Log in debug mode (includes normal stacktrace).", getFieldEditorParent());
        addField(gradleOptionDebug);
        gradleOptionInfo = new BooleanFieldEditor(GradleConstants.GRADLE_OPTION_INFO,"-i, --info Set log level to info.", getFieldEditorParent());
        addField(gradleOptionInfo);
        gradleOptionQuiet = new BooleanFieldEditor(GradleConstants.GRADLE_OPTION_QUIET,"-q, --quiet Log errors only.", getFieldEditorParent());
        addField(gradleOptionQuiet);
        gradleOptionOffline = new BooleanFieldEditor(GradleConstants.GRADLE_OPTION_OFFLINE,
            "--offline The build should operate without accessing network resources.", getFieldEditorParent());
        addField(gradleOptionOffline);
        gradleOptionSkipTest = new BooleanFieldEditor(GradleConstants.GRADLE_OPTION_TEST_SKIP,
            "-x test (--exclude-task test) or use `gradle assemble`", getFieldEditorParent());
        addField(gradleOptionSkipTest);
        gradleOptionDaemon = new BooleanFieldEditor(GradleConstants.GRADLE_OPTION_DAEMON,
            "--daemon Uses the Gradle daemon to run the build. Starts the daemon if not running.", getFieldEditorParent());
        addField(gradleOptionDaemon);

       
        gradleEnvVarAlternativeAndroidHome = new DirectoryFieldEditor(GradleConstants.GRADLE_ENVVAR_ALTERNATIVE_ANDROID_HOME, "alternative ANDROID_HOME:", getFieldEditorParent());
    addField(gradleEnvVarAlternativeAndroidHome);

    passAllEnvVars = new BooleanFieldEditor(GradleConstants.PASS_ALL_ENVIRONMENT_VARIABLES,
            "pass all environment variables of Eclipse to launched app // incompatible with #129", getFieldEditorParent());
        addField(passAllEnvVars);
View Full Code Here

Examples of org.eclipse.jface.preference.DirectoryFieldEditor

  public void init(IWorkbench workbench) {
  }

  @Override
  protected void createFieldEditors() {
         vertxHomeToUse = new DirectoryFieldEditor(VertxConstants.VERTX_HOME_TO_USE, "VERTX_HOME to use:", getFieldEditorParent());
          addField(vertxHomeToUse);
  }
View Full Code Here

Examples of org.eclipse.jface.preference.DirectoryFieldEditor

      "Web editors (Eclipse WTP's HTML, XML, XSL and CSS; Aptana's CSS editor).\n" +
      "For CSS editor, you can specify 'close_css_brace' variable \n" +
      "(see Variable section) with the value that will be automatically \n" +
      "inserted instead of closing brace of CSS rule defition.", getFieldEditorParent()));
   
    addField(new DirectoryFieldEditor(
      PreferenceConstants.P_EXTENSIONS_PATH,
      "E&xtensions path",
      getFieldEditorParent()));
   
  }
View Full Code Here

Examples of org.eclipse.jface.preference.DirectoryFieldEditor

   * GUI blocks needed to manipulate various types of preferences. Each field
   * editor knows how to save and restore itself.
   */
  @Override
  public void createFieldEditors() {
    addField(new DirectoryFieldEditor(PreferenceConstants.P_PATH,
        "&Hadoop installation directory:", getFieldEditorParent()));

  }
View Full Code Here

Examples of org.eclipse.jface.preference.DirectoryFieldEditor

    public void createFieldEditors() {
        Composite p = getFieldEditorParent();
        addField(new BooleanFieldEditor(SHOW_SCRIPTING_OUTPUT,
                "Show the output given from the scripting to some console?", p));
        addField(new BooleanFieldEditor(LOG_SCRIPTING_ERRORS, "Show errors from scripting in the Error Log?", p));
        DirectoryFieldEditor fileField = new DirectoryFieldEditor(ADDITIONAL_SCRIPTING_LOCATION,
                "Location of additional jython scripts:", p);
        addField(fileField);
    }
View Full Code Here

Examples of org.eclipse.jface.preference.DirectoryFieldEditor

        return new JythonInterpreterEditor(getInterpretersTitle(), p, PydevPlugin.getJythonInterpreterManager(true));
    }

    protected void createFieldEditors() {
        super.createFieldEditors();
        addField(new DirectoryFieldEditor(IInterpreterManager.JYTHON_CACHE_DIR, "-Dpython.cachedir",
                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.