Package org.eclipse.jface.preference

Examples of org.eclipse.jface.preference.FontFieldEditor$DefaultPreviewer


    addField(new IntegerFieldEditor(PreferenceConstants.HID_CONNECTION_BY_COST, "&Hide connections with cost > ", getFieldEditorParent()));

//    addField(new BooleanFieldEditor(PreferenceConstants.HID_DIRECT_CONNECTION, "&Hid direct connections", getFieldEditorParent()));
    addField(new BooleanFieldEditor(PreferenceConstants.LOG_POSSIBLE_PATHS_OCCURENCE, "&Log path occurences", getFieldEditorParent()));
   
    addField(new FontFieldEditor(PreferenceConstants.PROJECT_NAME_FONT, "&Project name Font", getFieldEditorParent()));
  }
View Full Code Here


              labelAndValues,
              getFieldEditorParent(),
              true);
          addField(rgField);
        } else if (attrType == PreferenceAD.FONT) {   
          FontFieldEditor foField =
            new FontFieldEditor(prefAD.getID(), prefAD.getName(), getFieldEditorParent());
          addField(foField);
        } else if (attrType == PreferenceAD.DIRECTORY) {   
          DirectoryFieldEditor dField =
            new DirectoryFieldEditor(prefAD.getID(), prefAD.getName(), getFieldEditorParent());
          dField.setEmptyStringAllowed(true);
View Full Code Here

  /*
   * @see FieldEditorPreferencePage#createFieldEditors()
   */
  public void createFieldEditors() {
    addField(new FontFieldEditor(JFaceResources.TEXT_FONT, TextEditorMessages.PreferencePage_fontEditor, getFieldEditorParent()));
  }
View Full Code Here

    fonts.setText("Modify Fonts of Simple Contact List");
   
    this.fonts = new Composite(fonts,SWT.NULL);
    this.fonts.setLayoutData(new GridData(SWT.FILL,SWT.TOP,true,false));
   
    addField(addEditorToFontsGroup(new FontFieldEditor(PreferenceConstants.P_SIMPLE_CONTACTLIST_FONTS_DEFAULT,"Default Font:",this.fonts)));
   
   
    setColorsEnabledState(getPreferenceStore().getBoolean(PreferenceConstants.P_SIMPLE_CONTACTLIST_CUSTOMIZE_COLORS));
    setFontsEnabledState(getPreferenceStore().getBoolean(PreferenceConstants.P_SIMPLE_CONTACTLIST_CUSTOMIZE_FONTS));
  }
View Full Code Here

    {
    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

   */
  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()));

    addField(new IntegerFieldEditor(PrefConst.P_BRW_ICONSIZE, "Icon Size (pixel)", getFieldEditorParent()));

View Full Code Here

    {
    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

   */
  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()));

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

View Full Code Here

    {
    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

   */
  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()));

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

View Full Code Here

TOP

Related Classes of org.eclipse.jface.preference.FontFieldEditor$DefaultPreviewer

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.