Package org.eclipse.jface.preference

Examples of org.eclipse.jface.preference.FileFieldEditor


  }

  @Override
  protected void createFieldEditors()
  {
    octavePathField = new FileFieldEditor(IDebugConstants.OCTAVE_PATH, "Path to octave:", getFieldEditorParent());
    octavePathField.setPreferenceStore(getPreferenceStore());
    octavePathField.setPage(this);
    addField(octavePathField);
   
  }
View Full Code Here


                        + "A single Java source file name is written on each line of "
                        + "the source list. The source file names may use paths "
                        + "relative to the path where the source list file is in.");

        Composite currentComposite = _newComposite(composite);
        _sourceList = new FileFieldEditor(
                PreferenceConstants.BACKTRACK_SOURCE_LIST,
                "Source &list file:", currentComposite) {
            protected boolean checkState() {
                String currentValue = getStringValue();
                boolean superResult = super.checkState();
View Full Code Here

   */
  public void createFieldEditors()
    {
    addField(new DirectoryFieldEditor(PrefConst.P_DB_DIR, "&Db Dir:", getFieldEditorParent()));

    addField(new FileFieldEditor(PrefConst.P_TEXT_EDITOR_CMD, "&External Text Editor:", getFieldEditorParent()));

    addField(new FontFieldEditor(PrefConst.P_FNT_TREE_STD, "Default Tree Font", getFieldEditorParent()));
   
    addField(new FontFieldEditor(PrefConst.P_FNT_TREE_POSERFILE, "Default Font", getFieldEditorParent()));
    }
View Full Code Here

   * of preferences. Each field editor knows how to save and
   * restore itself.
   */
  public void createFieldEditors()
    {
    addField(new FileFieldEditor(PrefConst.P_IMG_EDITOR_CMD, "&External Image Editor:", getFieldEditorParent()));

    addField(new FontFieldEditor(PrefConst.P_FNT_FILEBROWSE_STD, "Default Browser Font", getFieldEditorParent()));   

    addField(new IntegerFieldEditor(PrefConst.P_BRW_MAXFILESIZE, "Max File Size (Bytes)", getFieldEditorParent()));

View Full Code Here

   */
  public void createFieldEditors()
    {
    addField(new DirectoryFieldEditor(PrefConst.P_DB_DIR, "&Db Dir:", getFieldEditorParent()));

    addField(new FileFieldEditor(PrefConst.P_TEXT_EDITOR_CMD, "&External Text Editor:", getFieldEditorParent()));

    addField(new FontFieldEditor(PrefConst.P_FNT_TREE_STD, "Default Tree Font", getFieldEditorParent()));
   
    addField(new FontFieldEditor(PrefConst.P_FNT_TREE_POSERFILE, "Default Font", getFieldEditorParent()));
    }
View Full Code Here

   * of preferences. Each field editor knows how to save and
   * restore itself.
   */
  public void createFieldEditors()
    {
    addField(new FileFieldEditor(PrefConst.P_IMG_EDITOR_CMD, "&External Image Editor:", getFieldEditorParent()));

    addField(new FontFieldEditor(PrefConst.P_FNT_FILEBROWSE_STD, "Default Browser Font", getFieldEditorParent()));   

    // addField(new ExtensionListEditor(getFieldEditorParent()));

View Full Code Here

   */
  public void createFieldEditors()
    {
    addField(new DirectoryFieldEditor(PrefConst.P_DB_DIR, "&Db Dir:", getFieldEditorParent()));

    addField(new FileFieldEditor(PrefConst.P_TEXT_EDITOR_CMD, "&External Text Editor:", getFieldEditorParent()));

    addField(new FontFieldEditor(PrefConst.P_FNT_TREE_STD, "Default Tree Font", getFieldEditorParent()));
   
    addField(new FontFieldEditor(PrefConst.P_FNT_TREE_POSERFILE, "Default Font", getFieldEditorParent()));
    }
View Full Code Here

   * of preferences. Each field editor knows how to save and
   * restore itself.
   */
  public void createFieldEditors()
    {
    addField(new FileFieldEditor(PrefConst.P_IMG_EDITOR_CMD, "&External Image Editor:", getFieldEditorParent()));

    addField(new FontFieldEditor(PrefConst.P_FNT_FILEBROWSE_STD, "Default Browser Font", getFieldEditorParent()));   

    // addField(new ExtensionListEditor(getFieldEditorParent()));

View Full Code Here

   
    addField(new BooleanFieldEditor(
      DaemonEnginePreferences.AUTO_START_SERVER.key,
      "Start " + getDaemonToolName() + " server automatically", group));
   
    addField(new FileFieldEditor(
      DaemonEnginePreferences.DAEMON_PATH.key, getDaemonToolName() + " path:", group));
   
    addField(new BooleanFieldEditor(
      DaemonEnginePreferences.DAEMON_CONSOLE_ENABLE.key,
      "Enable " + getDaemonToolName() + " log console (requires restart)", group));
View Full Code Here

 
  protected FileFieldEditor dubPathEditor;
 
  @Override
  protected void createFieldEditors() {
    dubPathEditor = new FileFieldEditor(DeeCorePreferences.PREF_DUB_PATH.key,
      DeeUIMessages.DubPrefPage_fieldLabel, false, FileFieldEditor.VALIDATE_ON_KEY_STROKE,
      getFieldEditorParent()) {
      @Override
      protected boolean checkState() {
        return true;
View Full Code Here

TOP

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

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.