1 /*******************************************************************************
 
   2  * Copyright (c) 2002 International Business Machines Corp. and others.
 
   3  * All rights reserved. This program and the accompanying materials
 
   4  * are made available under the terms of the Common Public License v1.0
 
   5  * which accompanies this distribution, and is available at
 
   6  * http://www.eclipse.org/legal/cpl-v05.html
 
   9  *     IBM Corporation - initial API and implementation
 
  10  ******************************************************************************/
 
  11 package net.sourceforge.phpdt.ui;
 
  13 import net.sourceforge.phpdt.core.IClasspathEntry;
 
  14 import net.sourceforge.phpdt.internal.ui.text.spelling.SpellCheckEngine;
 
  15 import net.sourceforge.phpdt.internal.ui.text.spelling.engine.ISpellCheckPreferenceKeys;
 
  16 import net.sourceforge.phpeclipse.IPreferenceConstants;
 
  17 import net.sourceforge.phpeclipse.PHPeclipsePlugin;
 
  18 import net.sourceforge.phpeclipse.phpeditor.util.PHPColorProvider;
 
  20 import org.eclipse.core.runtime.Platform;
 
  21 import org.eclipse.jface.action.Action;
 
  22 import org.eclipse.jface.preference.IPreferenceStore;
 
  23 import org.eclipse.jface.preference.PreferenceConverter;
 
  24 import org.eclipse.swt.SWT;
 
  25 import org.eclipse.swt.graphics.RGB;
 
  26 import org.eclipse.ui.texteditor.AbstractDecoratedTextEditorPreferenceConstants;
 
  27 import org.eclipse.ui.texteditor.AbstractTextEditor;
 
  30 // import org.phpeclipse.phpdt.internal.ui.JavaPlugin;
 
  32 // org.phpeclipse.phpdt.internal.ui.preferences.NewJavaProjectPreferencePage;
 
  35  * Preference constants used in the JDT-UI preference store. Clients should only
 
  36  * read the JDT-UI preference store using these values. Clients are not allowed
 
  37  * to modify the preference store programmatically.
 
  41 public class PreferenceConstants {
 
  43         private PreferenceConstants() {
 
  47          * A named preference that controls return type rendering of methods in the
 
  50          * Value is of type <code>Boolean</code>: if <code>true</code> return
 
  54         public static final String APPEARANCE_METHOD_RETURNTYPE = "net.sourceforge.phpdt.ui.methodreturntype"; //$NON-NLS-1$
 
  57          * A named preference that controls if override indicators are rendered in
 
  60          * Value is of type <code>Boolean</code>: if <code>true</code> override
 
  61          * indicators are rendered
 
  64         public static final String APPEARANCE_OVERRIDE_INDICATOR = "net.sourceforge.phpdt.ui.overrideindicator"; //$NON-NLS-1$
 
  67          * A named preference that defines the pattern used for package name
 
  70          * Value is of type <code>String</code>. For example foe the given
 
  71          * package name 'net.sourceforge.phpdt' pattern '.' will compress it to
 
  72          * '..jdt', '1~' to 'o~.e~.jdt'.
 
  75         public static final String APPEARANCE_PKG_NAME_PATTERN_FOR_PKG_VIEW = "PackagesView.pkgNamePatternForPackagesView"; //$NON-NLS-1$
 
  78          * A named preference that controls if package name compression is turned on
 
  81          * Value is of type <code>Boolean</code>.
 
  84          * @see #APPEARANCE_PKG_NAME_PATTERN_FOR_PKG_VIEW
 
  86         public static final String APPEARANCE_COMPRESS_PACKAGE_NAMES = "net.sourceforge.phpdt.ui.compresspackagenames"; //$NON-NLS-1$
 
  89          * A named preference that controls if empty inner packages are folded in
 
  90          * the hierarchical mode of the package explorer.
 
  92          * Value is of type <code>Boolean</code>: if <code>true</code> empty
 
  93          * inner packages are folded.
 
  98         public static final String APPEARANCE_FOLD_PACKAGES_IN_PACKAGE_EXPLORER = "net.sourceforge.phpdt.ui.flatPackagesInPackageExplorer"; //$NON-NLS-1$
 
 101          * A named preference that defines how member elements are ordered by the
 
 102          * Java views using the <code>JavaElementSorter</code>.
 
 104          * Value is of type <code>String</code>: A comma separated list of the
 
 105          * following entries. Each entry must be in the list, no duplication. List
 
 106          * order defines the sort order.
 
 108          * <li><b>T </b>: Types</li>
 
 109          * <li><b>C </b>: Constructors</li>
 
 110          * <li><b>I </b>: Initializers</li>
 
 111          * <li><b>M </b>: Methods</li>
 
 112          * <li><b>F </b>: Fields</li>
 
 113          * <li><b>SI </b>: Static Initializers</li>
 
 114          * <li><b>SM </b>: Static Methods</li>
 
 115          * <li><b>SF </b>: Static Fields</li>
 
 121         public static final String APPEARANCE_MEMBER_SORT_ORDER = "outlinesortoption"; //$NON-NLS-1$
 
 124          * A named preference that defines how member elements are ordered by
 
 125          * visibility in the Java views using the <code>JavaElementSorter</code>.
 
 127          * Value is of type <code>String</code>: A comma separated list of the
 
 128          * following entries. Each entry must be in the list, no duplication. List
 
 129          * order defines the sort order.
 
 131          * <li><b>B </b>: Public</li>
 
 132          * <li><b>V </b>: Private</li>
 
 133          * <li><b>R </b>: Protected</li>
 
 134          * <li><b>D </b>: Default</li>
 
 140         public static final String APPEARANCE_VISIBILITY_SORT_ORDER = "net.sourceforge.phpdt.ui.visibility.order"; //$NON-NLS-1$
 
 143          * A named preferences that controls if Java elements are also sorted by
 
 146          * Value is of type <code>Boolean</code>.
 
 151         public static final String APPEARANCE_ENABLE_VISIBILITY_SORT_ORDER = "net.sourceforge.phpdt.ui.enable.visibility.order"; //$NON-NLS-1$
 
 154          * A named preference that controls if prefix removal during setter/getter
 
 155          * generation is turned on or off.
 
 157          * Value is of type <code>Boolean</code>.
 
 160         public static final String CODEGEN_USE_GETTERSETTER_PREFIX = "net.sourceforge.phpdt.ui.gettersetter.prefix.enable"; //$NON-NLS-1$
 
 163          * A named preference that holds a list of prefixes to be removed from a
 
 164          * local variable to compute setter and gettter names.
 
 166          * Value is of type <code>String</code>: comma separated list of prefixed
 
 169          * @see #CODEGEN_USE_GETTERSETTER_PREFIX
 
 171         public static final String CODEGEN_GETTERSETTER_PREFIX = "net.sourceforge.phpdt.ui.gettersetter.prefix.list"; //$NON-NLS-1$
 
 174          * A named preference that controls if suffix removal during setter/getter
 
 175          * generation is turned on or off.
 
 177          * Value is of type <code>Boolean</code>.
 
 180         public static final String CODEGEN_USE_GETTERSETTER_SUFFIX = "net.sourceforge.phpdt.ui.gettersetter.suffix.enable"; //$NON-NLS-1$
 
 183          * A named preference that holds a list of suffixes to be removed from a
 
 184          * local variable to compute setter and getter names.
 
 186          * Value is of type <code>String</code>: comma separated list of suffixes
 
 189          * @see #CODEGEN_USE_GETTERSETTER_SUFFIX
 
 191         public static final String CODEGEN_GETTERSETTER_SUFFIX = "net.sourceforge.phpdt.ui.gettersetter.suffix.list"; //$NON-NLS-1$
 
 194          * A named preference that controls whether the keyword "this" will be added
 
 195          * automatically to field accesses in generated methods.
 
 197          * Value is of type <code>Boolean</code>.
 
 202         public static final String CODEGEN_KEYWORD_THIS = "org.eclipse.jdt.ui.keywordthis"; //$NON-NLS-1$
 
 205          * A named preference that controls whether to use the prefix "is" or the
 
 206          * prefix "get" for automatically created getters which return a boolean
 
 209          * Value is of type <code>Boolean</code>.
 
 214         public static final String CODEGEN_IS_FOR_GETTERS = "org.eclipse.jdt.ui.gettersetter.use.is"; //$NON-NLS-1$
 
 217          * A named preference that defines the preferred variable names for
 
 218          * exceptions in catch clauses.
 
 220          * Value is of type <code>String</code>.
 
 225         public static final String CODEGEN_EXCEPTION_VAR_NAME = "org.eclipse.jdt.ui.exception.name"; //$NON-NLS-1$
 
 228          * A named preference that controls if comment stubs will be added
 
 229          * automatically to newly created types and methods.
 
 231          * Value is of type <code>Boolean</code>.
 
 236         public static final String CODEGEN_ADD_COMMENTS = "net.sourceforge.phpdt.ui.phpdoc"; //$NON-NLS-1$
 
 239          * A name preference that controls if a JavaDoc stub gets added to newly
 
 240          * created types and methods.
 
 242          * Value is of type <code>Boolean</code>.
 
 245          * @deprecated Use CODEGEN_ADD_COMMENTS instead (Name is more precise).
 
 247         // public static final String CODEGEN__JAVADOC_STUBS = CODEGEN_ADD_COMMENTS;
 
 250          * A named preference that controls if a non-phpdoc comment gets added to
 
 251          * methods generated via the "Override Methods" operation.
 
 253          * Value is of type <code>Boolean</code>.
 
 256         public static final String CODEGEN__NON_JAVADOC_COMMENTS = "net.sourceforge.phpdt.ui.seecomments"; //$NON-NLS-1$
 
 259          * A named preference that controls if a file comment gets added to newly
 
 262          * Value is of type <code>Boolean</code>.
 
 265         public static final String CODEGEN__FILE_COMMENTS = "net.sourceforge.phpdt.ui.filecomments"; //$NON-NLS-1$
 
 268          * A named preference that holds a list of comma separated package names.
 
 269          * The list specifies the import order used by the "Organize Imports"
 
 272          * Value is of type <code>String</code>: semicolon separated list of
 
 276         // public static final String ORGIMPORTS_IMPORTORDER =
 
 277         // "net.sourceforge.phpdt.ui.importorder"; //$NON-NLS-1$
 
 279          * A named preference that specifies the number of imports added before a
 
 280          * star-import declaration is used.
 
 282          * Value is of type <code>Int</code>: positive value specifing the number
 
 283          * of non star-import is used
 
 286         public static final String ORGIMPORTS_ONDEMANDTHRESHOLD = "net.sourceforge.phpdt.ui.ondemandthreshold"; //$NON-NLS-1$
 
 289          * A named preferences that controls if types that start with a lower case
 
 290          * letters get added by the "Organize Import" operation.
 
 292          * Value is of type <code>Boolean</code>.
 
 295         public static final String ORGIMPORTS_IGNORELOWERCASE = "net.sourceforge.phpdt.ui.ignorelowercasenames"; //$NON-NLS-1$
 
 298          * A named preference that speficies whether children of a compilation unit
 
 299          * are shown in the package explorer.
 
 301          * Value is of type <code>Boolean</code>.
 
 304         public static final String SHOW_CU_CHILDREN = "net.sourceforge.phpdt.ui.packages.cuchildren"; //$NON-NLS-1$
 
 307          * A named preference that controls whether the package explorer's selection
 
 308          * is linked to the active editor.
 
 310          * Value is of type <code>Boolean</code>.
 
 313         public static final String LINK_PACKAGES_TO_EDITOR = "net.sourceforge.phpdt.ui.packages.linktoeditor"; //$NON-NLS-1$
 
 316          * A named preference that controls whether the hierarchy view's selection
 
 317          * is linked to the active editor.
 
 319          * Value is of type <code>Boolean</code>.
 
 322         public static final String LINK_TYPEHIERARCHY_TO_EDITOR = "net.sourceforge.phpdt.ui.packages.linktypehierarchytoeditor"; //$NON-NLS-1$
 
 325          * A named preference that controls whether the browsing view's selection is
 
 326          * linked to the active editor.
 
 328          * Value is of type <code>Boolean</code>.
 
 333         public static final String LINK_BROWSING_VIEW_TO_EDITOR = "net.sourceforge.phpdt.ui.browsing.linktoeditor"; //$NON-NLS-1$
 
 336          * A named preference that controls whether new projects are generated using
 
 337          * source and output folder.
 
 339          * Value is of type <code>Boolean</code>. if <code>true</code> new
 
 340          * projects are created with a source and output folder. If
 
 341          * <code>false</code> source and output folder equals to the project.
 
 344         public static final String SRCBIN_FOLDERS_IN_NEWPROJ = "net.sourceforge.phpdt.ui.wizards.srcBinFoldersInNewProjects"; //$NON-NLS-1$
 
 347          * A named preference that specifies the source folder name used when
 
 348          * creating a new Java project. Value is inactive if
 
 349          * <code>SRCBIN_FOLDERS_IN_NEWPROJ</code> is set to <code>false</code>.
 
 351          * Value is of type <code>String</code>.
 
 354          * @see #SRCBIN_FOLDERS_IN_NEWPROJ
 
 356         public static final String SRCBIN_SRCNAME = "net.sourceforge.phpdt.ui.wizards.srcBinFoldersSrcName"; //$NON-NLS-1$
 
 359          * A named preference that specifies the output folder name used when
 
 360          * creating a new Java project. Value is inactive if
 
 361          * <code>SRCBIN_FOLDERS_IN_NEWPROJ</code> is set to <code>false</code>.
 
 363          * Value is of type <code>String</code>.
 
 366          * @see #SRCBIN_FOLDERS_IN_NEWPROJ
 
 368         public static final String SRCBIN_BINNAME = "net.sourceforge.phpdt.ui.wizards.srcBinFoldersBinName"; //$NON-NLS-1$
 
 371          * A named preference that holds a list of possible JRE libraries used by
 
 372          * the New Java Project wizard. An library consists of a description and an
 
 373          * arbitrary number of <code>IClasspathEntry</code>s, that will represent
 
 374          * the JRE on the new project's classpath.
 
 376          * Value is of type <code>String</code>: a semicolon separated list of
 
 377          * encoded JRE libraries. <code>NEWPROJECT_JRELIBRARY_INDEX</code> defines
 
 378          * the currently used library. Clients should use the method
 
 379          * <code>encodeJRELibrary</code> to encode a JRE library into a string and
 
 380          * the methods <code>decodeJRELibraryDescription(String)</code> and <code>
 
 381          * decodeJRELibraryClasspathEntries(String)</code>
 
 382          * to decode the description and the array of classpath entries from an
 
 386          * @see #NEWPROJECT_JRELIBRARY_INDEX
 
 387          * @see #encodeJRELibrary(String, IClasspathEntry[])
 
 388          * @see #decodeJRELibraryDescription(String)
 
 389          * @see #decodeJRELibraryClasspathEntries(String)
 
 391         public static final String NEWPROJECT_JRELIBRARY_LIST = "net.sourceforge.phpdt.ui.wizards.jre.list"; //$NON-NLS-1$
 
 394          * A named preferences that specifies the current active JRE library.
 
 396          * Value is of type <code>Int</code>: an index into the list of possible
 
 400          * @see #NEWPROJECT_JRELIBRARY_LIST
 
 402         public static final String NEWPROJECT_JRELIBRARY_INDEX = "net.sourceforge.phpdt.ui.wizards.jre.index"; //$NON-NLS-1$
 
 405          * A named preference that controls if a new type hierarchy gets opened in a
 
 406          * new type hierarchy perspective or inside the type hierarchy view part.
 
 408          * Value is of type <code>String</code>: possible values are <code>
 
 409          * OPEN_TYPE_HIERARCHY_IN_PERSPECTIVE</code>
 
 411          * OPEN_TYPE_HIERARCHY_IN_VIEW_PART</code>.
 
 414          * @see #OPEN_TYPE_HIERARCHY_IN_PERSPECTIVE
 
 415          * @see #OPEN_TYPE_HIERARCHY_IN_VIEW_PART
 
 417         public static final String OPEN_TYPE_HIERARCHY = "net.sourceforge.phpdt.ui.openTypeHierarchy"; //$NON-NLS-1$
 
 420          * A string value used by the named preference
 
 421          * <code>OPEN_TYPE_HIERARCHY</code>.
 
 423          * @see #OPEN_TYPE_HIERARCHY
 
 425         public static final String OPEN_TYPE_HIERARCHY_IN_PERSPECTIVE = "perspective"; //$NON-NLS-1$
 
 428          * A string value used by the named preference
 
 429          * <code>OPEN_TYPE_HIERARCHY</code>.
 
 431          * @see #OPEN_TYPE_HIERARCHY
 
 433         public static final String OPEN_TYPE_HIERARCHY_IN_VIEW_PART = "viewPart"; //$NON-NLS-1$
 
 436          * A named preference that controls the behaviour when double clicking on a
 
 437          * container in the packages view.
 
 439          * Value is of type <code>String</code>: possible values are <code>
 
 440          * DOUBLE_CLICK_GOES_INTO</code>
 
 442          * DOUBLE_CLICK_EXPANDS</code>.
 
 445          * @see #DOUBLE_CLICK_EXPANDS
 
 446          * @see #DOUBLE_CLICK_GOES_INTO
 
 448         public static final String DOUBLE_CLICK = "packageview.doubleclick"; //$NON-NLS-1$
 
 451          * A string value used by the named preference <code>DOUBLE_CLICK</code>.
 
 455         public static final String DOUBLE_CLICK_GOES_INTO = "packageview.gointo"; //$NON-NLS-1$
 
 458          * A string value used by the named preference <code>DOUBLE_CLICK</code>.
 
 462         public static final String DOUBLE_CLICK_EXPANDS = "packageview.doubleclick.expands"; //$NON-NLS-1$
 
 465          * A named preference that controls whether Java views update their
 
 466          * presentation while editing or when saving the content of an editor.
 
 468          * Value is of type <code>String</code>: possible values are <code>
 
 469          * UPDATE_ON_SAVE</code>
 
 471          * UPDATE_WHILE_EDITING</code>.
 
 474          * @see #UPDATE_ON_SAVE
 
 475          * @see #UPDATE_WHILE_EDITING
 
 477         public static final String UPDATE_JAVA_VIEWS = "JavaUI.update"; //$NON-NLS-1$
 
 480          * A string value used by the named preference
 
 481          * <code>UPDATE_JAVA_VIEWS</code>
 
 483          * @see #UPDATE_JAVA_VIEWS
 
 485         public static final String UPDATE_ON_SAVE = "JavaUI.update.onSave"; //$NON-NLS-1$
 
 488          * A string value used by the named preference
 
 489          * <code>UPDATE_JAVA_VIEWS</code>
 
 491          * @see #UPDATE_JAVA_VIEWS
 
 493         public static final String UPDATE_WHILE_EDITING = "JavaUI.update.whileEditing"; //$NON-NLS-1$
 
 496          * A named preference that holds the path of the Javadoc command used by the
 
 497          * Javadoc creation wizard.
 
 499          * Value is of type <code>String</code>.
 
 502         public static final String JAVADOC_COMMAND = "command"; //$NON-NLS-1$
 
 505          * A named preference that defines whether hint to make hover sticky should
 
 511         public static final String EDITOR_SHOW_TEXT_HOVER_AFFORDANCE = "PreferenceConstants.EDITOR_SHOW_TEXT_HOVER_AFFORDANCE"; //$NON-NLS-1$
 
 514          * A named preference that defines the key for the hover modifiers.
 
 519         public static final String EDITOR_TEXT_HOVER_MODIFIERS = "hoverModifiers"; //$NON-NLS-1$
 
 522          * The id of the best match hover contributed for extension point
 
 523          * <code>javaEditorTextHovers</code>.
 
 527         public static String ID_BESTMATCH_HOVER = "net.sourceforge.phpdt.ui.BestMatchHover"; //$NON-NLS-1$
 
 530          * The id of the source code hover contributed for extension point
 
 531          * <code>javaEditorTextHovers</code>.
 
 535         public static String ID_SOURCE_HOVER = "net.sourceforge.phpdt.ui.JavaSourceHover"; //$NON-NLS-1$
 
 538          * The id of the problem hover contributed for extension point
 
 539          * <code>javaEditorTextHovers</code>.
 
 543         public static String ID_PROBLEM_HOVER = "net.sourceforge.phpdt.ui.ProblemHover"; //$NON-NLS-1$
 
 546          * A named preference that controls whether bracket matching highlighting is
 
 549          * Value is of type <code>Boolean</code>.
 
 552         public final static String EDITOR_MATCHING_BRACKETS = "matchingBrackets"; //$NON-NLS-1$
 
 555          * A named preference that holds the color used to highlight matching
 
 558          * Value is of type <code>String</code>. A RGB color value encoded as a
 
 559          * string using class <code>PreferenceConverter</code>
 
 562          * @see org.eclipse.jface.resource.StringConverter
 
 563          * @see org.eclipse.jface.preference.PreferenceConverter
 
 565         public final static String EDITOR_MATCHING_BRACKETS_COLOR = "matchingBracketsColor"; //$NON-NLS-1$
 
 568          * A named preference that controls whether the current line highlighting is
 
 571          * Value is of type <code>Boolean</code>.
 
 574         public final static String EDITOR_CURRENT_LINE = "currentLine"; //$NON-NLS-1$
 
 577          * A named preference that holds the color used to highlight the current
 
 580          * Value is of type <code>String</code>. A RGB color value encoded as a
 
 581          * string using class <code>PreferenceConverter</code>
 
 584          * @see org.eclipse.jface.resource.StringConverter
 
 585          * @see org.eclipse.jface.preference.PreferenceConverter
 
 587         public final static String EDITOR_CURRENT_LINE_COLOR = "currentLineColor"; //$NON-NLS-1$
 
 590          * A named preference that controls whether the print margin is turned on or
 
 593          * Value is of type <code>Boolean</code>.
 
 596         public final static String EDITOR_PRINT_MARGIN = "printMargin"; //$NON-NLS-1$
 
 599          * A named preference that holds the color used to render the print margin.
 
 601          * Value is of type <code>String</code>. A RGB color value encoded as a
 
 602          * string using class <code>PreferenceConverter</code>
 
 605          * @see org.eclipse.jface.resource.StringConverter
 
 606          * @see org.eclipse.jface.preference.PreferenceConverter
 
 608         public final static String EDITOR_PRINT_MARGIN_COLOR = "printMarginColor"; //$NON-NLS-1$
 
 611          * Print margin column. Int value.
 
 613         public final static String EDITOR_PRINT_MARGIN_COLUMN = "printMarginColumn"; //$NON-NLS-1$
 
 616          * A named preference that holds the color used for the find/replace scope.
 
 618          * Value is of type <code>String</code>. A RGB color value encoded as a
 
 619          * string using class <code>PreferenceConverter</code>
 
 622          * @see org.eclipse.jface.resource.StringConverter
 
 623          * @see org.eclipse.jface.preference.PreferenceConverter
 
 625         public final static String EDITOR_FIND_SCOPE_COLOR = AbstractTextEditor.PREFERENCE_COLOR_FIND_SCOPE;
 
 628          * A named preference that specifies if the editor uses spaces for tabs.
 
 630          * Value is of type <code>Boolean</code>. If <code>true</code> spaces
 
 631          * instead of tabs are used in the editor. If <code>false</code> the
 
 632          * editor inserts a tab character when pressing the tab key.
 
 635         public final static String EDITOR_SPACES_FOR_TABS = "spacesForTabs"; //$NON-NLS-1$
 
 638          * A named preference that holds the number of spaces used per tab in the
 
 641          * Value is of type <code>Int</code>: positive int value specifying the
 
 642          * number of spaces per tab.
 
 645         public final static String EDITOR_TAB_WIDTH = AbstractDecoratedTextEditorPreferenceConstants.EDITOR_TAB_WIDTH; // "net.sourceforge.phpdt.ui.editor.tab.width";
 
 650          * A named preference that controls whether the outline view selection
 
 651          * should stay in sync with with the element at the current cursor position.
 
 653          * Value is of type <code>Boolean</code>.
 
 658         public final static String EDITOR_SYNC_OUTLINE_ON_CURSOR_MOVE = "JavaEditor.SyncOutlineOnCursorMove"; //$NON-NLS-1$
 
 661          * A named preference that controls if correction indicators are shown in
 
 664          * Value is of type <code>Boolean</code>.
 
 667         public final static String EDITOR_CORRECTION_INDICATION = "JavaEditor.ShowTemporaryProblem"; //$NON-NLS-1$
 
 670          * A named preference that controls whether the editor shows problem
 
 671          * indicators in text (squiggly lines).
 
 673          * Value is of type <code>Boolean</code>.
 
 676         // public final static String EDITOR_PROBLEM_INDICATION =
 
 677         // "problemIndication"; //$NON-NLS-1$
 
 679          * A named preference that holds the color used to render problem
 
 682          * Value is of type <code>String</code>. A RGB color value encoded as a
 
 683          * string using class <code>PreferenceConverter</code>
 
 686          * @see #EDITOR_PROBLEM_INDICATION
 
 687          * @see org.eclipse.jface.resource.StringConverter
 
 688          * @see org.eclipse.jface.preference.PreferenceConverter
 
 690         // public final static String EDITOR_PROBLEM_INDICATION_COLOR =
 
 691         // "problemIndicationColor"; //$NON-NLS-1$
 
 693          * PreferenceConstants.EDITOR_PROBLEM_INDICATION_COLOR; A named preference
 
 694          * that controls whether the editor shows warning indicators in text
 
 697          * Value is of type <code>Boolean</code>.
 
 700         // public final static String EDITOR_WARNING_INDICATION =
 
 701         // "warningIndication"; //$NON-NLS-1$
 
 703          * A named preference that holds the color used to render warning
 
 706          * Value is of type <code>String</code>. A RGB color value encoded as a
 
 707          * string using class <code>PreferenceConverter</code>
 
 710          * @see #EDITOR_WARNING_INDICATION
 
 711          * @see org.eclipse.jface.resource.StringConverter
 
 712          * @see org.eclipse.jface.preference.PreferenceConverter
 
 714         // public final static String EDITOR_WARNING_INDICATION_COLOR =
 
 715         // "warningIndicationColor"; //$NON-NLS-1$
 
 717          * A named preference that controls whether the editor shows task indicators
 
 718          * in text (squiggly lines).
 
 720          * Value is of type <code>Boolean</code>.
 
 723         public final static String EDITOR_TASK_INDICATION = "taskIndication"; //$NON-NLS-1$
 
 726          * A named preference that holds the color used to render task indicators.
 
 728          * Value is of type <code>String</code>. A RGB color value encoded as a
 
 729          * string using class <code>PreferenceConverter</code>
 
 732          * @see #EDITOR_TASK_INDICATION
 
 733          * @see org.eclipse.jface.resource.StringConverter
 
 734          * @see org.eclipse.jface.preference.PreferenceConverter
 
 736         public final static String EDITOR_TASK_INDICATION_COLOR = "taskIndicationColor"; //$NON-NLS-1$
 
 739          * A named preference that controls whether the editor shows bookmark
 
 740          * indicators in text (squiggly lines).
 
 742          * Value is of type <code>Boolean</code>.
 
 747         public final static String EDITOR_BOOKMARK_INDICATION = "bookmarkIndication"; //$NON-NLS-1$
 
 750          * A named preference that holds the color used to render bookmark
 
 753          * Value is of type <code>String</code>. A RGB color value encoded as a
 
 754          * string using class <code>PreferenceConverter</code>
 
 757          * @see #EDITOR_BOOKMARK_INDICATION
 
 758          * @see org.eclipse.jface.resource.StringConverter
 
 759          * @see org.eclipse.jface.preference.PreferenceConverter
 
 762         public final static String EDITOR_BOOKMARK_INDICATION_COLOR = "bookmarkIndicationColor"; //$NON-NLS-1$
 
 765          * A named preference that controls whether the editor shows search
 
 766          * indicators in text (squiggly lines).
 
 768          * Value is of type <code>Boolean</code>.
 
 773         public final static String EDITOR_SEARCH_RESULT_INDICATION = "searchResultIndication"; //$NON-NLS-1$
 
 776          * A named preference that holds the color used to render search indicators.
 
 778          * Value is of type <code>String</code>. A RGB color value encoded as a
 
 779          * string using class <code>PreferenceConverter</code>
 
 782          * @see #EDITOR_SEARCH_RESULT_INDICATION
 
 783          * @see org.eclipse.jface.resource.StringConverter
 
 784          * @see org.eclipse.jface.preference.PreferenceConverter
 
 787         public final static String EDITOR_SEARCH_RESULT_INDICATION_COLOR = "searchResultIndicationColor"; //$NON-NLS-1$
 
 790          * A named preference that controls whether the editor shows unknown
 
 791          * indicators in text (squiggly lines).
 
 793          * Value is of type <code>Boolean</code>.
 
 798         public final static String EDITOR_UNKNOWN_INDICATION = "othersIndication"; //$NON-NLS-1$
 
 801          * A named preference that holds the color used to render unknown
 
 804          * Value is of type <code>String</code>. A RGB color value encoded as a
 
 805          * string using class <code>PreferenceConverter</code>
 
 808          * @see #EDITOR_UNKNOWN_INDICATION
 
 809          * @see org.eclipse.jface.resource.StringConverter
 
 810          * @see org.eclipse.jface.preference.PreferenceConverter
 
 813         public final static String EDITOR_UNKNOWN_INDICATION_COLOR = "othersIndicationColor"; //$NON-NLS-1$
 
 816          * A named preference that controls whether the overview ruler shows error
 
 819          * Value is of type <code>Boolean</code>.
 
 824         public final static String EDITOR_ERROR_INDICATION_IN_OVERVIEW_RULER = "errorIndicationInOverviewRuler"; //$NON-NLS-1$
 
 827          * A named preference that controls whether the overview ruler shows warning
 
 830          * Value is of type <code>Boolean</code>.
 
 835         public final static String EDITOR_WARNING_INDICATION_IN_OVERVIEW_RULER = "warningIndicationInOverviewRuler"; //$NON-NLS-1$
 
 838          * A named preference that controls whether the overview ruler shows task
 
 841          * Value is of type <code>Boolean</code>.
 
 846         public final static String EDITOR_TASK_INDICATION_IN_OVERVIEW_RULER = "taskIndicationInOverviewRuler"; //$NON-NLS-1$
 
 849          * A named preference that controls whether the overview ruler shows
 
 850          * bookmark indicators.
 
 852          * Value is of type <code>Boolean</code>.
 
 857         public final static String EDITOR_BOOKMARK_INDICATION_IN_OVERVIEW_RULER = "bookmarkIndicationInOverviewRuler"; //$NON-NLS-1$
 
 860          * A named preference that controls whether the overview ruler shows search
 
 863          * Value is of type <code>Boolean</code>.
 
 868         public final static String EDITOR_SEARCH_RESULT_INDICATION_IN_OVERVIEW_RULER = "searchResultIndicationInOverviewRuler"; //$NON-NLS-1$
 
 871          * A named preference that controls whether the overview ruler shows unknown
 
 874          * Value is of type <code>Boolean</code>.
 
 879         public final static String EDITOR_UNKNOWN_INDICATION_IN_OVERVIEW_RULER = "othersIndicationInOverviewRuler"; //$NON-NLS-1$
 
 882          * A named preference that controls whether the 'close strings' feature is
 
 883          * enabled in PHP mode
 
 885          * Value is of type <code>Boolean</code>.
 
 888         public final static String EDITOR_CLOSE_STRINGS_DQ_PHP = "closeStringsPHPDQ"; //$NON-NLS-1$
 
 891          * A named preference that controls whether the 'close strings' feature is
 
 892          * enabled in PHP mode
 
 894          * Value is of type <code>Boolean</code>.
 
 897         public final static String EDITOR_CLOSE_STRINGS_SQ_PHP = "closeStringsPHPSQ"; //$NON-NLS-1$
 
 900          * A named preference that controls whether the 'close brackets' feature is
 
 901          * enabled in PHP mode
 
 903          * Value is of type <code>Boolean</code>.
 
 908         public final static String EDITOR_CLOSE_BRACKETS_PHP = "closeBracketsPHP"; //$NON-NLS-1$
 
 911          * A named preference that controls whether the 'wrap words' feature is
 
 914          * Value is of type <code>Boolean</code>.
 
 919         public final static String EDITOR_WRAP_WORDS = "wrapWords"; //$NON-NLS-1$
 
 922          * A named preference that controls whether the 'wrap strings' feature is
 
 925          * Value is of type <code>Boolean</code>.
 
 930         public final static String EDITOR_WRAP_STRINGS_DQ = "wrapStringsDQ"; //$NON-NLS-1$
 
 933          * A named preference that controls whether the 'escape strings' feature is
 
 936          * Value is of type <code>Boolean</code>.
 
 941         public final static String EDITOR_ESCAPE_STRINGS_DQ = "escapeStringsDQ"; //$NON-NLS-1$
 
 944          * A named preference that controls whether the 'wrap strings' feature is
 
 947          * Value is of type <code>Boolean</code>.
 
 952         public final static String EDITOR_WRAP_STRINGS_SQ = "wrapStringsSQ"; //$NON-NLS-1$
 
 955          * A named preference that controls whether the 'escape strings' feature is
 
 958          * Value is of type <code>Boolean</code>.
 
 963         public final static String EDITOR_ESCAPE_STRINGS_SQ = "escapeStringsSQ"; //$NON-NLS-1$
 
 966          * A named preference that controls if content assist inserts the common
 
 967          * prefix of all proposals before presenting choices.
 
 969          * Value is of type <code>Boolean</code>.
 
 974         public final static String CODEASSIST_PREFIX_COMPLETION = "content_assist_prefix_completion"; //$NON-NLS-1$
 
 977          * A named preference that controls whether the 'close braces' feature is
 
 980          * Value is of type <code>Boolean</code>.
 
 985         public final static String EDITOR_CLOSE_BRACES = "closeBraces"; //$NON-NLS-1$
 
 988          * A named preference that controls whether the 'close php docs' feature is
 
 991          * Value is of type <code>Boolean</code>.
 
 996         public final static String EDITOR_CLOSE_JAVADOCS = "closeJavaDocs"; //$NON-NLS-1$
 
 999          * A named preference that controls whether the 'add JavaDoc tags' feature
 
1002          * Value is of type <code>Boolean</code>.
 
1007         public final static String EDITOR_ADD_JAVADOC_TAGS = "addJavaDocTags"; //$NON-NLS-1$
 
1010          * A named preference that controls whether the 'format Javadoc tags'
 
1011          * feature is enabled.
 
1013          * Value is of type <code>Boolean</code>.
 
1018         public final static String EDITOR_FORMAT_JAVADOCS = "formatJavaDocs"; //$NON-NLS-1$
 
1021          * A named preference that controls whether the 'smart paste' feature is
 
1024          * Value is of type <code>Boolean</code>.
 
1029         public final static String EDITOR_SMART_PASTE = "smartPaste"; //$NON-NLS-1$
 
1032          * A named preference that controls whether the 'close strings' feature is
 
1033          * enabled in HTML mode
 
1035          * Value is of type <code>Boolean</code>.
 
1040         public final static String EDITOR_CLOSE_STRINGS_HTML = "closeStringsHTML"; //$NON-NLS-1$
 
1043          * A named preference that controls whether the 'close brackets' feature is
 
1044          * enabled in HTML mode
 
1046          * Value is of type <code>Boolean</code>.
 
1051         public final static String EDITOR_CLOSE_BRACKETS_HTML = "closeBracketsHTML"; //$NON-NLS-1$
 
1054          * A named preference that controls whether the 'smart home-end' feature is
 
1057          * Value is of type <code>Boolean</code>.
 
1062         public final static String EDITOR_SMART_HOME_END = AbstractTextEditor.PREFERENCE_NAVIGATION_SMART_HOME_END;
 
1065          * A named preference that controls whether the 'sub-word navigation'
 
1066          * feature is enabled.
 
1068          * Value is of type <code>Boolean</code>.
 
1073         public final static String EDITOR_SUB_WORD_NAVIGATION = "subWordNavigation"; //$NON-NLS-1$
 
1076          * A named preference that controls if temporary problems are evaluated and
 
1079          * Value is of type <code>Boolean</code>.
 
1082         public final static String EDITOR_EVALUTE_TEMPORARY_PROBLEMS = "handleTemporaryProblems"; //$NON-NLS-1$
 
1085          * A named preference that controls if the overview ruler is shown in the
 
1088          * Value is of type <code>Boolean</code>.
 
1091         public final static String EDITOR_OVERVIEW_RULER = "overviewRuler"; //$NON-NLS-1$
 
1094          * A named preference that holds the color used to render linked positions
 
1095          * inside code templates.
 
1097          * Value is of type <code>String</code>. A RGB color value encoded as a
 
1098          * string using class <code>PreferenceConverter</code>
 
1101          * @see org.eclipse.jface.resource.StringConverter
 
1102          * @see org.eclipse.jface.preference.PreferenceConverter
 
1104         public final static String EDITOR_LINKED_POSITION_COLOR = "linkedPositionColor"; //$NON-NLS-1$
 
1107          * A named preference that holds the color used as the text foreground.
 
1109          * Value is of type <code>String</code>. A RGB color value encoded as a
 
1110          * string using class <code>PreferenceConverter</code>
 
1113          * @see org.eclipse.jface.resource.StringConverter
 
1114          * @see org.eclipse.jface.preference.PreferenceConverter
 
1116         public final static String EDITOR_FOREGROUND_COLOR = AbstractTextEditor.PREFERENCE_COLOR_FOREGROUND;
 
1119          * A named preference that describes if the system default foreground color
 
1120          * is used as the text foreground.
 
1122          * Value is of type <code>Boolean</code>.
 
1125         public final static String EDITOR_FOREGROUND_DEFAULT_COLOR = AbstractTextEditor.PREFERENCE_COLOR_FOREGROUND_SYSTEM_DEFAULT;
 
1128          * A named preference that holds the color used as the text background.
 
1130          * Value is of type <code>String</code>. A RGB color value encoded as a
 
1131          * string using class <code>PreferenceConverter</code>
 
1134          * @see org.eclipse.jface.resource.StringConverter
 
1135          * @see org.eclipse.jface.preference.PreferenceConverter
 
1137         public final static String EDITOR_BACKGROUND_COLOR = AbstractTextEditor.PREFERENCE_COLOR_BACKGROUND;
 
1140          * A named preference that describes if the system default background color
 
1141          * is used as the text foreground.
 
1143          * Value is of type <code>Boolean</code>.
 
1146         public final static String EDITOR_BACKGROUND_DEFAULT_COLOR = AbstractTextEditor.PREFERENCE_COLOR_BACKGROUND_SYSTEM_DEFAULT;
 
1149          * Preference key suffix for bold text style preference keys.
 
1151         public static final String EDITOR_BOLD_SUFFIX = "_bold"; //$NON-NLS-1$
 
1154          * Preference key suffix for bold text style preference keys.
 
1156         public static final String EDITOR_ITALIC_SUFFIX = "_italic"; //$NON-NLS-1$
 
1159          * Preference key suffix for bold text style preference keys.
 
1161         public static final String EDITOR_UNDERLINE_SUFFIX = "_underline"; //$NON-NLS-1$
 
1164          * Preference key suffix for bold text style preference keys.
 
1166         public static final String EDITOR_STRIKETHROUGH_SUFFIX = "_strikethrough"; //$NON-NLS-1$
 
1169          * A named preference that holds the color used to render multi line
 
1172          * Value is of type <code>String</code>. A RGB color value encoded as a
 
1173          * string using class <code>PreferenceConverter</code>
 
1176          * @see org.eclipse.jface.resource.StringConverter
 
1177          * @see org.eclipse.jface.preference.PreferenceConverter
 
1179         public final static String EDITOR_MULTI_LINE_COMMENT_COLOR = IPreferenceConstants.PHP_MULTILINE_COMMENT;
 
1182          * The symbolic font name for the Java editor text font (value
 
1183          * <code>"net.sourceforge.phpdt.ui.editors.textfont"</code>).
 
1187         public final static String EDITOR_TEXT_FONT = "net.sourceforge.phpdt.ui.editors.textfont"; //$NON-NLS-1$
 
1190          * A named preference that controls whether multi line comments are rendered
 
1193          * Value is of type <code>Boolean</code>. If <code>true</code> multi
 
1194          * line comments are rendered in bold. If <code>false</code> the are
 
1195          * rendered using no font style attribute.
 
1198         public final static String EDITOR_MULTI_LINE_COMMENT_BOLD          = IPreferenceConstants.PHP_MULTILINE_COMMENT + EDITOR_BOLD_SUFFIX;
 
1199         public final static String EDITOR_MULTI_LINE_COMMENT_ITALIC        = IPreferenceConstants.PHP_MULTILINE_COMMENT + EDITOR_ITALIC_SUFFIX;
 
1200         public final static String EDITOR_MULTI_LINE_COMMENT_UNDERLINE     = IPreferenceConstants.PHP_MULTILINE_COMMENT + EDITOR_UNDERLINE_SUFFIX;
 
1201         public final static String EDITOR_MULTI_LINE_COMMENT_STRIKETHROUGH = IPreferenceConstants.PHP_MULTILINE_COMMENT + EDITOR_STRIKETHROUGH_SUFFIX;
 
1204          * A named preference that holds the color used to render single line
 
1207          * Value is of type <code>String</code>. A RGB color value encoded as a
 
1208          * string using class <code>PreferenceConverter</code>
 
1211          * @see org.eclipse.jface.resource.StringConverter
 
1212          * @see org.eclipse.jface.preference.PreferenceConverter
 
1214         public final static String EDITOR_SINGLE_LINE_COMMENT_COLOR = IPreferenceConstants.PHP_SINGLELINE_COMMENT;
 
1217          * A named preference that controls whether single line comments are rendered
 
1220          * Value is of type <code>Boolean</code>. If <code>true</code> single
 
1221          * line comments are rendered in bold. If <code>false</code> the are
 
1222          * rendered using no font style attribute.
 
1225         public final static String EDITOR_SINGLE_LINE_COMMENT_BOLD          = IPreferenceConstants.PHP_SINGLELINE_COMMENT + EDITOR_BOLD_SUFFIX;
 
1226         public final static String EDITOR_SINGLE_LINE_COMMENT_ITALIC        = IPreferenceConstants.PHP_SINGLELINE_COMMENT + EDITOR_ITALIC_SUFFIX;
 
1227         public final static String EDITOR_SINGLE_LINE_COMMENT_UNDERLINE     = IPreferenceConstants.PHP_SINGLELINE_COMMENT + EDITOR_UNDERLINE_SUFFIX;
 
1228         public final static String EDITOR_SINGLE_LINE_COMMENT_STRIKETHROUGH = IPreferenceConstants.PHP_SINGLELINE_COMMENT + EDITOR_STRIKETHROUGH_SUFFIX;
 
1231          * A named preference that holds the color used to render operators and
 
1234          * Value is of type <code>String</code>. A RGB color value encoded as a
 
1235          * string using class <code>PreferenceConverter</code>
 
1238          * @see org.eclipse.jface.resource.StringConverter
 
1239          * @see org.eclipse.jface.preference.PreferenceConverter
 
1242         public final static String EDITOR_PHP_OPERATOR_COLOR = IPreferenceConstants.PHP_OPERATOR;
 
1245          * A named preference that controls whether operators and brackets are
 
1248          * Value is of type <code>Boolean</code>.
 
1253         public final static String EDITOR_PHP_OPERATOR_BOLD          = IPreferenceConstants.PHP_OPERATOR + EDITOR_BOLD_SUFFIX;
 
1254         public final static String EDITOR_PHP_OPERATOR_ITALIC        = IPreferenceConstants.PHP_OPERATOR + EDITOR_ITALIC_SUFFIX;
 
1255         public final static String EDITOR_PHP_OPERATOR_UNDERLINE     = IPreferenceConstants.PHP_OPERATOR + EDITOR_UNDERLINE_SUFFIX;
 
1256         public final static String EDITOR_PHP_OPERATOR_STRIKETHROUGH = IPreferenceConstants.PHP_OPERATOR + EDITOR_STRIKETHROUGH_SUFFIX;
 
1259          * A named preference that holds the color used to render operators and
 
1262          * Value is of type <code>String</code>. A RGB color value encoded as a
 
1263          * string using class <code>PreferenceConverter</code>
 
1266          * @see org.eclipse.jface.resource.StringConverter
 
1267          * @see org.eclipse.jface.preference.PreferenceConverter
 
1270         public final static String EDITOR_PHP_BRACE_OPERATOR_COLOR = IPreferenceConstants.PHP_BRACE_OPERATOR;
 
1273          * A named preference that controls whether operators and brackets are
 
1276          * Value is of type <code>Boolean</code>.
 
1281         public final static String EDITOR_PHP_BRACE_OPERATOR_BOLD          = IPreferenceConstants.PHP_BRACE_OPERATOR + EDITOR_BOLD_SUFFIX;
 
1282         public final static String EDITOR_PHP_BRACE_OPERATOR_ITALIC        = IPreferenceConstants.PHP_BRACE_OPERATOR + EDITOR_ITALIC_SUFFIX;
 
1283         public final static String EDITOR_PHP_BRACE_OPERATOR_UNDERLINE     = IPreferenceConstants.PHP_BRACE_OPERATOR + EDITOR_UNDERLINE_SUFFIX;
 
1284         public final static String EDITOR_PHP_BRACE_OPERATOR_STRIKETHROUGH = IPreferenceConstants.PHP_BRACE_OPERATOR + EDITOR_STRIKETHROUGH_SUFFIX;
 
1287          * A named preference that holds the color used to render the 'return'
 
1290          * Value is of type <code>String</code>. A RGB color value encoded as a
 
1291          * string using class <code>PreferenceConverter</code>
 
1294          * @see org.eclipse.jface.resource.StringConverter
 
1295          * @see org.eclipse.jface.preference.PreferenceConverter
 
1298         public final static String EDITOR_PHP_KEYWORD_RETURN_COLOR = IPreferenceConstants.PHP_KEYWORD_RETURN;
 
1301          * A named preference that controls whether 'return' keyword is rendered in
 
1304          * Value is of type <code>Boolean</code>.
 
1309         public final static String EDITOR_PHP_KEYWORD_RETURN_BOLD          = IPreferenceConstants.PHP_KEYWORD_RETURN + EDITOR_BOLD_SUFFIX;
 
1310         public final static String EDITOR_PHP_KEYWORD_RETURN_ITALIC        = IPreferenceConstants.PHP_KEYWORD_RETURN + EDITOR_ITALIC_SUFFIX;
 
1311         public final static String EDITOR_PHP_KEYWORD_RETURN_UNDERLINE     = IPreferenceConstants.PHP_KEYWORD_RETURN + EDITOR_UNDERLINE_SUFFIX;
 
1312         public final static String EDITOR_PHP_KEYWORD_RETURN_STRIKETHROUGH = IPreferenceConstants.PHP_KEYWORD_RETURN + EDITOR_STRIKETHROUGH_SUFFIX;
 
1315          * A named preference that holds the color used to render php start and stop
 
1318          * Value is of type <code>String</code>. A RGB color value encoded as a
 
1319          * string using class <code>PreferenceConverter</code>
 
1322          * @see org.eclipse.jface.resource.StringConverter
 
1323          * @see org.eclipse.jface.preference.PreferenceConverter
 
1325         public final static String EDITOR_PHP_TAG_COLOR = IPreferenceConstants.PHP_TAG;
 
1328          * A named preference that controls whether php start and stop tags are
 
1331          * Value is of type <code>Boolean</code>.
 
1334         public final static String EDITOR_PHP_TAG_BOLD          = IPreferenceConstants.PHP_TAG + EDITOR_BOLD_SUFFIX;
 
1335         public final static String EDITOR_PHP_TAG_ITALIC        = IPreferenceConstants.PHP_TAG + EDITOR_ITALIC_SUFFIX;
 
1336         public final static String EDITOR_PHP_TAG_UNDERLINE     = IPreferenceConstants.PHP_TAG + EDITOR_UNDERLINE_SUFFIX;
 
1337         public final static String EDITOR_PHP_TAG_STRIKETHROUGH = IPreferenceConstants.PHP_TAG + EDITOR_STRIKETHROUGH_SUFFIX;
 
1340          * A named preference that holds the color used to render php keywords.
 
1342          * Value is of type <code>String</code>. A RGB color value encoded as a
 
1343          * string using class <code>PreferenceConverter</code>
 
1346          * @see org.eclipse.jface.resource.StringConverter
 
1347          * @see org.eclipse.jface.preference.PreferenceConverter
 
1349         public final static String EDITOR_JAVA_KEYWORD_COLOR = IPreferenceConstants.PHP_KEYWORD;
 
1352          * A named preference that controls whether keywords are rendered in bold.
 
1354          * Value is of type <code>Boolean</code>.
 
1357         public final static String EDITOR_JAVA_KEYWORD_BOLD          = IPreferenceConstants.PHP_KEYWORD + EDITOR_BOLD_SUFFIX;
 
1358         public final static String EDITOR_JAVA_KEYWORD_ITALIC        = IPreferenceConstants.PHP_KEYWORD + EDITOR_ITALIC_SUFFIX;
 
1359         public final static String EDITOR_JAVA_KEYWORD_UNDERLINE     = IPreferenceConstants.PHP_KEYWORD + EDITOR_UNDERLINE_SUFFIX;
 
1360         public final static String EDITOR_JAVA_KEYWORD_STRIKETHROUGH = IPreferenceConstants.PHP_KEYWORD + EDITOR_STRIKETHROUGH_SUFFIX;
 
1363          * A named preference that holds the color used to render predefined php
 
1366          * Value is of type <code>String</code>. A RGB color value encoded as a
 
1367          * string using class <code>PreferenceConverter</code>
 
1370          * @see org.eclipse.jface.resource.StringConverter
 
1371          * @see org.eclipse.jface.preference.PreferenceConverter
 
1373         public final static String EDITOR_PHP_FUNCTIONNAME_COLOR = IPreferenceConstants.PHP_FUNCTIONNAME;
 
1376          * A named preference that controls whether function names are rendered in
 
1379          * Value is of type <code>Boolean</code>.
 
1382         public final static String EDITOR_PHP_FUNCTIONNAME_BOLD          = IPreferenceConstants.PHP_FUNCTIONNAME + EDITOR_BOLD_SUFFIX;
 
1383         public final static String EDITOR_PHP_FUNCTIONNAME_ITALIC        = IPreferenceConstants.PHP_FUNCTIONNAME + EDITOR_ITALIC_SUFFIX;
 
1384         public final static String EDITOR_PHP_FUNCTIONNAME_UNDERLINE     = IPreferenceConstants.PHP_FUNCTIONNAME + EDITOR_UNDERLINE_SUFFIX;
 
1385         public final static String EDITOR_PHP_FUNCTIONNAME_STRIKETHROUGH = IPreferenceConstants.PHP_FUNCTIONNAME + EDITOR_STRIKETHROUGH_SUFFIX;
 
1388          * A named preference that holds the color used to render php variables with
 
1391          * Value is of type <code>String</code>. A RGB color value encoded as a
 
1392          * string using class <code>PreferenceConverter</code>
 
1395          * @see org.eclipse.jface.resource.StringConverter
 
1396          * @see org.eclipse.jface.preference.PreferenceConverter
 
1398         public final static String EDITOR_PHP_VARIABLE_DOLLAR_COLOR = IPreferenceConstants.PHP_VARIABLE_DOLLAR;
 
1401          * A named preference that controls whether variables with prefix '$_' are
 
1404          * Value is of type <code>Boolean</code>.
 
1407         public final static String EDITOR_PHP_VARIABLE_DOLLAR_BOLD          = IPreferenceConstants.PHP_VARIABLE_DOLLAR + EDITOR_BOLD_SUFFIX;
 
1408         public final static String EDITOR_PHP_VARIABLE_DOLLAR_ITALIC        = IPreferenceConstants.PHP_VARIABLE_DOLLAR + EDITOR_ITALIC_SUFFIX;
 
1409         public final static String EDITOR_PHP_VARIABLE_DOLLAR_UNDERLINE     = IPreferenceConstants.PHP_VARIABLE_DOLLAR + EDITOR_UNDERLINE_SUFFIX;
 
1410         public final static String EDITOR_PHP_VARIABLE_DOLLAR_STRIKETHROUGH = IPreferenceConstants.PHP_VARIABLE_DOLLAR + EDITOR_STRIKETHROUGH_SUFFIX;
 
1413          * A named preference that holds the color used to render php variables.
 
1415          * Value is of type <code>String</code>. A RGB color value encoded as a
 
1416          * string using class <code>PreferenceConverter</code>
 
1419          * @see org.eclipse.jface.resource.StringConverter
 
1420          * @see org.eclipse.jface.preference.PreferenceConverter
 
1422         public final static String EDITOR_PHP_VARIABLE_COLOR = IPreferenceConstants.PHP_VARIABLE;
 
1425          * A named preference that controls whether variables are rendered in bold.
 
1427          * Value is of type <code>Boolean</code>.
 
1430         public final static String EDITOR_PHP_VARIABLE_BOLD          = IPreferenceConstants.PHP_VARIABLE + EDITOR_BOLD_SUFFIX;
 
1431         public final static String EDITOR_PHP_VARIABLE_ITALIC        = IPreferenceConstants.PHP_VARIABLE + EDITOR_ITALIC_SUFFIX;
 
1432         public final static String EDITOR_PHP_VARIABLE_UNDERLINE     = IPreferenceConstants.PHP_VARIABLE + EDITOR_UNDERLINE_SUFFIX;
 
1433         public final static String EDITOR_PHP_VARIABLE_STRIKETHROUGH = IPreferenceConstants.PHP_VARIABLE + EDITOR_STRIKETHROUGH_SUFFIX;
 
1436          * A named preference that holds the color used to render php constants.
 
1438          * Value is of type <code>String</code>. A RGB color value encoded as a
 
1439          * string using class <code>PreferenceConverter</code>
 
1442          * @see org.eclipse.jface.resource.StringConverter
 
1443          * @see org.eclipse.jface.preference.PreferenceConverter
 
1445         public final static String EDITOR_PHP_CONSTANT_COLOR = IPreferenceConstants.PHP_CONSTANT;
 
1448          * A named preference that controls whether constants are rendered in bold.
 
1450          * Value is of type <code>Boolean</code>.
 
1453         public final static String EDITOR_PHP_CONSTANT_BOLD          = IPreferenceConstants.PHP_CONSTANT + EDITOR_BOLD_SUFFIX;
 
1454         public final static String EDITOR_PHP_CONSTANT_ITALIC        = IPreferenceConstants.PHP_CONSTANT + EDITOR_ITALIC_SUFFIX;
 
1455         public final static String EDITOR_PHP_CONSTANT_UNDERLINE     = IPreferenceConstants.PHP_CONSTANT + EDITOR_UNDERLINE_SUFFIX;
 
1456         public final static String EDITOR_PHP_CONSTANT_STRIKETHROUGH = IPreferenceConstants.PHP_CONSTANT + EDITOR_STRIKETHROUGH_SUFFIX;
 
1459          * A named preference that holds the color used to render php types.
 
1461          * Value is of type <code>String</code>. A RGB color value encoded as a
 
1462          * string using class <code>PreferenceConverter</code>
 
1465          * @see org.eclipse.jface.resource.StringConverter
 
1466          * @see org.eclipse.jface.preference.PreferenceConverter
 
1468         public final static String EDITOR_PHP_TYPE_COLOR = IPreferenceConstants.PHP_TYPE;
 
1471          * A named preference that controls whether types are rendered in bold.
 
1473          * Value is of type <code>Boolean</code>.
 
1476         public final static String EDITOR_PHP_TYPE_BOLD          = IPreferenceConstants.PHP_TYPE + EDITOR_BOLD_SUFFIX;
 
1477         public final static String EDITOR_PHP_TYPE_ITALIC        = IPreferenceConstants.PHP_TYPE + EDITOR_ITALIC_SUFFIX;
 
1478         public final static String EDITOR_PHP_TYPE_UNDERLINE     = IPreferenceConstants.PHP_TYPE + EDITOR_UNDERLINE_SUFFIX;
 
1479         public final static String EDITOR_PHP_TYPE_STRIKETHROUGH = IPreferenceConstants.PHP_TYPE + EDITOR_STRIKETHROUGH_SUFFIX;
 
1482          * A named preference that holds the color used to render string constants.
 
1484          * Value is of type <code>String</code>. A RGB color value encoded as a
 
1485          * string using class <code>PreferenceConverter</code>
 
1488          * @see org.eclipse.jface.resource.StringConverter
 
1489          * @see org.eclipse.jface.preference.PreferenceConverter
 
1491         public final static String EDITOR_STRING_COLOR_DQ = IPreferenceConstants.PHP_STRING_DQ;
 
1494          * A named preference that controls whether string constants are rendered in
 
1497          * Value is of type <code>Boolean</code>.
 
1500         public final static String EDITOR_STRING_BOLD_DQ          = IPreferenceConstants.PHP_STRING_DQ + EDITOR_BOLD_SUFFIX;
 
1501         public final static String EDITOR_STRING_ITALIC_DQ        = IPreferenceConstants.PHP_STRING_DQ + EDITOR_ITALIC_SUFFIX;
 
1502         public final static String EDITOR_STRING_UNDERLINE_DQ     = IPreferenceConstants.PHP_STRING_DQ + EDITOR_UNDERLINE_SUFFIX;
 
1503         public final static String EDITOR_STRING_STRIKETHROUGH_DQ = IPreferenceConstants.PHP_STRING_DQ + EDITOR_STRIKETHROUGH_SUFFIX;
 
1505         public final static String EDITOR_STRING_COLOR_SQ = IPreferenceConstants.PHP_STRING_SQ;
 
1508          * A named preference that controls whether string constants are rendered in
 
1511          * Value is of type <code>Boolean</code>.
 
1514         public final static String EDITOR_STRING_BOLD_SQ          = IPreferenceConstants.PHP_STRING_SQ + EDITOR_BOLD_SUFFIX;
 
1515         public final static String EDITOR_STRING_ITALIC_SQ        = IPreferenceConstants.PHP_STRING_SQ + EDITOR_ITALIC_SUFFIX;
 
1516         public final static String EDITOR_STRING_UNDERLINE_SQ     = IPreferenceConstants.PHP_STRING_SQ + EDITOR_UNDERLINE_SUFFIX;
 
1517         public final static String EDITOR_STRING_STRIKETHROUGH_SQ = IPreferenceConstants.PHP_STRING_SQ + EDITOR_STRIKETHROUGH_SUFFIX;
 
1520          * A named preference that holds the color used to render php default text.
 
1522          * Value is of type <code>String</code>. A RGB color value encoded as a
 
1523          * string using class <code>PreferenceConverter</code>
 
1526          * @see org.eclipse.jface.resource.StringConverter
 
1527          * @see org.eclipse.jface.preference.PreferenceConverter
 
1529         public final static String EDITOR_JAVA_DEFAULT_COLOR = IPreferenceConstants.PHP_DEFAULT;
 
1532          * A named preference that controls whether Java default text is rendered in
 
1535          * Value is of type <code>Boolean</code>.
 
1538         public final static String EDITOR_JAVA_DEFAULT_BOLD          = IPreferenceConstants.PHP_DEFAULT + EDITOR_BOLD_SUFFIX;
 
1539         public final static String EDITOR_JAVA_DEFAULT_ITALIC        = IPreferenceConstants.PHP_DEFAULT + EDITOR_ITALIC_SUFFIX;
 
1540         public final static String EDITOR_JAVA_DEFAULT_UNDERLINE     = IPreferenceConstants.PHP_DEFAULT + EDITOR_UNDERLINE_SUFFIX;
 
1541         public final static String EDITOR_JAVA_DEFAULT_STRIKETHROUGH = IPreferenceConstants.PHP_DEFAULT + EDITOR_STRIKETHROUGH_SUFFIX;
 
1544          * A named preference that holds the color used to render task tags.
 
1546          * Value is of type <code>String</code>. A RGB color value encoded as a
 
1547          * string using class <code>PreferenceConverter</code>
 
1550          * @see org.eclipse.jface.resource.StringConverter
 
1551          * @see org.eclipse.jface.preference.PreferenceConverter
 
1554         public final static String EDITOR_TASK_TAG_COLOR = IPreferenceConstants.TASK_TAG;
 
1557          * A named preference that controls whether task tags are rendered in bold.
 
1559          * Value is of type <code>Boolean</code>.
 
1564         public final static String EDITOR_TASK_TAG_BOLD          = IPreferenceConstants.TASK_TAG + EDITOR_BOLD_SUFFIX;
 
1565         public final static String EDITOR_TASK_TAG_ITALIC        = IPreferenceConstants.TASK_TAG + EDITOR_ITALIC_SUFFIX;
 
1566         public final static String EDITOR_TASK_TAG_UNDERLINE     = IPreferenceConstants.TASK_TAG + EDITOR_UNDERLINE_SUFFIX;
 
1567         public final static String EDITOR_TASK_TAG_STRIKETHROUGH = IPreferenceConstants.TASK_TAG + EDITOR_STRIKETHROUGH_SUFFIX;
 
1570          * A named preference that holds the color used to render phpdoc keywords.
 
1572          * Value is of type <code>String</code>. A RGB color value encoded as a
 
1573          * string using class <code>PreferenceConverter</code>
 
1576          * @see org.eclipse.jface.resource.StringConverter
 
1577          * @see org.eclipse.jface.preference.PreferenceConverter
 
1579         public final static String EDITOR_JAVADOC_KEYWORD_COLOR = IPreferenceConstants.PHPDOC_KEYWORD;
 
1582          * A named preference that controls whether phpdoc keywords are rendered in
 
1585          * Value is of type <code>Boolean</code>.
 
1588         public final static String EDITOR_JAVADOC_KEYWORD_BOLD          = IPreferenceConstants.PHPDOC_KEYWORD + EDITOR_BOLD_SUFFIX;
 
1589         public final static String EDITOR_JAVADOC_KEYWORD_ITALIC        = IPreferenceConstants.PHPDOC_KEYWORD + EDITOR_ITALIC_SUFFIX;
 
1590         public final static String EDITOR_JAVADOC_KEYWORD_UNDERLINE     = IPreferenceConstants.PHPDOC_KEYWORD + EDITOR_UNDERLINE_SUFFIX;
 
1591         public final static String EDITOR_JAVADOC_KEYWORD_STRIKETHROUGH = IPreferenceConstants.PHPDOC_KEYWORD + EDITOR_STRIKETHROUGH_SUFFIX;
 
1594          * A named preference that holds the color used to render phpdoc tags.
 
1596          * Value is of type <code>String</code>. A RGB color value encoded as a
 
1597          * string using class <code>PreferenceConverter</code>
 
1600          * @see org.eclipse.jface.resource.StringConverter
 
1601          * @see org.eclipse.jface.preference.PreferenceConverter
 
1603         public final static String EDITOR_JAVADOC_TAG_COLOR = IPreferenceConstants.PHPDOC_TAG;
 
1606          * A named preference that controls whether phpdoc tags are rendered in
 
1609          * Value is of type <code>Boolean</code>.
 
1612         public final static String EDITOR_JAVADOC_TAG_BOLD          = IPreferenceConstants.PHPDOC_TAG + EDITOR_BOLD_SUFFIX;
 
1613         public final static String EDITOR_JAVADOC_TAG_ITALIC        = IPreferenceConstants.PHPDOC_TAG + EDITOR_ITALIC_SUFFIX;
 
1614         public final static String EDITOR_JAVADOC_TAG_UNDERLINE     = IPreferenceConstants.PHPDOC_TAG + EDITOR_UNDERLINE_SUFFIX;
 
1615         public final static String EDITOR_JAVADOC_TAG_STRIKETHROUGH = IPreferenceConstants.PHPDOC_TAG + EDITOR_STRIKETHROUGH_SUFFIX;
 
1618          * A named preference that holds the color used to render phpdoc links.
 
1620          * Value is of type <code>String</code>. A RGB color value encoded as a
 
1621          * string using class <code>PreferenceConverter</code>
 
1624          * @see org.eclipse.jface.resource.StringConverter
 
1625          * @see org.eclipse.jface.preference.PreferenceConverter
 
1627         public final static String EDITOR_JAVADOC_LINKS_COLOR = IPreferenceConstants.PHPDOC_LINK;
 
1630          * A named preference that controls whether phpdoc links are rendered in
 
1633          * Value is of type <code>Boolean</code>.
 
1636         public final static String EDITOR_JAVADOC_LINKS_BOLD          = IPreferenceConstants.PHPDOC_LINK + EDITOR_BOLD_SUFFIX;
 
1637         public final static String EDITOR_JAVADOC_LINKS_ITALIC        = IPreferenceConstants.PHPDOC_LINK + EDITOR_ITALIC_SUFFIX;
 
1638         public final static String EDITOR_JAVADOC_LINKS_UNDERLINE     = IPreferenceConstants.PHPDOC_LINK + EDITOR_UNDERLINE_SUFFIX;
 
1639         public final static String EDITOR_JAVADOC_LINKS_STRIKETHROUGH = IPreferenceConstants.PHPDOC_LINK + EDITOR_STRIKETHROUGH_SUFFIX;
 
1642          * A named preference that holds the color used to render phpdoc default
 
1645          * Value is of type <code>String</code>. A RGB color value encoded as a
 
1646          * string using class <code>PreferenceConverter</code>
 
1649          * @see org.eclipse.jface.resource.StringConverter
 
1650          * @see org.eclipse.jface.preference.PreferenceConverter
 
1652         public final static String EDITOR_JAVADOC_DEFAULT_COLOR = IPreferenceConstants.PHPDOC_DEFAULT;
 
1655          * A named preference that controls whether phpdoc default text is rendered
 
1658          * Value is of type <code>Boolean</code>.
 
1661         public final static String EDITOR_JAVADOC_DEFAULT_BOLD          = IPreferenceConstants.PHPDOC_DEFAULT + EDITOR_BOLD_SUFFIX;
 
1662         public final static String EDITOR_JAVADOC_DEFAULT_ITALIC        = IPreferenceConstants.PHPDOC_DEFAULT + EDITOR_ITALIC_SUFFIX;
 
1663         public final static String EDITOR_JAVADOC_DEFAULT_UNDERLINE     = IPreferenceConstants.PHPDOC_DEFAULT + EDITOR_UNDERLINE_SUFFIX;
 
1664         public final static String EDITOR_JAVADOC_DEFAULT_STRIKETHROUGH = IPreferenceConstants.PHPDOC_DEFAULT + EDITOR_STRIKETHROUGH_SUFFIX;
 
1667          * A named preference that holds the color used for 'linked-mode' underline.
 
1669          * Value is of type <code>String</code>. A RGB color value encoded as a
 
1670          * string using class <code>PreferenceConverter</code>
 
1673          * @see org.eclipse.jface.resource.StringConverter
 
1674          * @see org.eclipse.jface.preference.PreferenceConverter
 
1677         public final static String EDITOR_LINK_COLOR = "linkColor"; //$NON-NLS-1$
 
1680          * A named preference that controls whether hover tooltips in the editor are
 
1683          * Value is of type <code>Boolean</code>.
 
1686         public static final String EDITOR_SHOW_HOVER = "net.sourceforge.phpdt.ui.editor.showHover"; //$NON-NLS-1$
 
1689          * A named preference that defines the hover shown when no control key is
 
1692          * Value is of type <code>String</code>: possible values are <code>
 
1693          * EDITOR_NO_HOVER_CONFIGURED_ID</code>
 
1694          * or <code>EDITOR_DEFAULT_HOVER_CONFIGURED_ID</code> or the hover id of a
 
1695          * hover contributed as <code>phpEditorTextHovers</code>.
 
1698          * @see #EDITOR_NO_HOVER_CONFIGURED_ID
 
1699          * @see #EDITOR_DEFAULT_HOVER_CONFIGURED_ID
 
1703         public static final String EDITOR_NONE_HOVER = "noneHover"; //$NON-NLS-1$
 
1706          * A named preference that defines the hover shown when the
 
1707          * <code>CTRL</code> modifier key is pressed.
 
1709          * Value is of type <code>String</code>: possible values are <code>
 
1710          * EDITOR_NO_HOVER_CONFIGURED_ID</code>
 
1711          * or <code>EDITOR_DEFAULT_HOVER_CONFIGURED_ID</code> or the hover id of a
 
1712          * hover contributed as <code>phpEditorTextHovers</code>.
 
1715          * @see #EDITOR_NO_HOVER_CONFIGURED_ID
 
1716          * @see #EDITOR_DEFAULT_HOVER_CONFIGURED_ID
 
1720         public static final String EDITOR_CTRL_HOVER = "ctrlHover"; //$NON-NLS-1$
 
1723          * A named preference that defines the hover shown when the
 
1724          * <code>SHIFT</code> modifier key is pressed.
 
1726          * Value is of type <code>String</code>: possible values are <code>
 
1727          * EDITOR_NO_HOVER_CONFIGURED_ID</code>
 
1728          * or <code>EDITOR_DEFAULT_HOVER_CONFIGURED_ID</code> or the hover id of a
 
1729          * hover contributed as <code>phpEditorTextHovers</code>.
 
1732          * @see #EDITOR_NO_HOVER_CONFIGURED_ID
 
1733          * @see #EDITOR_DEFAULT_HOVER_CONFIGURED_ID
 
1734          * @see JavaUI ID_*_HOVER
 
1737         public static final String EDITOR_SHIFT_HOVER = "shiftHover"; //$NON-NLS-1$
 
1740          * A named preference that defines the hover shown when the
 
1741          * <code>CTRL + ALT</code> modifier keys is pressed.
 
1743          * Value is of type <code>String</code>: possible values are <code>
 
1744          * EDITOR_NO_HOVER_CONFIGURED_ID</code>
 
1745          * or <code>EDITOR_DEFAULT_HOVER_CONFIGURED_ID</code> or the hover id of a
 
1746          * hover contributed as <code>phpEditorTextHovers</code>.
 
1749          * @see #EDITOR_NO_HOVER_CONFIGURED_ID
 
1750          * @see #EDITOR_DEFAULT_HOVER_CONFIGURED_ID
 
1751          * @see JavaUI ID_*_HOVER
 
1754         public static final String EDITOR_CTRL_ALT_HOVER = "ctrlAltHover"; //$NON-NLS-1$
 
1757          * A named preference that defines the hover shown when the
 
1758          * <code>CTRL + ALT + SHIFT</code> modifier keys is pressed.
 
1760          * Value is of type <code>String</code>: possible values are <code>
 
1761          * EDITOR_NO_HOVER_CONFIGURED_ID</code>
 
1762          * or <code>EDITOR_DEFAULT_HOVER_CONFIGURED_ID</code> or the hover id of a
 
1763          * hover contributed as <code>phpEditorTextHovers</code>.
 
1766          * @see #EDITOR_NO_HOVER_CONFIGURED_ID
 
1767          * @see #EDITOR_DEFAULT_HOVER_CONFIGURED_ID
 
1768          * @see JavaUI ID_*_HOVER
 
1771         public static final String EDITOR_CTRL_ALT_SHIFT_HOVER = "ctrlAltShiftHover"; //$NON-NLS-1$
 
1774          * A named preference that defines the hover shown when the
 
1775          * <code>CTRL + SHIFT</code> modifier keys is pressed.
 
1777          * Value is of type <code>String</code>: possible values are <code>
 
1778          * EDITOR_NO_HOVER_CONFIGURED_ID</code>
 
1779          * or <code>EDITOR_DEFAULT_HOVER_CONFIGURED_ID</code> or the hover id of a
 
1780          * hover contributed as <code>phpEditorTextHovers</code>.
 
1783          * @see #EDITOR_NO_HOVER_CONFIGURED_ID
 
1784          * @see #EDITOR_DEFAULT_HOVER_CONFIGURED_ID
 
1785          * @see JavaUI ID_*_HOVER
 
1788         public static final String EDITOR_CTRL_SHIFT_HOVER = "ctrlShiftHover"; //$NON-NLS-1$
 
1791          * A named preference that defines the hover shown when the <code>ALT</code>
 
1792          * modifier key is pressed.
 
1794          * Value is of type <code>String</code>: possible values are <code>
 
1795          * EDITOR_NO_HOVER_CONFIGURED_ID</code>,
 
1796          * <code>EDITOR_DEFAULT_HOVER_CONFIGURED_ID</code> or the hover id of a
 
1797          * hover contributed as <code>phpEditorTextHovers</code>.
 
1800          * @see #EDITOR_NO_HOVER_CONFIGURED_ID
 
1801          * @see #EDITOR_DEFAULT_HOVER_CONFIGURED_ID
 
1802          * @see JavaUI ID_*_HOVER
 
1805         public static final String EDITOR_ALT_SHIFT_HOVER = "altShiftHover"; //$NON-NLS-1$
 
1808          * A string value used by the named preferences for hover configuration to
 
1809          * descibe that no hover should be shown for the given key modifiers.
 
1813         public static final String EDITOR_NO_HOVER_CONFIGURED_ID = "noHoverConfiguredId"; //$NON-NLS-1$
 
1816          * A string value used by the named preferences for hover configuration to
 
1817          * descibe that the default hover should be shown for the given key
 
1818          * modifiers. The default hover is described by the
 
1819          * <code>EDITOR_DEFAULT_HOVER</code> property.
 
1823         public static final String EDITOR_DEFAULT_HOVER_CONFIGURED_ID = "defaultHoverConfiguredId"; //$NON-NLS-1$
 
1826          * A named preference that defines the hover named the 'default hover'.
 
1827          * Value is of type <code>String</code>: possible values are <code>
 
1828          * EDITOR_NO_HOVER_CONFIGURED_ID</code>
 
1829          * or <code> the hover id of a hover
 
1830          * contributed as <code>phpEditorTextHovers</code>.
 
1834         public static final String EDITOR_DEFAULT_HOVER = "defaultHover"; //$NON-NLS-1$
 
1837          * A named preference that controls if segmented view (show selected element
 
1838          * only) is turned on or off.
 
1840          * Value is of type <code>Boolean</code>.
 
1843         public static final String EDITOR_SHOW_SEGMENTS = "net.sourceforge.phpdt.ui.editor.showSegments"; //$NON-NLS-1$
 
1846          * A named preference that controls if browser like links are turned on or
 
1849          * Value is of type <code>Boolean</code>.
 
1854         public static final String EDITOR_BROWSER_LIKE_LINKS = "browserLikeLinks"; //$NON-NLS-1$
 
1857          * A named preference that controls the key modifier for browser like links.
 
1859          * Value is of type <code>String</code>.
 
1864         public static final String EDITOR_BROWSER_LIKE_LINKS_KEY_MODIFIER = "browserLikeLinksKeyModifier"; //$NON-NLS-1$
 
1867          * A named preference that controls whether occurrences are marked in the
 
1870          * Value is of type <code>Boolean</code>.
 
1875         public static final String EDITOR_MARK_OCCURRENCES = "markOccurrences"; //$NON-NLS-1$
 
1878          * A named preference that controls whether occurrences are sticky in the
 
1881          * Value is of type <code>Boolean</code>.
 
1886         public static final String EDITOR_STICKY_OCCURRENCES = "stickyOccurrences"; //$NON-NLS-1$
 
1889          * A named preference that controls disabling of the overwrite mode.
 
1891          * Value is of type <code>Boolean</code>.
 
1896         public static final String EDITOR_DISABLE_OVERWRITE_MODE = "disable_overwrite_mode"; //$NON-NLS-1$
 
1899          * A named preference that controls saving of a file on loss of editor focus.
 
1901          * Value is of type <code>Boolean</code>.
 
1906         public static final String EDITOR_SAVE_ON_BLUR = "save_on_blur"; //$NON-NLS-1$
 
1909          * A named preference that controls the "smart semicolon" smart typing
 
1912          * Value is of type <code>Boolean</code>.
 
1917         public static final String EDITOR_SMART_SEMICOLON = "smart_semicolon"; //$NON-NLS-1$
 
1920          * A named preference that controls the smart backspace behavior.
 
1922          * Value is of type <code>Boolean</code>.
 
1926         public static final String EDITOR_SMART_BACKSPACE = "smart_backspace"; //$NON-NLS-1$
 
1929          * A named preference that controls the "smart opening brace" smart typing
 
1932          * Value is of type <code>Boolean</code>.
 
1937         public static final String EDITOR_SMART_OPENING_BRACE = "smart_opening_brace"; //$NON-NLS-1$
 
1940          * A named preference that controls the smart tab behaviour.
 
1942          * Value is of type <code>Boolean</code>.
 
1946         public static final String EDITOR_SMART_TAB = "smart_tab"; //$NON-NLS-1$
 
1948         public static final String EDITOR_P_RTRIM_ON_SAVE = "editor_p_trim_on_save"; //$NON-NLS-1$
 
1951          * A named preference that controls whether Java comments should be
 
1954          * Value is of type <code>Boolean</code>.
 
1959         public final static String SPELLING_CHECK_SPELLING = ISpellCheckPreferenceKeys.SPELLING_CHECK_SPELLING;
 
1962          * A named preference that controls whether words containing digits should
 
1963          * be skipped during spell-checking.
 
1965          * Value is of type <code>Boolean</code>.
 
1970         public final static String SPELLING_IGNORE_DIGITS = ISpellCheckPreferenceKeys.SPELLING_IGNORE_DIGITS;
 
1973          * A named preference that controls whether mixed case words should be
 
1974          * skipped during spell-checking.
 
1976          * Value is of type <code>Boolean</code>.
 
1981         public final static String SPELLING_IGNORE_MIXED = ISpellCheckPreferenceKeys.SPELLING_IGNORE_MIXED;
 
1984          * A named preference that controls whether sentence capitalization should
 
1985          * be ignored during spell-checking.
 
1987          * Value is of type <code>Boolean</code>.
 
1992         public final static String SPELLING_IGNORE_SENTENCE = ISpellCheckPreferenceKeys.SPELLING_IGNORE_SENTENCE;
 
1995          * A named preference that controls whether upper case words should be
 
1996          * skipped during spell-checking.
 
1998          * Value is of type <code>Boolean</code>.
 
2003         public final static String SPELLING_IGNORE_UPPER = ISpellCheckPreferenceKeys.SPELLING_IGNORE_UPPER;
 
2006          * A named preference that controls whether urls should be ignored during
 
2009          * Value is of type <code>Boolean</code>.
 
2014         public final static String SPELLING_IGNORE_URLS = ISpellCheckPreferenceKeys.SPELLING_IGNORE_URLS;
 
2017          * A named preference that controls the locale used for spell-checking.
 
2019          * Value is of type <code>String</code>.
 
2024         public final static String SPELLING_LOCALE = ISpellCheckPreferenceKeys.SPELLING_LOCALE;
 
2027          * A named preference that controls the number of proposals offered during
 
2030          * Value is of type <code>Integer</code>.
 
2035         public final static String SPELLING_PROPOSAL_THRESHOLD = ISpellCheckPreferenceKeys.SPELLING_PROPOSAL_THRESHOLD;
 
2038          * A named preference that specifies the workspace user dictionary.
 
2040          * Value is of type <code>Integer</code>.
 
2045         public final static String SPELLING_USER_DICTIONARY = ISpellCheckPreferenceKeys.SPELLING_USER_DICTIONARY;
 
2048          * A named preference that specifies whether spelling dictionaries are
 
2049          * available to content assist.
 
2051          * Value is of type <code>Boolean</code>.
 
2056         public final static String SPELLING_ENABLE_CONTENTASSIST = ISpellCheckPreferenceKeys.SPELLING_ENABLE_CONTENTASSIST;
 
2059          * A named preference that controls whether code snippets are formatted in
 
2062          * Value is of type <code>Boolean</code>.
 
2067         public final static String FORMATTER_COMMENT_FORMATSOURCE = "comment_format_source_code"; //$NON-NLS-1$
 
2070          * A named preference that controls whether description of Javadoc
 
2071          * parameters are indented.
 
2073          * Value is of type <code>Boolean</code>.
 
2078         public final static String FORMATTER_COMMENT_INDENTPARAMETERDESCRIPTION = "comment_indent_parameter_description"; //$NON-NLS-1$
 
2081          * A named preference that controls whether the header comment of a Java
 
2082          * source file is formatted.
 
2084          * Value is of type <code>Boolean</code>.
 
2089         public final static String FORMATTER_COMMENT_FORMATHEADER = "comment_format_header"; //$NON-NLS-1$
 
2092          * A named preference that controls whether Javadoc root tags are indented.
 
2094          * Value is of type <code>Boolean</code>.
 
2099         public final static String FORMATTER_COMMENT_INDENTROOTTAGS = "comment_indent_root_tags"; //$NON-NLS-1$
 
2102          * A named preference that controls whether Javadoc comments are formatted
 
2103          * by the content formatter.
 
2105          * Value is of type <code>Boolean</code>.
 
2110         public final static String FORMATTER_COMMENT_FORMAT = "comment_format_comments"; //$NON-NLS-1$
 
2113          * A named preference that controls whether a new line is inserted after
 
2114          * Javadoc root tag parameters.
 
2116          * Value is of type <code>Boolean</code>.
 
2121         public final static String FORMATTER_COMMENT_NEWLINEFORPARAMETER = "comment_new_line_for_parameter"; //$NON-NLS-1$
 
2124          * A named preference that controls whether an empty line is inserted before
 
2125          * the Javadoc root tag block.
 
2127          * Value is of type <code>Boolean</code>.
 
2132         public final static String FORMATTER_COMMENT_SEPARATEROOTTAGS = "comment_separate_root_tags"; //$NON-NLS-1$
 
2135          * A named preference that controls whether blank lines are cleared during
 
2138          * Value is of type <code>Boolean</code>.
 
2143         public final static String FORMATTER_COMMENT_CLEARBLANKLINES = "comment_clear_blank_lines"; //$NON-NLS-1$
 
2146          * A named preference that controls the line length of comments.
 
2148          * Value is of type <code>Integer</code>. The value must be at least 4
 
2149          * for reasonable formatting.
 
2154         public final static String FORMATTER_COMMENT_LINELENGTH = "comment_line_length"; //$NON-NLS-1$
 
2157          * A named preference that controls whether html tags are formatted.
 
2159          * Value is of type <code>Boolean</code>.
 
2164         public final static String FORMATTER_COMMENT_FORMATHTML = "comment_format_html"; //$NON-NLS-1$
 
2167          * A named preference that controls if the Java code assist gets auto
 
2170          * Value is of type <code>Boolean</code>.
 
2173         public final static String CODEASSIST_AUTOACTIVATION = "content_assist_autoactivation"; //$NON-NLS-1$
 
2176          * A name preference that holds the auto activation delay time in milli
 
2179          * Value is of type <code>Int</code>.
 
2182         public final static String CODEASSIST_AUTOACTIVATION_DELAY = "content_assist_autoactivation_delay"; //$NON-NLS-1$
 
2185          * A named preference that controls if code assist contains only visible
 
2188          * Value is of type <code>Boolean</code>. if
 
2189          * <code>true<code> code assist only contains visible members. If
 
2190          * <code>false</code> all members are included.
 
2193         public final static String CODEASSIST_SHOW_VISIBLE_PROPOSALS = "content_assist_show_visible_proposals"; //$NON-NLS-1$
 
2196          * A named preference that controls if the Java code assist inserts a
 
2197          * proposal automatically if only one proposal is available.
 
2199          * Value is of type <code>Boolean</code>.
 
2204         public final static String CODEASSIST_AUTOINSERT = "content_assist_autoinsert"; //$NON-NLS-1$
 
2207          * A named preference that controls if the Java code assist adds import
 
2210          * Value is of type <code>Boolean</code>.
 
2215         public final static String CODEASSIST_ADDIMPORT = "content_assist_add_import"; //$NON-NLS-1$
 
2218          * A named preference that controls if the Java code assist only inserts
 
2219          * completions. If set to false the proposals can also _replace_ code.
 
2221          * Value is of type <code>Boolean</code>.
 
2226         public final static String CODEASSIST_INSERT_COMPLETION = "content_assist_insert_completion"; //$NON-NLS-1$
 
2229          * A named preference that controls whether code assist proposals filtering
 
2230          * is case sensitive or not.
 
2232          * Value is of type <code>Boolean</code>.
 
2235         public final static String CODEASSIST_CASE_SENSITIVITY = "content_assist_case_sensitivity"; //$NON-NLS-1$
 
2238          * A named preference that defines if code assist proposals are sorted in
 
2239          * alphabetical order.
 
2241          * Value is of type <code>Boolean</code>. If <code>true</code> that are
 
2242          * sorted in alphabetical order. If <code>false</code> that are unsorted.
 
2245         public final static String CODEASSIST_ORDER_PROPOSALS = "content_assist_order_proposals"; //$NON-NLS-1$
 
2248          * A named preference that controls if argument names are filled in when a
 
2249          * method is selected from as list of code assist proposal.
 
2251          * Value is of type <code>Boolean</code>.
 
2254         public final static String CODEASSIST_FILL_ARGUMENT_NAMES = "content_assist_fill_method_arguments"; //$NON-NLS-1$
 
2257          * A named preference that controls if method arguments are guessed when a
 
2258          * method is selected from as list of code assist proposal.
 
2260          * Value is of type <code>Boolean</code>.
 
2265         public final static String CODEASSIST_GUESS_METHOD_ARGUMENTS = "content_assist_guess_method_arguments"; //$NON-NLS-1$
 
2268          * A named preference that holds the characters that auto activate code
 
2269          * assist in PHP code.
 
2271          * Value is of type <code>Sring</code>. All characters that trigger auto
 
2272          * code assist in PHP code.
 
2275         public final static String CODEASSIST_AUTOACTIVATION_TRIGGERS_JAVA = "content_assist_autoactivation_triggers_php"; //$NON-NLS-1$
 
2278          * A named preference that holds the characters that auto activate code
 
2281          * Value is of type <code>Sring</code>. All characters that trigger auto
 
2282          * code assist in PHPDoc.
 
2285         public final static String CODEASSIST_AUTOACTIVATION_TRIGGERS_JAVADOC = "content_assist_autoactivation_triggers_phpdoc"; //$NON-NLS-1$
 
2288          * A named preference that holds the characters that auto activate code
 
2291          * Value is of type <code>Sring</code>. All characters that trigger auto
 
2292          * code assist in HTML.
 
2295         public final static String CODEASSIST_AUTOACTIVATION_TRIGGERS_HTML = "content_assist_autoactivation_triggers_html"; //$NON-NLS-1$
 
2298          * A named preference that holds the background color used in the code
 
2299          * assist selection dialog.
 
2301          * Value is of type <code>String</code>. A RGB color value encoded as a
 
2302          * string using class <code>PreferenceConverter</code>
 
2305          * @see org.eclipse.jface.resource.StringConverter
 
2306          * @see org.eclipse.jface.preference.PreferenceConverter
 
2308         public final static String CODEASSIST_PROPOSALS_BACKGROUND = "content_assist_proposals_background"; //$NON-NLS-1$
 
2311          * A named preference that holds the foreground color used in the code
 
2312          * assist selection dialog.
 
2314          * Value is of type <code>String</code>. A RGB color value encoded as a
 
2315          * string using class <code>PreferenceConverter</code>
 
2318          * @see org.eclipse.jface.resource.StringConverter
 
2319          * @see org.eclipse.jface.preference.PreferenceConverter
 
2321         public final static String CODEASSIST_PROPOSALS_FOREGROUND = "content_assist_proposals_foreground"; //$NON-NLS-1$
 
2324          * A named preference that holds the background color used for parameter
 
2327          * Value is of type <code>String</code>. A RGB color value encoded as a
 
2328          * string using class <code>PreferenceConverter</code>
 
2331          * @see org.eclipse.jface.resource.StringConverter
 
2332          * @see org.eclipse.jface.preference.PreferenceConverter
 
2334         public final static String CODEASSIST_PARAMETERS_BACKGROUND = "content_assist_parameters_background"; //$NON-NLS-1$
 
2337          * A named preference that holds the foreground color used in the code
 
2338          * assist selection dialog
 
2340          * Value is of type <code>String</code>. A RGB color value encoded as a
 
2341          * string using class <code>PreferenceConverter</code>
 
2344          * @see org.eclipse.jface.resource.StringConverter
 
2345          * @see org.eclipse.jface.preference.PreferenceConverter
 
2347         public final static String CODEASSIST_PARAMETERS_FOREGROUND = "content_assist_parameters_foreground"; //$NON-NLS-1$
 
2350          * A named preference that holds the background color used in the code
 
2351          * assist selection dialog to mark replaced code.
 
2353          * Value is of type <code>String</code>. A RGB color value encoded as a
 
2354          * string using class <code>PreferenceConverter</code>
 
2357          * @see org.eclipse.jface.resource.StringConverter
 
2358          * @see org.eclipse.jface.preference.PreferenceConverter
 
2361         public final static String CODEASSIST_REPLACEMENT_BACKGROUND = "content_assist_completion_replacement_background"; //$NON-NLS-1$
 
2364          * A named preference that holds the foreground color used in the code
 
2365          * assist selection dialog to mark replaced code.
 
2367          * Value is of type <code>String</code>. A RGB color value encoded as a
 
2368          * string using class <code>PreferenceConverter</code>
 
2371          * @see org.eclipse.jface.resource.StringConverter
 
2372          * @see org.eclipse.jface.preference.PreferenceConverter
 
2375         public final static String CODEASSIST_REPLACEMENT_FOREGROUND = "content_assist_completion_replacement_foreground"; //$NON-NLS-1$
 
2378          * A named preference that controls the behaviour of the refactoring wizard
 
2379          * for showing the error page.
 
2381          * Value is of type <code>String</code>. Valid values are:
 
2382          * <code>REFACTOR_FATAL_SEVERITY</code>,
 
2383          * <code>REFACTOR_ERROR_SEVERITY</code>,<code>REFACTOR_WARNING_SEVERITY</code>
 
2384          * <code>REFACTOR_INFO_SEVERITY</code>,
 
2385          * <code>REFACTOR_OK_SEVERITY</code>.
 
2388          * @see #REFACTOR_FATAL_SEVERITY
 
2389          * @see #REFACTOR_ERROR_SEVERITY
 
2390          * @see #REFACTOR_WARNING_SEVERITY
 
2391          * @see #REFACTOR_INFO_SEVERITY
 
2392          * @see #REFACTOR_OK_SEVERITY
 
2394         public static final String REFACTOR_ERROR_PAGE_SEVERITY_THRESHOLD = "Refactoring.ErrorPage.severityThreshold"; //$NON-NLS-1$
 
2397          * A string value used by the named preference
 
2398          * <code>REFACTOR_ERROR_PAGE_SEVERITY_THRESHOLD</code>.
 
2400          * @see #REFACTOR_ERROR_PAGE_SEVERITY_THRESHOLD
 
2402         public static final String REFACTOR_FATAL_SEVERITY = "4"; //$NON-NLS-1$
 
2405          * A string value used by the named preference
 
2406          * <code>REFACTOR_ERROR_PAGE_SEVERITY_THRESHOLD</code>.
 
2408          * @see #REFACTOR_ERROR_PAGE_SEVERITY_THRESHOLD
 
2410         public static final String REFACTOR_ERROR_SEVERITY = "3"; //$NON-NLS-1$
 
2413          * A string value used by the named preference
 
2414          * <code>REFACTOR_ERROR_PAGE_SEVERITY_THRESHOLD</code>.
 
2416          * @see #REFACTOR_ERROR_PAGE_SEVERITY_THRESHOLD
 
2418         public static final String REFACTOR_WARNING_SEVERITY = "2"; //$NON-NLS-1$
 
2421          * A string value used by the named preference
 
2422          * <code>REFACTOR_ERROR_PAGE_SEVERITY_THRESHOLD</code>.
 
2424          * @see #REFACTOR_ERROR_PAGE_SEVERITY_THRESHOLD
 
2426         public static final String REFACTOR_INFO_SEVERITY = "1"; //$NON-NLS-1$
 
2429          * A string value used by the named preference
 
2430          * <code>REFACTOR_ERROR_PAGE_SEVERITY_THRESHOLD</code>.
 
2432          * @see #REFACTOR_ERROR_PAGE_SEVERITY_THRESHOLD
 
2434         public static final String REFACTOR_OK_SEVERITY = "0"; //$NON-NLS-1$
 
2437          * A named preference thet controls whether all dirty editors are
 
2438          * automatically saved before a refactoring is executed.
 
2440          * Value is of type <code>Boolean</code>.
 
2443         public static final String REFACTOR_SAVE_ALL_EDITORS = "Refactoring.savealleditors"; //$NON-NLS-1$
 
2446          * A named preference that controls if the Java Browsing views are linked to
 
2447          * the active editor.
 
2449          * Value is of type <code>Boolean</code>.
 
2452          * @see #LINK_PACKAGES_TO_EDITOR
 
2454         public static final String BROWSING_LINK_VIEW_TO_EDITOR = "net.sourceforge.phpdt.ui.browsing.linktoeditor"; //$NON-NLS-1$
 
2457          * A named preference that controls the layout of the Java Browsing views
 
2458          * vertically. Boolean value.
 
2460          * Value is of type <code>Boolean</code>. If
 
2461          * <code>true<code> the views are stacked vertical.
 
2462          * If <code>false</code> they are stacked horizontal.
 
2465         public static final String BROWSING_STACK_VERTICALLY = "net.sourceforge.phpdt.ui.browsing.stackVertically"; //$NON-NLS-1$
 
2468          * A named preference that controls if templates are formatted when applied.
 
2470          * Value is of type <code>Boolean</code>.
 
2475         public static final String TEMPLATES_USE_CODEFORMATTER = "net.sourceforge.phpdt.ui.template.format"; //$NON-NLS-1$
 
2478          * A named preference that controls whether annotation roll over is used or
 
2481          * Value is of type <code>Boolean</code>. If
 
2482          * <code>true<code> the annotation ruler column
 
2483          * uses a roll over to display multiple annotations
 
2488         public static final String EDITOR_ANNOTATION_ROLL_OVER = "editor_annotation_roll_over"; //$NON-NLS-1$
 
2491          * A named preference that controls the key modifier mask for browser like
 
2492          * links. The value is only used if the value of
 
2493          * <code>EDITOR_BROWSER_LIKE_LINKS</code> cannot be resolved to valid SWT
 
2496          * Value is of type <code>String</code>.
 
2499          * @see #EDITOR_BROWSER_LIKE_LINKS_KEY_MODIFIER
 
2502         public static final String EDITOR_BROWSER_LIKE_LINKS_KEY_MODIFIER_MASK = "browserLikeLinksKeyModifierMask"; //$NON-NLS-1$
 
2505          * A named preference that defines the key for the hover modifier state
 
2506          * masks. The value is only used if the value of
 
2507          * <code>EDITOR_TEXT_HOVER_MODIFIERS</code> cannot be resolved to valid
 
2508          * SWT modifier bits.
 
2511          * @see #EDITOR_TEXT_HOVER_MODIFIERS
 
2514         public static final String EDITOR_TEXT_HOVER_MODIFIER_MASKS = "hoverModifierMasks"; //$NON-NLS-1$
 
2517          * A named preference that controls whether folding is enabled in the Java
 
2520          * Value is of type <code>Boolean</code>.
 
2525         public static final String EDITOR_FOLDING_ENABLED = "editor_folding_enabled"; //$NON-NLS-1$
 
2528          * A named preference that stores the configured folding provider.
 
2530          * Value is of type <code>String</code>.
 
2535         public static final String EDITOR_FOLDING_PROVIDER = "editor_folding_provider"; //$NON-NLS-1$
 
2538          * A named preference that stores the value for Javadoc folding for the
 
2539          * default folding provider.
 
2541          * Value is of type <code>Boolean</code>.
 
2546         public static final String EDITOR_FOLDING_JAVADOC = "editor_folding_default_javadoc"; //$NON-NLS-1$
 
2549          * A named preference that stores the value for inner type folding for the
 
2550          * default folding provider.
 
2552          * Value is of type <code>Boolean</code>.
 
2557         public static final String EDITOR_FOLDING_INNERTYPES = "editor_folding_default_innertypes"; //$NON-NLS-1$
 
2560          * A named preference that stores the value for method folding for the
 
2561          * default folding provider.
 
2563          * Value is of type <code>Boolean</code>.
 
2568         public static final String EDITOR_FOLDING_METHODS = "editor_folding_default_methods"; //$NON-NLS-1$
 
2571          * A named preference that stores the value for imports folding for the
 
2572          * default folding provider.
 
2574          * Value is of type <code>Boolean</code>.
 
2579         // public static final String EDITOR_FOLDING_IMPORTS =
 
2580         // "editor_folding_default_imports"; //$NON-NLS-1$
 
2582          * A named preference that stores the value for header comment folding for
 
2583          * the default folding provider.
 
2585          * Value is of type <code>Boolean</code>.
 
2590         public static final String EDITOR_FOLDING_HEADERS = "editor_folding_default_headers"; //$NON-NLS-1$
 
2592         public static void initializeDefaultValues(IPreferenceStore store) {
 
2593                 store.setDefault (PreferenceConstants.EDITOR_SHOW_SEGMENTS, false);
 
2595                 // JavaBasePreferencePage
 
2596                 store.setDefault (PreferenceConstants.LINK_PACKAGES_TO_EDITOR, true);
 
2597                 store.setDefault (PreferenceConstants.LINK_TYPEHIERARCHY_TO_EDITOR,false);
 
2598                 store.setDefault (PreferenceConstants.LINK_BROWSING_VIEW_TO_EDITOR,true);
 
2599                 store.setDefault (PreferenceConstants.OPEN_TYPE_HIERARCHY,PreferenceConstants.OPEN_TYPE_HIERARCHY_IN_VIEW_PART);
 
2600                 store.setDefault (PreferenceConstants.DOUBLE_CLICK,PreferenceConstants.DOUBLE_CLICK_EXPANDS);
 
2601                 store.setDefault (PreferenceConstants.UPDATE_JAVA_VIEWS,PreferenceConstants.UPDATE_WHILE_EDITING);
 
2603                 // AppearancePreferencePage
 
2604                 store.setDefault (PreferenceConstants.APPEARANCE_COMPRESS_PACKAGE_NAMES,false);
 
2605                 store.setDefault (PreferenceConstants.APPEARANCE_METHOD_RETURNTYPE,false);
 
2606                 store.setDefault (PreferenceConstants.SHOW_CU_CHILDREN, true);
 
2607                 store.setDefault (PreferenceConstants.APPEARANCE_OVERRIDE_INDICATOR,true);
 
2608                 store.setDefault (PreferenceConstants.BROWSING_STACK_VERTICALLY, false);
 
2609                 store.setDefault (PreferenceConstants.APPEARANCE_PKG_NAME_PATTERN_FOR_PKG_VIEW,""); //$NON-NLS-1$
 
2610                 store.setDefault (PreferenceConstants.APPEARANCE_FOLD_PACKAGES_IN_PACKAGE_EXPLORER,true);
 
2612                 // ImportOrganizePreferencePage
 
2613                 // store.setDefault(PreferenceConstants.ORGIMPORTS_IMPORTORDER,
 
2614                 // "php;phpx;org;com"); //$NON-NLS-1$
 
2615                 store.setDefault (PreferenceConstants.ORGIMPORTS_ONDEMANDTHRESHOLD, 99);
 
2616                 store.setDefault (PreferenceConstants.ORGIMPORTS_IGNORELOWERCASE, true);
 
2618                 // ClasspathVariablesPreferencePage
 
2619                 // CodeFormatterPreferencePage
 
2620                 // CompilerPreferencePage
 
2621                 // no initialization needed
 
2623                 // RefactoringPreferencePage
 
2624                 store.setDefault (PreferenceConstants.REFACTOR_ERROR_PAGE_SEVERITY_THRESHOLD,PreferenceConstants.REFACTOR_ERROR_SEVERITY);
 
2625                 store.setDefault (PreferenceConstants.REFACTOR_SAVE_ALL_EDITORS, false);
 
2626                 store.setDefault ("RefactoringUI", "dialog");
 
2628                 // TemplatePreferencePage
 
2629                 store.setDefault (PreferenceConstants.TEMPLATES_USE_CODEFORMATTER, true);
 
2631                 // CodeGenerationPreferencePage
 
2632                 store.setDefault (PreferenceConstants.CODEGEN_USE_GETTERSETTER_PREFIX,false);
 
2633                 store.setDefault (PreferenceConstants.CODEGEN_USE_GETTERSETTER_SUFFIX,false);
 
2634                 store.setDefault (PreferenceConstants.CODEGEN_GETTERSETTER_PREFIX,"fg, f, _$, _, m_"); //$NON-NLS-1$
 
2635                 store.setDefault (PreferenceConstants.CODEGEN_GETTERSETTER_SUFFIX, "_"); //$NON-NLS-1$
 
2637                 store.setDefault (PreferenceConstants.CODEGEN_KEYWORD_THIS, false);
 
2638                 store.setDefault (PreferenceConstants.CODEGEN_IS_FOR_GETTERS, true);
 
2639                 store.setDefault (PreferenceConstants.CODEGEN_EXCEPTION_VAR_NAME, "e"); //$NON-NLS-1$
 
2640                 store.setDefault (PreferenceConstants.CODEGEN_ADD_COMMENTS, true);
 
2641                 store.setDefault (PreferenceConstants.CODEGEN__NON_JAVADOC_COMMENTS,false);
 
2642                 store.setDefault (PreferenceConstants.CODEGEN__FILE_COMMENTS, false);
 
2644                 // MembersOrderPreferencePage
 
2645                 store.setDefault (PreferenceConstants.APPEARANCE_MEMBER_SORT_ORDER,"T,SF,SI,SM,I,F,C,M"); //$NON-NLS-1$
 
2646                 store.setDefault (PreferenceConstants.APPEARANCE_VISIBILITY_SORT_ORDER,"B,V,R,D"); //$NON-NLS-1$
 
2647                 store.setDefault (PreferenceConstants.APPEARANCE_ENABLE_VISIBILITY_SORT_ORDER,false);
 
2648                 // must add here to guarantee that it is the first in the listener list
 
2649                 store.addPropertyChangeListener (PHPeclipsePlugin.getDefault().getMemberOrderPreferenceCache());
 
2651                 store.setDefault (PreferenceConstants.EDITOR_MATCHING_BRACKETS, true);
 
2652                 PreferenceConverter.setDefault (store,PreferenceConstants.EDITOR_MATCHING_BRACKETS_COLOR, new RGB(192, 192, 192));
 
2654                 store.setDefault (PreferenceConstants.EDITOR_CURRENT_LINE, true);
 
2655                 PreferenceConverter.setDefault (store,PreferenceConstants.EDITOR_CURRENT_LINE_COLOR, new RGB(225,235, 224));
 
2657                 store.setDefault (PreferenceConstants.EDITOR_PRINT_MARGIN, false);
 
2658                 store.setDefault (PreferenceConstants.EDITOR_PRINT_MARGIN_COLUMN, 80);
 
2659                 PreferenceConverter.setDefault (store,PreferenceConstants.EDITOR_PRINT_MARGIN_COLOR, new RGB(176,180, 185));
 
2661                 PreferenceConverter.setDefault (store,PreferenceConstants.EDITOR_FIND_SCOPE_COLOR, new RGB(185, 176,180));
 
2663                 // store.setDefault(PreferenceConstants.EDITOR_PROBLEM_INDICATION,
 
2665                 // PreferenceConverter.setDefault(store,
 
2666                 // PreferenceConstants.EDITOR_PROBLEM_INDICATION_COLOR, new RGB(255, 0,
 
2668                 // store.setDefault(PreferenceConstants.EDITOR_ERROR_INDICATION_IN_OVERVIEW_RULER,
 
2671                 // store.setDefault(PreferenceConstants.EDITOR_WARNING_INDICATION,
 
2673                 // PreferenceConverter.setDefault(store,
 
2674                 // PreferenceConstants.EDITOR_WARNING_INDICATION_COLOR, new RGB(244,
 
2676                 // store.setDefault(PreferenceConstants.EDITOR_WARNING_INDICATION_IN_OVERVIEW_RULER,
 
2679                 // store.setDefault(PreferenceConstants.EDITOR_TASK_INDICATION, false);
 
2680                 // PreferenceConverter.setDefault(store,
 
2681                 // PreferenceConstants.EDITOR_TASK_INDICATION_COLOR, new RGB(0, 128,
 
2683                 // store.setDefault(PreferenceConstants.EDITOR_TASK_INDICATION_IN_OVERVIEW_RULER,
 
2686                 // store.setDefault(PreferenceConstants.EDITOR_BOOKMARK_INDICATION,
 
2688                 // PreferenceConverter.setDefault(store,
 
2689                 // PreferenceConstants.EDITOR_BOOKMARK_INDICATION_COLOR, new RGB(34,
 
2691                 // store.setDefault(PreferenceConstants.EDITOR_BOOKMARK_INDICATION_IN_OVERVIEW_RULER,
 
2694                 // store.setDefault(PreferenceConstants.EDITOR_SEARCH_RESULT_INDICATION,
 
2696                 // PreferenceConverter.setDefault(store,
 
2697                 // PreferenceConstants.EDITOR_SEARCH_RESULT_INDICATION_COLOR, new
 
2698                 // RGB(192, 192, 192));
 
2699                 // store.setDefault(PreferenceConstants.EDITOR_SEARCH_RESULT_INDICATION_IN_OVERVIEW_RULER,
 
2702                 // store.setDefault(PreferenceConstants.EDITOR_UNKNOWN_INDICATION,
 
2704                 // PreferenceConverter.setDefault(store,
 
2705                 // PreferenceConstants.EDITOR_UNKNOWN_INDICATION_COLOR, new RGB(0, 0,
 
2707                 // store.setDefault(PreferenceConstants.EDITOR_UNKNOWN_INDICATION_IN_OVERVIEW_RULER,
 
2710                 store.setDefault (PreferenceConstants.EDITOR_CORRECTION_INDICATION,true);
 
2711                 store.setDefault (PreferenceConstants.EDITOR_SYNC_OUTLINE_ON_CURSOR_MOVE, true);
 
2712         store.setDefault (PreferenceConstants.EDITOR_EVALUTE_TEMPORARY_PROBLEMS,true);
 
2713                 store.setDefault (PreferenceConstants.EDITOR_OVERVIEW_RULER, true);
 
2715                 // WorkbenchChainedTextFontFieldEditor.startPropagate(store,
 
2716                 // JFaceResources.TEXT_FONT);
 
2718                 PreferenceConverter.setDefault (store,PreferenceConstants.EDITOR_LINKED_POSITION_COLOR, new RGB(0,200, 100));
 
2719                 PreferenceConverter.setDefault (store,PreferenceConstants.EDITOR_LINK_COLOR, new RGB(0, 0, 255));
 
2721                 store.setDefault (PreferenceConstants.EDITOR_FOREGROUND_DEFAULT_COLOR,true);
 
2723                 store.setDefault (PreferenceConstants.EDITOR_BACKGROUND_DEFAULT_COLOR,true);
 
2725                 store.setDefault (PreferenceConstants.EDITOR_TAB_WIDTH, 4);
 
2726                 store.setDefault (PreferenceConstants.EDITOR_SPACES_FOR_TABS, false);
 
2728                 PreferenceConverter.setDefault (store,PreferenceConstants.EDITOR_MULTI_LINE_COMMENT_COLOR, new RGB(63, 127, 95));
 
2729                 store.setDefault (PreferenceConstants.EDITOR_MULTI_LINE_COMMENT_BOLD,          false);
 
2730                 store.setDefault (PreferenceConstants.EDITOR_MULTI_LINE_COMMENT_ITALIC,        false);
 
2731                 store.setDefault (PreferenceConstants.EDITOR_MULTI_LINE_COMMENT_UNDERLINE,     false);
 
2732                 store.setDefault (PreferenceConstants.EDITOR_MULTI_LINE_COMMENT_STRIKETHROUGH, false);
 
2734                 PreferenceConverter.setDefault (store,PreferenceConstants.EDITOR_SINGLE_LINE_COMMENT_COLOR, new RGB(63, 127, 95));
 
2735                 store.setDefault (PreferenceConstants.EDITOR_SINGLE_LINE_COMMENT_BOLD,          false);
 
2736                 store.setDefault (PreferenceConstants.EDITOR_SINGLE_LINE_COMMENT_ITALIC,        false);
 
2737                 store.setDefault (PreferenceConstants.EDITOR_SINGLE_LINE_COMMENT_UNDERLINE,     false);
 
2738                 store.setDefault (PreferenceConstants.EDITOR_SINGLE_LINE_COMMENT_STRIKETHROUGH, false);
 
2740                 PreferenceConverter.setDefault (store,PreferenceConstants.EDITOR_PHP_TAG_COLOR, new RGB(255, 0, 128));
 
2741                 store.setDefault (PreferenceConstants.EDITOR_PHP_TAG_BOLD,            true);
 
2742                 store.setDefault (PreferenceConstants.EDITOR_PHP_TAG_ITALIC,          false);
 
2743                 store.setDefault (PreferenceConstants.EDITOR_PHP_TAG_UNDERLINE,       false);
 
2744                 store.setDefault (PreferenceConstants.EDITOR_PHP_TAG_STRIKETHROUGH,   false);
 
2746                 PreferenceConverter.setDefault (store,PreferenceConstants.EDITOR_JAVA_KEYWORD_COLOR, new RGB(127, 0,85));
 
2747                 store.setDefault (PreferenceConstants.EDITOR_JAVA_KEYWORD_BOLD,          true);
 
2748                 store.setDefault (PreferenceConstants.EDITOR_JAVA_KEYWORD_ITALIC,        false);
 
2749                 store.setDefault (PreferenceConstants.EDITOR_JAVA_KEYWORD_UNDERLINE,     false);
 
2750                 store.setDefault (PreferenceConstants.EDITOR_JAVA_KEYWORD_STRIKETHROUGH, false);
 
2752                 PreferenceConverter.setDefault (store,PreferenceConstants.EDITOR_PHP_FUNCTIONNAME_COLOR, new RGB(127,127, 159));
 
2753                 store.setDefault (PreferenceConstants.EDITOR_PHP_FUNCTIONNAME_BOLD,          false);
 
2754                 store.setDefault (PreferenceConstants.EDITOR_PHP_FUNCTIONNAME_ITALIC,        false);
 
2755                 store.setDefault (PreferenceConstants.EDITOR_PHP_FUNCTIONNAME_UNDERLINE,     false);
 
2756                 store.setDefault (PreferenceConstants.EDITOR_PHP_FUNCTIONNAME_STRIKETHROUGH, false);
 
2758                 PreferenceConverter.setDefault (store,PreferenceConstants.EDITOR_PHP_VARIABLE_COLOR, new RGB(127,159, 191));
 
2759                 store.setDefault (PreferenceConstants.EDITOR_PHP_VARIABLE_BOLD,            false);
 
2760                 store.setDefault (PreferenceConstants.EDITOR_PHP_VARIABLE_ITALIC,          false);
 
2761                 store.setDefault (PreferenceConstants.EDITOR_PHP_VARIABLE_UNDERLINE,       false);
 
2762                 store.setDefault (PreferenceConstants.EDITOR_PHP_VARIABLE_STRIKETHROUGH,   false);
 
2764                 PreferenceConverter.setDefault (store,PreferenceConstants.EDITOR_PHP_VARIABLE_DOLLAR_COLOR, new RGB(127, 159, 191));
 
2765                 store.setDefault (PreferenceConstants.EDITOR_PHP_VARIABLE_DOLLAR_BOLD,          false);
 
2766                 store.setDefault (PreferenceConstants.EDITOR_PHP_VARIABLE_DOLLAR_ITALIC,        false);
 
2767                 store.setDefault (PreferenceConstants.EDITOR_PHP_VARIABLE_DOLLAR_UNDERLINE,     false);
 
2768                 store.setDefault (PreferenceConstants.EDITOR_PHP_VARIABLE_DOLLAR_STRIKETHROUGH, false);
 
2770                 PreferenceConverter.setDefault (store,PreferenceConstants.EDITOR_PHP_CONSTANT_COLOR, new RGB(127, 0,85));
 
2771                 store.setDefault (PreferenceConstants.EDITOR_PHP_CONSTANT_BOLD,          false);
 
2772                 store.setDefault (PreferenceConstants.EDITOR_PHP_CONSTANT_ITALIC,        false);
 
2773                 store.setDefault (PreferenceConstants.EDITOR_PHP_CONSTANT_UNDERLINE,     false);
 
2774                 store.setDefault (PreferenceConstants.EDITOR_PHP_CONSTANT_STRIKETHROUGH, false);
 
2776                 PreferenceConverter.setDefault (store,PreferenceConstants.EDITOR_PHP_TYPE_COLOR, new RGB(127, 0, 85));
 
2777                 store.setDefault (PreferenceConstants.EDITOR_PHP_TYPE_BOLD,          false);
 
2778                 store.setDefault (PreferenceConstants.EDITOR_PHP_TYPE_ITALIC,        false);
 
2779                 store.setDefault (PreferenceConstants.EDITOR_PHP_TYPE_UNDERLINE,     false);
 
2780                 store.setDefault (PreferenceConstants.EDITOR_PHP_TYPE_STRIKETHROUGH, false);
 
2782                 PreferenceConverter.setDefault (store,PreferenceConstants.EDITOR_STRING_COLOR_DQ,PHPColorProvider.STRING_DQ);
 
2783                 store.setDefault (PreferenceConstants.EDITOR_STRING_BOLD_DQ,          false);
 
2784                 store.setDefault (PreferenceConstants.EDITOR_STRING_ITALIC_DQ,        false);
 
2785                 store.setDefault (PreferenceConstants.EDITOR_STRING_UNDERLINE_DQ,     false);
 
2786                 store.setDefault (PreferenceConstants.EDITOR_STRING_STRIKETHROUGH_DQ, false);
 
2788                 PreferenceConverter.setDefault (store,PreferenceConstants.EDITOR_STRING_COLOR_SQ,PHPColorProvider.STRING_SQ);
 
2789                 store.setDefault (PreferenceConstants.EDITOR_STRING_BOLD_SQ,          true);
 
2790                 store.setDefault (PreferenceConstants.EDITOR_STRING_ITALIC_SQ,        false);
 
2791                 store.setDefault (PreferenceConstants.EDITOR_STRING_UNDERLINE_SQ,     false);
 
2792                 store.setDefault (PreferenceConstants.EDITOR_STRING_STRIKETHROUGH_SQ, false);
 
2794                 PreferenceConverter.setDefault (store,PreferenceConstants.EDITOR_JAVA_DEFAULT_COLOR, new RGB(0, 0, 0));
 
2795                 store.setDefault (PreferenceConstants.EDITOR_JAVA_DEFAULT_BOLD,          false);
 
2796                 store.setDefault (PreferenceConstants.EDITOR_JAVA_DEFAULT_ITALIC,        false);
 
2797                 store.setDefault (PreferenceConstants.EDITOR_JAVA_DEFAULT_UNDERLINE,     false);
 
2798                 store.setDefault (PreferenceConstants.EDITOR_JAVA_DEFAULT_STRIKETHROUGH, false);
 
2800                 PreferenceConverter.setDefault (store,PreferenceConstants.EDITOR_JAVADOC_KEYWORD_COLOR, new RGB(127,159, 191));
 
2801                 store.setDefault (PreferenceConstants.EDITOR_JAVADOC_KEYWORD_BOLD,          true);
 
2802                 store.setDefault (PreferenceConstants.EDITOR_JAVADOC_KEYWORD_ITALIC,        false);
 
2803                 store.setDefault (PreferenceConstants.EDITOR_JAVADOC_KEYWORD_UNDERLINE,     false);
 
2804                 store.setDefault (PreferenceConstants.EDITOR_JAVADOC_KEYWORD_STRIKETHROUGH, false);
 
2806                 PreferenceConverter.setDefault (store,PreferenceConstants.EDITOR_JAVADOC_TAG_COLOR, new RGB(127, 127,159));
 
2807                 store.setDefault (PreferenceConstants.EDITOR_JAVADOC_TAG_BOLD,          false);
 
2808                 store.setDefault (PreferenceConstants.EDITOR_JAVADOC_TAG_ITALIC,        false);
 
2809                 store.setDefault (PreferenceConstants.EDITOR_JAVADOC_TAG_UNDERLINE,     false);
 
2810                 store.setDefault (PreferenceConstants.EDITOR_JAVADOC_TAG_STRIKETHROUGH, false);
 
2812                 PreferenceConverter.setDefault (store,PreferenceConstants.EDITOR_JAVADOC_LINKS_COLOR, new RGB(63, 63,191));
 
2813                 store.setDefault (PreferenceConstants.EDITOR_JAVADOC_LINKS_BOLD,          false);
 
2814                 store.setDefault (PreferenceConstants.EDITOR_JAVADOC_LINKS_ITALIC,        false);
 
2815                 store.setDefault (PreferenceConstants.EDITOR_JAVADOC_LINKS_UNDERLINE,     false);
 
2816                 store.setDefault (PreferenceConstants.EDITOR_JAVADOC_LINKS_STRIKETHROUGH, false);
 
2818                 PreferenceConverter.setDefault (store,PreferenceConstants.EDITOR_JAVADOC_DEFAULT_COLOR, new RGB(63,95, 191));
 
2819                 store.setDefault (PreferenceConstants.EDITOR_JAVADOC_DEFAULT_BOLD,          false);
 
2820                 store.setDefault (PreferenceConstants.EDITOR_JAVADOC_DEFAULT_ITALIC,        false);
 
2821                 store.setDefault (PreferenceConstants.EDITOR_JAVADOC_DEFAULT_UNDERLINE,     false);
 
2822                 store.setDefault (PreferenceConstants.EDITOR_JAVADOC_DEFAULT_STRIKETHROUGH, false);
 
2824                 store.setDefault (PreferenceConstants.CODEASSIST_AUTOACTIVATION, true);
 
2825                 store.setDefault (PreferenceConstants.CODEASSIST_AUTOACTIVATION_DELAY,500);
 
2827                 store.setDefault (PreferenceConstants.CODEASSIST_AUTOINSERT, true);
 
2828                 PreferenceConverter.setDefault (store,PreferenceConstants.CODEASSIST_PROPOSALS_BACKGROUND, new RGB(254, 241, 233));
 
2829                 PreferenceConverter.setDefault (store,PreferenceConstants.CODEASSIST_PROPOSALS_FOREGROUND, new RGB(0,0, 0));
 
2830                 PreferenceConverter.setDefault (store,PreferenceConstants.CODEASSIST_PARAMETERS_BACKGROUND, new RGB(254, 241, 233));
 
2831                 PreferenceConverter.setDefault (store,PreferenceConstants.CODEASSIST_PARAMETERS_FOREGROUND, new RGB(0, 0, 0));
 
2832                 PreferenceConverter.setDefault (store,PreferenceConstants.CODEASSIST_REPLACEMENT_BACKGROUND, new RGB(255, 255, 0));
 
2833                 PreferenceConverter.setDefault (store,PreferenceConstants.CODEASSIST_REPLACEMENT_FOREGROUND, new RGB(255, 0, 0));
 
2834                 store.setDefault (PreferenceConstants.CODEASSIST_AUTOACTIVATION_TRIGGERS_JAVA,"$>"); //$NON-NLS-1$
 
2835                 store.setDefault (PreferenceConstants.CODEASSIST_AUTOACTIVATION_TRIGGERS_JAVADOC,"@"); //$NON-NLS-1$
 
2836                 store.setDefault (PreferenceConstants.CODEASSIST_AUTOACTIVATION_TRIGGERS_HTML,"<&#"); //$NON-NLS-1$
 
2837                 store.setDefault (PreferenceConstants.CODEASSIST_SHOW_VISIBLE_PROPOSALS,true);
 
2838                 store.setDefault (PreferenceConstants.CODEASSIST_CASE_SENSITIVITY,false);
 
2839                 store.setDefault (PreferenceConstants.CODEASSIST_ORDER_PROPOSALS, false);
 
2840                 store.setDefault (PreferenceConstants.CODEASSIST_ADDIMPORT, true);
 
2841                 store.setDefault (PreferenceConstants.CODEASSIST_INSERT_COMPLETION,true);
 
2842                 store.setDefault (PreferenceConstants.CODEASSIST_FILL_ARGUMENT_NAMES,false);
 
2843                 store.setDefault (PreferenceConstants.CODEASSIST_GUESS_METHOD_ARGUMENTS,true);
 
2844                 store.setDefault (PreferenceConstants.CODEASSIST_PREFIX_COMPLETION,false);
 
2846                 store.setDefault (PreferenceConstants.EDITOR_SMART_HOME_END, true);
 
2847                 store.setDefault (PreferenceConstants.EDITOR_SUB_WORD_NAVIGATION, true);
 
2848                 store.setDefault (PreferenceConstants.EDITOR_SMART_PASTE, true);
 
2849                 store.setDefault (PreferenceConstants.EDITOR_CLOSE_STRINGS_DQ_PHP, true);
 
2850                 store.setDefault (PreferenceConstants.EDITOR_CLOSE_STRINGS_SQ_PHP, true);
 
2851                 store.setDefault (PreferenceConstants.EDITOR_CLOSE_BRACKETS_PHP, true);
 
2852                 store.setDefault (PreferenceConstants.EDITOR_CLOSE_BRACES, true);
 
2853                 store.setDefault (PreferenceConstants.EDITOR_CLOSE_JAVADOCS, true);
 
2854                 store.setDefault (PreferenceConstants.EDITOR_WRAP_WORDS, false);
 
2855                 store.setDefault (PreferenceConstants.EDITOR_WRAP_STRINGS_DQ, true);
 
2856                 store.setDefault (PreferenceConstants.EDITOR_ESCAPE_STRINGS_DQ, false);
 
2857                 store.setDefault (PreferenceConstants.EDITOR_WRAP_STRINGS_SQ, true);
 
2858                 store.setDefault (PreferenceConstants.EDITOR_ESCAPE_STRINGS_SQ, false);
 
2859                 store.setDefault (PreferenceConstants.EDITOR_ADD_JAVADOC_TAGS, true);
 
2860                 store.setDefault (PreferenceConstants.EDITOR_FORMAT_JAVADOCS, false);
 
2861                 store.setDefault (PreferenceConstants.EDITOR_DISABLE_OVERWRITE_MODE,false);
 
2863                 store.setDefault (PreferenceConstants.EDITOR_CLOSE_STRINGS_HTML, true);
 
2864                 store.setDefault (PreferenceConstants.EDITOR_CLOSE_BRACKETS_HTML, true);
 
2866                 // store.setDefault(PreferenceConstants.EDITOR_DEFAULT_HOVER,
 
2867                 // JavaPlugin.ID_BESTMATCH_HOVER);
 
2868                 store.setDefault (PreferenceConstants.EDITOR_NONE_HOVER,PreferenceConstants.EDITOR_DEFAULT_HOVER_CONFIGURED_ID);
 
2869                 // store.setDefault(PreferenceConstants.EDITOR_CTRL_HOVER,
 
2870                 // JavaPlugin.ID_SOURCE_HOVER);
 
2871                 store.setDefault (PreferenceConstants.EDITOR_SHIFT_HOVER,PreferenceConstants.EDITOR_DEFAULT_HOVER_CONFIGURED_ID);
 
2872                 store.setDefault (PreferenceConstants.EDITOR_CTRL_SHIFT_HOVER,PreferenceConstants.EDITOR_DEFAULT_HOVER_CONFIGURED_ID);
 
2873                 store.setDefault (PreferenceConstants.EDITOR_CTRL_ALT_HOVER,PreferenceConstants.EDITOR_DEFAULT_HOVER_CONFIGURED_ID);
 
2874                 store.setDefault (PreferenceConstants.EDITOR_ALT_SHIFT_HOVER,PreferenceConstants.EDITOR_DEFAULT_HOVER_CONFIGURED_ID);
 
2875                 store.setDefault (PreferenceConstants.EDITOR_CTRL_ALT_SHIFT_HOVER,PreferenceConstants.EDITOR_DEFAULT_HOVER_CONFIGURED_ID);
 
2877                 int modifier = SWT.CTRL;
 
2878                 if (Platform.getOS().equals(Platform.OS_MACOSX))
 
2879                         modifier = SWT.COMMAND;
 
2881                 String ctrl = Action.findModifierString(modifier);
 
2882                 store.setDefault (PreferenceConstants.EDITOR_TEXT_HOVER_MODIFIERS,"net.sourceforge.phpdt.ui.BestMatchHover;0;net.sourceforge.phpdt.ui.JavaSourceHover;" + ctrl); //$NON-NLS-1$
 
2883                 store.setDefault (PreferenceConstants.EDITOR_TEXT_HOVER_MODIFIER_MASKS,"net.sourceforge.phpdt.ui.BestMatchHover;0;net.sourceforge.phpdt.ui.JavaSourceHover;" + modifier); //$NON-NLS-1$
 
2884                 store.setDefault (PreferenceConstants.EDITOR_SHOW_TEXT_HOVER_AFFORDANCE,true);
 
2886                 store.setDefault (PreferenceConstants.EDITOR_BROWSER_LIKE_LINKS, true);
 
2887                 store.setDefault (PreferenceConstants.EDITOR_BROWSER_LIKE_LINKS_KEY_MODIFIER,ctrl);
 
2888                 store.setDefault (PreferenceConstants.EDITOR_BROWSER_LIKE_LINKS_KEY_MODIFIER_MASK,modifier);
 
2891                 store.setDefault (PreferenceConstants.EDITOR_MARK_OCCURRENCES, true);
 
2892                 store.setDefault (PreferenceConstants.EDITOR_STICKY_OCCURRENCES, true);
 
2893                 // store.setDefault(PreferenceConstants.EDITOR_MARK_TYPE_OCCURRENCES,
 
2895                 // store.setDefault(PreferenceConstants.EDITOR_MARK_METHOD_OCCURRENCES,
 
2897                 // store.setDefault(PreferenceConstants.EDITOR_MARK_CONSTANT_OCCURRENCES,
 
2899                 // store.setDefault(PreferenceConstants.EDITOR_MARK_FIELD_OCCURRENCES,
 
2901                 // store.setDefault(PreferenceConstants.EDITOR_MARK_LOCAL_VARIABLE_OCCURRENCES,
 
2903                 // store.setDefault(PreferenceConstants.EDITOR_MARK_EXCEPTION_OCCURRENCES,
 
2905                 // store.setDefault(PreferenceConstants.EDITOR_MARK_METHOD_EXIT_POINTS,
 
2907                 // store.setDefault(PreferenceConstants.EDITOR_MARK_IMPLEMENTORS, true);
 
2910                 store.setDefault (PreferenceConstants.SPELLING_CHECK_SPELLING, false);
 
2911                 store.setDefault (PreferenceConstants.SPELLING_LOCALE, SpellCheckEngine.getDefaultLocale().toString());
 
2912                 store.setDefault (PreferenceConstants.SPELLING_IGNORE_DIGITS, true);
 
2913                 store.setDefault (PreferenceConstants.SPELLING_IGNORE_MIXED, true);
 
2914                 store.setDefault (PreferenceConstants.SPELLING_IGNORE_SENTENCE, true);
 
2915                 store.setDefault (PreferenceConstants.SPELLING_IGNORE_UPPER, true);
 
2916                 store.setDefault (PreferenceConstants.SPELLING_IGNORE_URLS, true);
 
2917                 store.setDefault (PreferenceConstants.SPELLING_USER_DICTIONARY, ""); //$NON-NLS-1$
 
2918                 store.setDefault (PreferenceConstants.SPELLING_PROPOSAL_THRESHOLD, 20);
 
2919                 store.setDefault (PreferenceConstants.SPELLING_ENABLE_CONTENTASSIST,false);
 
2922                 store.setDefault (PreferenceConstants.EDITOR_FOLDING_ENABLED, true);
 
2923                 store.setDefault (PreferenceConstants.EDITOR_FOLDING_PROVIDER,"net.sourceforge.phpdt.ui.text.defaultFoldingProvider"); //$NON-NLS-1$
 
2924                 store.setDefault (PreferenceConstants.EDITOR_FOLDING_JAVADOC, true);
 
2925                 store.setDefault (PreferenceConstants.EDITOR_FOLDING_INNERTYPES, true);
 
2926                 store.setDefault (PreferenceConstants.EDITOR_FOLDING_METHODS, false);
 
2927                 // store.setDefault(PreferenceConstants.EDITOR_FOLDING_IMPORTS, false);
 
2928                 store.setDefault (PreferenceConstants.EDITOR_FOLDING_HEADERS, true);
 
2930                 store.setDefault (PreferenceConstants.EDITOR_SMART_BACKSPACE, true);
 
2931                 store.setDefault (PreferenceConstants.EDITOR_P_RTRIM_ON_SAVE, false);
 
2932                 // do more complicated stuff
 
2933                 // NewJavaProjectPreferencePage.initDefaults(store);
 
2937          * Returns the JDT-UI preference store.
 
2939          * @return the JDT-UI preference store
 
2941         public static IPreferenceStore getPreferenceStore() {
 
2942                 return PHPeclipsePlugin.getDefault().getPreferenceStore();
 
2946         // * Encodes a JRE library to be used in the named preference
 
2947         // <code>NEWPROJECT_JRELIBRARY_LIST</code>.
 
2949         // * @param description a string value describing the JRE library. The
 
2950         // description is used
 
2951         // * to indentify the JDR library in the UI
 
2952         // * @param entries an array of classpath entries to be encoded
 
2954         // * @return the encoded string.
 
2956         // public static String encodeJRELibrary(String description,
 
2957         // IClasspathEntry[] entries) {
 
2958         // return NewJavaProjectPreferencePage.encodeJRELibrary(description,
 
2963         // * Decodes an encoded JRE library and returns its description string.
 
2965         // * @return the description of an encoded JRE library
 
2967         // * @see #encodeJRELibrary(String, IClasspathEntry[])
 
2969         // public static String decodeJRELibraryDescription(String encodedLibrary) {
 
2971         // NewJavaProjectPreferencePage.decodeJRELibraryDescription(encodedLibrary);
 
2975         // * Decodes an encoded JRE library and returns its classpath entries.
 
2977         // * @return the array of classpath entries of an encoded JRE library.
 
2979         // * @see #encodeJRELibrary(String, IClasspathEntry[])
 
2981         // public static IClasspathEntry[] decodeJRELibraryClasspathEntries(String
 
2982         // encodedLibrary) {
 
2984         // NewJavaProjectPreferencePage.decodeJRELibraryClasspathEntries(encodedLibrary);
 
2988         // * Returns the current configuration for the JRE to be used as default in
 
2989         // new Java projects.
 
2990         // * This is a convenience method to access the named preference
 
2991         // <code>NEWPROJECT_JRELIBRARY_LIST
 
2992         // * </code> with the index defined by <code>
 
2993         // NEWPROJECT_JRELIBRARY_INDEX</code>.
 
2995         // * @return the current default set of classpath entries
 
2997         // * @see #NEWPROJECT_JRELIBRARY_LIST
 
2998         // * @see #NEWPROJECT_JRELIBRARY_INDEX
 
3000         // public static IClasspathEntry[] getDefaultJRELibrary() {
 
3001         // return NewJavaProjectPreferencePage.getDefaultJRELibrary();