Examples of FontFieldEditor


Examples of org.eclipse.imp.preferences.fields.FontFieldEditor

   */
  protected FieldEditor[] createFields(TabbedPreferencesPage page, Composite parent)
  {
    List<FieldEditor> fields = new ArrayList<FieldEditor>();

    FontFieldEditor sourceFont = fPrefUtils.makeNewFontField(
      page, this, fPrefService,
      "instance", "sourceFont", "source font",
      "",
      parent,
      true, true,
      false);
    fields.add(sourceFont);

    Link sourceFontDetailsLink = fPrefUtils.createDetailsLink(parent, sourceFont, sourceFont.getChangeControl().getParent(), "Details ...");

    sourceFontDetailsLink.setEnabled(true);
    fDetailsLinks.add(sourceFontDetailsLink);


View Full Code Here

Examples of org.eclipse.jface.preference.FontFieldEditor

    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

Examples of org.eclipse.jface.preference.FontFieldEditor

              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

Examples of org.eclipse.jface.preference.FontFieldEditor

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

Examples of org.eclipse.jface.preference.FontFieldEditor

    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

Examples of org.eclipse.jface.preference.FontFieldEditor

    {
    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

Examples of org.eclipse.jface.preference.FontFieldEditor

   */
  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

Examples of org.eclipse.jface.preference.FontFieldEditor

    {
    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

Examples of org.eclipse.jface.preference.FontFieldEditor

   */
  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

Examples of org.eclipse.jface.preference.FontFieldEditor

    {
    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
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.