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;
19 import org.eclipse.jface.action.Action;
20 import org.eclipse.jface.preference.IPreferenceStore;
21 import org.eclipse.jface.preference.PreferenceConverter;
22 import org.eclipse.swt.SWT;
23 import org.eclipse.swt.graphics.RGB;
24 import org.eclipse.ui.texteditor.AbstractDecoratedTextEditorPreferenceConstants;
25 import org.eclipse.ui.texteditor.AbstractTextEditor;
28 //import org.phpeclipse.phpdt.internal.ui.JavaPlugin;
29 //import org.phpeclipse.phpdt.internal.ui.preferences.NewJavaProjectPreferencePage;
32 * Preference constants used in the JDT-UI preference store. Clients should only read the JDT-UI preference store using these
33 * values. Clients are not allowed to modify the preference store programmatically.
37 public class PreferenceConstants {
39 private PreferenceConstants() {
43 * A named preference that controls return type rendering of methods in the UI.
45 * Value is of type <code>Boolean</code>: if <code>true</code> return types are rendered
48 public static final String APPEARANCE_METHOD_RETURNTYPE = "net.sourceforge.phpdt.ui.methodreturntype"; //$NON-NLS-1$
51 * A named preference that controls if override indicators are rendered in the UI.
53 * Value is of type <code>Boolean</code>: if <code>true</code> override indicators are rendered
56 public static final String APPEARANCE_OVERRIDE_INDICATOR = "net.sourceforge.phpdt.ui.overrideindicator"; //$NON-NLS-1$
59 * A named preference that defines the pattern used for package name compression.
61 * Value is of type <code>String</code>. For example foe the given package name 'org.eclipse.jdt' pattern '.' will compress it
62 * to '..jdt', '1~' to 'o~.e~.jdt'.
65 public static final String APPEARANCE_PKG_NAME_PATTERN_FOR_PKG_VIEW = "PackagesView.pkgNamePatternForPackagesView"; //$NON-NLS-1$
68 * A named preference that controls if package name compression is turned on or off.
70 * Value is of type <code>Boolean</code>.
73 * @see #APPEARANCE_PKG_NAME_PATTERN_FOR_PKG_VIEW
75 public static final String APPEARANCE_COMPRESS_PACKAGE_NAMES = "net.sourceforge.phpdt.ui.compresspackagenames"; //$NON-NLS-1$
78 * A named preference that controls if empty inner packages are folded in the hierarchical mode of the package explorer.
80 * Value is of type <code>Boolean</code>: if <code>true</code> empty inner packages are folded.
85 public static final String APPEARANCE_FOLD_PACKAGES_IN_PACKAGE_EXPLORER = "net.sourceforge.phpdt.ui.flatPackagesInPackageExplorer"; //$NON-NLS-1$
88 * A named preference that defines how member elements are ordered by the Java views using the <code>JavaElementSorter</code>.
90 * Value is of type <code>String</code>: A comma separated list of the following entries. Each entry must be in the list, no
91 * duplication. List order defines the sort order.
93 * <li><b>T </b>: Types</li>
94 * <li><b>C </b>: Constructors</li>
95 * <li><b>I </b>: Initializers</li>
96 * <li><b>M </b>: Methods</li>
97 * <li><b>F </b>: Fields</li>
98 * <li><b>SI </b>: Static Initializers</li>
99 * <li><b>SM </b>: Static Methods</li>
100 * <li><b>SF </b>: Static Fields</li>
106 public static final String APPEARANCE_MEMBER_SORT_ORDER = "outlinesortoption"; //$NON-NLS-1$
109 * A named preference that defines how member elements are ordered by visibility in the Java views using the
110 * <code>JavaElementSorter</code>.
112 * Value is of type <code>String</code>: A comma separated list of the following entries. Each entry must be in the list, no
113 * duplication. List order defines the sort order.
115 * <li><b>B </b>: Public</li>
116 * <li><b>V </b>: Private</li>
117 * <li><b>R </b>: Protected</li>
118 * <li><b>D </b>: Default</li>
124 public static final String APPEARANCE_VISIBILITY_SORT_ORDER = "net.sourceforge.phpdt.ui.visibility.order"; //$NON-NLS-1$
127 * A named preferences that controls if Java elements are also sorted by visibility.
129 * Value is of type <code>Boolean</code>.
134 public static final String APPEARANCE_ENABLE_VISIBILITY_SORT_ORDER = "net.sourceforge.phpdt.ui.enable.visibility.order"; //$NON-NLS-1$
137 * A named preference that controls if prefix removal during setter/getter generation is turned on or off.
139 * Value is of type <code>Boolean</code>.
142 public static final String CODEGEN_USE_GETTERSETTER_PREFIX = "net.sourceforge.phpdt.ui.gettersetter.prefix.enable"; //$NON-NLS-1$
145 * A named preference that holds a list of prefixes to be removed from a local variable to compute setter and gettter names.
147 * Value is of type <code>String</code>: comma separated list of prefixed
150 * @see #CODEGEN_USE_GETTERSETTER_PREFIX
152 public static final String CODEGEN_GETTERSETTER_PREFIX = "net.sourceforge.phpdt.ui.gettersetter.prefix.list"; //$NON-NLS-1$
155 * A named preference that controls if suffix removal during setter/getter generation is turned on or off.
157 * Value is of type <code>Boolean</code>.
160 public static final String CODEGEN_USE_GETTERSETTER_SUFFIX = "net.sourceforge.phpdt.ui.gettersetter.suffix.enable"; //$NON-NLS-1$
163 * A named preference that holds a list of suffixes to be removed from a local variable to compute setter and getter names.
165 * Value is of type <code>String</code>: comma separated list of suffixes
168 * @see #CODEGEN_USE_GETTERSETTER_SUFFIX
170 public static final String CODEGEN_GETTERSETTER_SUFFIX = "net.sourceforge.phpdt.ui.gettersetter.suffix.list"; //$NON-NLS-1$
173 * A named preference that controls if comment stubs will be added automatically to newly created types and methods.
175 * Value is of type <code>Boolean</code>.
180 public static final String CODEGEN_ADD_COMMENTS = "net.sourceforge.phpdt.ui.phpdoc"; //$NON-NLS-1$
183 * A name preference that controls if a JavaDoc stub gets added to newly created types and methods.
185 * Value is of type <code>Boolean</code>.
188 * @deprecated Use CODEGEN_ADD_COMMENTS instead (Name is more precise).
190 // public static final String CODEGEN__JAVADOC_STUBS = CODEGEN_ADD_COMMENTS; //$NON-NLS-1$
192 * A named preference that controls if a non-phpdoc comment gets added to methods generated via the "Override Methods" operation.
194 * Value is of type <code>Boolean</code>.
197 public static final String CODEGEN__NON_JAVADOC_COMMENTS = "net.sourceforge.phpdt.ui.seecomments"; //$NON-NLS-1$
200 * A named preference that controls if a file comment gets added to newly created files.
202 * Value is of type <code>Boolean</code>.
205 public static final String CODEGEN__FILE_COMMENTS = "net.sourceforge.phpdt.ui.filecomments"; //$NON-NLS-1$
208 * A named preference that holds a list of comma separated package names. The list specifies the import order used by the
209 * "Organize Imports" opeation.
211 * Value is of type <code>String</code>: semicolon separated list of package names
214 public static final String ORGIMPORTS_IMPORTORDER = "net.sourceforge.phpdt.ui.importorder"; //$NON-NLS-1$
217 * A named preference that specifies the number of imports added before a star-import declaration is used.
219 * Value is of type <code>Int</code>: positive value specifing the number of non star-import is used
222 public static final String ORGIMPORTS_ONDEMANDTHRESHOLD = "net.sourceforge.phpdt.ui.ondemandthreshold"; //$NON-NLS-1$
225 * A named preferences that controls if types that start with a lower case letters get added by the "Organize Import" operation.
227 * Value is of type <code>Boolean</code>.
230 public static final String ORGIMPORTS_IGNORELOWERCASE = "net.sourceforge.phpdt.ui.ignorelowercasenames"; //$NON-NLS-1$
233 * A named preference that speficies whether children of a compilation unit are shown in the package explorer.
235 * Value is of type <code>Boolean</code>.
238 public static final String SHOW_CU_CHILDREN = "net.sourceforge.phpdt.ui.packages.cuchildren"; //$NON-NLS-1$
241 * A named preference that controls whether the package explorer's selection is linked to the active editor.
243 * Value is of type <code>Boolean</code>.
246 public static final String LINK_PACKAGES_TO_EDITOR = "net.sourceforge.phpdt.ui.packages.linktoeditor"; //$NON-NLS-1$
249 * A named preference that controls whether the hierarchy view's selection is linked to the active editor.
251 * Value is of type <code>Boolean</code>.
254 public static final String LINK_TYPEHIERARCHY_TO_EDITOR = "net.sourceforge.phpdt.ui.packages.linktypehierarchytoeditor"; //$NON-NLS-1$
257 * A named preference that controls whether the browsing view's selection is linked to the active editor.
259 * Value is of type <code>Boolean</code>.
264 public static final String LINK_BROWSING_VIEW_TO_EDITOR = "net.sourceforge.phpdt.ui.browsing.linktoeditor"; //$NON-NLS-1$
267 * A named preference that controls whether new projects are generated using source and output folder.
269 * Value is of type <code>Boolean</code>. if <code>true</code> new projects are created with a source and output folder. If
270 * <code>false</code> source and output folder equals to the project.
273 public static final String SRCBIN_FOLDERS_IN_NEWPROJ = "net.sourceforge.phpdt.ui.wizards.srcBinFoldersInNewProjects"; //$NON-NLS-1$
276 * A named preference that specifies the source folder name used when creating a new Java project. Value is inactive if
277 * <code>SRCBIN_FOLDERS_IN_NEWPROJ</code> is set to <code>false</code>.
279 * Value is of type <code>String</code>.
282 * @see #SRCBIN_FOLDERS_IN_NEWPROJ
284 public static final String SRCBIN_SRCNAME = "net.sourceforge.phpdt.ui.wizards.srcBinFoldersSrcName"; //$NON-NLS-1$
287 * A named preference that specifies the output folder name used when creating a new Java project. Value is inactive if
288 * <code>SRCBIN_FOLDERS_IN_NEWPROJ</code> is set to <code>false</code>.
290 * Value is of type <code>String</code>.
293 * @see #SRCBIN_FOLDERS_IN_NEWPROJ
295 public static final String SRCBIN_BINNAME = "net.sourceforge.phpdt.ui.wizards.srcBinFoldersBinName"; //$NON-NLS-1$
298 * A named preference that holds a list of possible JRE libraries used by the New Java Project wizard. An library consists of a
299 * description and an arbitrary number of <code>IClasspathEntry</code>s, that will represent the JRE on the new project's
302 * Value is of type <code>String</code>: a semicolon separated list of encoded JRE libraries.
303 * <code>NEWPROJECT_JRELIBRARY_INDEX</code> defines the currently used library. Clients should use the method
304 * <code>encodeJRELibrary</code> to encode a JRE library into a string and the methods
305 * <code>decodeJRELibraryDescription(String)</code> and <code>
306 * decodeJRELibraryClasspathEntries(String)</code> to decode the
307 * description and the array of classpath entries from an encoded string.
310 * @see #NEWPROJECT_JRELIBRARY_INDEX
311 * @see #encodeJRELibrary(String, IClasspathEntry[])
312 * @see #decodeJRELibraryDescription(String)
313 * @see #decodeJRELibraryClasspathEntries(String)
315 public static final String NEWPROJECT_JRELIBRARY_LIST = "net.sourceforge.phpdt.ui.wizards.jre.list"; //$NON-NLS-1$
318 * A named preferences that specifies the current active JRE library.
320 * Value is of type <code>Int</code>: an index into the list of possible JRE libraries.
323 * @see #NEWPROJECT_JRELIBRARY_LIST
325 public static final String NEWPROJECT_JRELIBRARY_INDEX = "net.sourceforge.phpdt.ui.wizards.jre.index"; //$NON-NLS-1$
328 * A named preference that controls if a new type hierarchy gets opened in a new type hierarchy perspective or inside the type
329 * hierarchy view part.
331 * Value is of type <code>String</code>: possible values are <code>
332 * OPEN_TYPE_HIERARCHY_IN_PERSPECTIVE</code> or <code>
333 * OPEN_TYPE_HIERARCHY_IN_VIEW_PART</code>.
336 * @see #OPEN_TYPE_HIERARCHY_IN_PERSPECTIVE
337 * @see #OPEN_TYPE_HIERARCHY_IN_VIEW_PART
339 public static final String OPEN_TYPE_HIERARCHY = "net.sourceforge.phpdt.ui.openTypeHierarchy"; //$NON-NLS-1$
342 * A string value used by the named preference <code>OPEN_TYPE_HIERARCHY</code>.
344 * @see #OPEN_TYPE_HIERARCHY
346 public static final String OPEN_TYPE_HIERARCHY_IN_PERSPECTIVE = "perspective"; //$NON-NLS-1$
349 * A string value used by the named preference <code>OPEN_TYPE_HIERARCHY</code>.
351 * @see #OPEN_TYPE_HIERARCHY
353 public static final String OPEN_TYPE_HIERARCHY_IN_VIEW_PART = "viewPart"; //$NON-NLS-1$
356 * A named preference that controls the behaviour when double clicking on a container in the packages view.
358 * Value is of type <code>String</code>: possible values are <code>
359 * DOUBLE_CLICK_GOES_INTO</code> or <code>
360 * DOUBLE_CLICK_EXPANDS</code>.
363 * @see #DOUBLE_CLICK_EXPANDS
364 * @see #DOUBLE_CLICK_GOES_INTO
366 public static final String DOUBLE_CLICK = "packageview.doubleclick"; //$NON-NLS-1$
369 * A string value used by the named preference <code>DOUBLE_CLICK</code>.
373 public static final String DOUBLE_CLICK_GOES_INTO = "packageview.gointo"; //$NON-NLS-1$
376 * A string value used by the named preference <code>DOUBLE_CLICK</code>.
380 public static final String DOUBLE_CLICK_EXPANDS = "packageview.doubleclick.expands"; //$NON-NLS-1$
383 * A named preference that controls whether Java views update their presentation while editing or when saving the content of an
386 * Value is of type <code>String</code>: possible values are <code>
387 * UPDATE_ON_SAVE</code> or <code>
388 * UPDATE_WHILE_EDITING</code>.
391 * @see #UPDATE_ON_SAVE
392 * @see #UPDATE_WHILE_EDITING
394 public static final String UPDATE_JAVA_VIEWS = "JavaUI.update"; //$NON-NLS-1$
397 * A string value used by the named preference <code>UPDATE_JAVA_VIEWS</code>
399 * @see #UPDATE_JAVA_VIEWS
401 public static final String UPDATE_ON_SAVE = "JavaUI.update.onSave"; //$NON-NLS-1$
404 * A string value used by the named preference <code>UPDATE_JAVA_VIEWS</code>
406 * @see #UPDATE_JAVA_VIEWS
408 public static final String UPDATE_WHILE_EDITING = "JavaUI.update.whileEditing"; //$NON-NLS-1$
411 * A named preference that holds the path of the Javadoc command used by the Javadoc creation wizard.
413 * Value is of type <code>String</code>.
416 public static final String JAVADOC_COMMAND = "command"; //$NON-NLS-1$
419 * A named preference that defines whether hint to make hover sticky should be shown.
424 public static final String EDITOR_SHOW_TEXT_HOVER_AFFORDANCE = "PreferenceConstants.EDITOR_SHOW_TEXT_HOVER_AFFORDANCE"; //$NON-NLS-1$
427 * A named preference that defines the key for the hover modifiers.
432 public static final String EDITOR_TEXT_HOVER_MODIFIERS = "hoverModifiers"; //$NON-NLS-1$
435 * The id of the best match hover contributed for extension point <code>javaEditorTextHovers</code>.
439 public static String ID_BESTMATCH_HOVER = "net.sourceforge.phpdt.ui.BestMatchHover"; //$NON-NLS-1$
442 * The id of the source code hover contributed for extension point <code>javaEditorTextHovers</code>.
446 public static String ID_SOURCE_HOVER = "net.sourceforge.phpdt.ui.JavaSourceHover"; //$NON-NLS-1$
449 * The id of the problem hover contributed for extension point <code>javaEditorTextHovers</code>.
453 public static String ID_PROBLEM_HOVER = "net.sourceforge.phpdt.ui.ProblemHover"; //$NON-NLS-1$
456 * A named preference that controls whether bracket matching highlighting is turned on or off.
458 * Value is of type <code>Boolean</code>.
461 public final static String EDITOR_MATCHING_BRACKETS = "matchingBrackets"; //$NON-NLS-1$
464 * A named preference that holds the color used to highlight matching brackets.
466 * Value is of type <code>String</code>. A RGB color value encoded as a string using class <code>PreferenceConverter</code>
469 * @see org.eclipse.jface.resource.StringConverter
470 * @see org.eclipse.jface.preference.PreferenceConverter
472 public final static String EDITOR_MATCHING_BRACKETS_COLOR = "matchingBracketsColor"; //$NON-NLS-1$
475 * A named preference that controls whether the current line highlighting is turned on or off.
477 * Value is of type <code>Boolean</code>.
480 public final static String EDITOR_CURRENT_LINE = "currentLine"; //$NON-NLS-1$
483 * A named preference that holds the color used to highlight the current line.
485 * Value is of type <code>String</code>. A RGB color value encoded as a string using class <code>PreferenceConverter</code>
488 * @see org.eclipse.jface.resource.StringConverter
489 * @see org.eclipse.jface.preference.PreferenceConverter
491 public final static String EDITOR_CURRENT_LINE_COLOR = "currentLineColor"; //$NON-NLS-1$
494 * A named preference that controls whether the print margin is turned on or off.
496 * Value is of type <code>Boolean</code>.
499 public final static String EDITOR_PRINT_MARGIN = "printMargin"; //$NON-NLS-1$
502 * A named preference that holds the color used to render the print margin.
504 * Value is of type <code>String</code>. A RGB color value encoded as a string using class <code>PreferenceConverter</code>
507 * @see org.eclipse.jface.resource.StringConverter
508 * @see org.eclipse.jface.preference.PreferenceConverter
510 public final static String EDITOR_PRINT_MARGIN_COLOR = "printMarginColor"; //$NON-NLS-1$
513 * Print margin column. Int value.
515 public final static String EDITOR_PRINT_MARGIN_COLUMN = "printMarginColumn"; //$NON-NLS-1$
518 * A named preference that holds the color used for the find/replace scope.
520 * Value is of type <code>String</code>. A RGB color value encoded as a string using class <code>PreferenceConverter</code>
523 * @see org.eclipse.jface.resource.StringConverter
524 * @see org.eclipse.jface.preference.PreferenceConverter
526 public final static String EDITOR_FIND_SCOPE_COLOR = AbstractTextEditor.PREFERENCE_COLOR_FIND_SCOPE;
529 * A named preference that specifies if the editor uses spaces for tabs.
531 * Value is of type <code>Boolean</code>. If <code>true</code> spaces instead of tabs are used in the editor. If
532 * <code>false</code> the editor inserts a tab character when pressing the tab key.
535 public final static String EDITOR_SPACES_FOR_TABS = "spacesForTabs"; //$NON-NLS-1$
538 * A named preference that holds the number of spaces used per tab in the editor.
540 * Value is of type <code>Int</code>: positive int value specifying the number of spaces per tab.
543 public final static String EDITOR_TAB_WIDTH = AbstractDecoratedTextEditorPreferenceConstants.EDITOR_TAB_WIDTH; //"net.sourceforge.phpdt.ui.editor.tab.width";
548 * A named preference that controls whether the outline view selection should stay in sync with with the element at the current
551 * Value is of type <code>Boolean</code>.
556 public final static String EDITOR_SYNC_OUTLINE_ON_CURSOR_MOVE = "JavaEditor.SyncOutlineOnCursorMove"; //$NON-NLS-1$
559 * A named preference that controls if correction indicators are shown in the UI.
561 * Value is of type <code>Boolean</code>.
564 public final static String EDITOR_CORRECTION_INDICATION = "JavaEditor.ShowTemporaryProblem"; //$NON-NLS-1$
567 * A named preference that controls whether the editor shows problem indicators in text (squiggly lines).
569 * Value is of type <code>Boolean</code>.
572 // public final static String EDITOR_PROBLEM_INDICATION = "problemIndication"; //$NON-NLS-1$
574 * A named preference that holds the color used to render problem indicators.
576 * Value is of type <code>String</code>. A RGB color value encoded as a string using class <code>PreferenceConverter</code>
579 * @see #EDITOR_PROBLEM_INDICATION
580 * @see org.eclipse.jface.resource.StringConverter
581 * @see org.eclipse.jface.preference.PreferenceConverter
583 // public final static String EDITOR_PROBLEM_INDICATION_COLOR = "problemIndicationColor"; //$NON-NLS-1$
585 * PreferenceConstants.EDITOR_PROBLEM_INDICATION_COLOR; A named preference that controls whether the editor shows warning
586 * indicators in text (squiggly lines).
588 * Value is of type <code>Boolean</code>.
591 // public final static String EDITOR_WARNING_INDICATION = "warningIndication"; //$NON-NLS-1$
593 * A named preference that holds the color used to render warning indicators.
595 * Value is of type <code>String</code>. A RGB color value encoded as a string using class <code>PreferenceConverter</code>
598 * @see #EDITOR_WARNING_INDICATION
599 * @see org.eclipse.jface.resource.StringConverter
600 * @see org.eclipse.jface.preference.PreferenceConverter
602 // public final static String EDITOR_WARNING_INDICATION_COLOR = "warningIndicationColor"; //$NON-NLS-1$
604 * A named preference that controls whether the editor shows task indicators in text (squiggly lines).
606 * Value is of type <code>Boolean</code>.
609 public final static String EDITOR_TASK_INDICATION = "taskIndication"; //$NON-NLS-1$
612 * A named preference that holds the color used to render task indicators.
614 * Value is of type <code>String</code>. A RGB color value encoded as a string using class <code>PreferenceConverter</code>
617 * @see #EDITOR_TASK_INDICATION
618 * @see org.eclipse.jface.resource.StringConverter
619 * @see org.eclipse.jface.preference.PreferenceConverter
621 public final static String EDITOR_TASK_INDICATION_COLOR = "taskIndicationColor"; //$NON-NLS-1$
624 * A named preference that controls whether the editor shows bookmark indicators in text (squiggly lines).
626 * Value is of type <code>Boolean</code>.
631 public final static String EDITOR_BOOKMARK_INDICATION = "bookmarkIndication"; //$NON-NLS-1$
634 * A named preference that holds the color used to render bookmark indicators.
636 * Value is of type <code>String</code>. A RGB color value encoded as a string using class <code>PreferenceConverter</code>
639 * @see #EDITOR_BOOKMARK_INDICATION
640 * @see org.eclipse.jface.resource.StringConverter
641 * @see org.eclipse.jface.preference.PreferenceConverter
644 public final static String EDITOR_BOOKMARK_INDICATION_COLOR = "bookmarkIndicationColor"; //$NON-NLS-1$
647 * A named preference that controls whether the editor shows search indicators in text (squiggly lines).
649 * Value is of type <code>Boolean</code>.
654 public final static String EDITOR_SEARCH_RESULT_INDICATION = "searchResultIndication"; //$NON-NLS-1$
657 * A named preference that holds the color used to render search indicators.
659 * Value is of type <code>String</code>. A RGB color value encoded as a string using class <code>PreferenceConverter</code>
662 * @see #EDITOR_SEARCH_RESULT_INDICATION
663 * @see org.eclipse.jface.resource.StringConverter
664 * @see org.eclipse.jface.preference.PreferenceConverter
667 public final static String EDITOR_SEARCH_RESULT_INDICATION_COLOR = "searchResultIndicationColor"; //$NON-NLS-1$
670 * A named preference that controls whether the editor shows unknown indicators in text (squiggly lines).
672 * Value is of type <code>Boolean</code>.
677 public final static String EDITOR_UNKNOWN_INDICATION = "othersIndication"; //$NON-NLS-1$
680 * A named preference that holds the color used to render unknown indicators.
682 * Value is of type <code>String</code>. A RGB color value encoded as a string using class <code>PreferenceConverter</code>
685 * @see #EDITOR_UNKNOWN_INDICATION
686 * @see org.eclipse.jface.resource.StringConverter
687 * @see org.eclipse.jface.preference.PreferenceConverter
690 public final static String EDITOR_UNKNOWN_INDICATION_COLOR = "othersIndicationColor"; //$NON-NLS-1$
693 * A named preference that controls whether the overview ruler shows error indicators.
695 * Value is of type <code>Boolean</code>.
700 public final static String EDITOR_ERROR_INDICATION_IN_OVERVIEW_RULER = "errorIndicationInOverviewRuler"; //$NON-NLS-1$
703 * A named preference that controls whether the overview ruler shows warning indicators.
705 * Value is of type <code>Boolean</code>.
710 public final static String EDITOR_WARNING_INDICATION_IN_OVERVIEW_RULER = "warningIndicationInOverviewRuler"; //$NON-NLS-1$
713 * A named preference that controls whether the overview ruler shows task indicators.
715 * Value is of type <code>Boolean</code>.
720 public final static String EDITOR_TASK_INDICATION_IN_OVERVIEW_RULER = "taskIndicationInOverviewRuler"; //$NON-NLS-1$
723 * A named preference that controls whether the overview ruler shows bookmark indicators.
725 * Value is of type <code>Boolean</code>.
730 public final static String EDITOR_BOOKMARK_INDICATION_IN_OVERVIEW_RULER = "bookmarkIndicationInOverviewRuler"; //$NON-NLS-1$
733 * A named preference that controls whether the overview ruler shows search result indicators.
735 * Value is of type <code>Boolean</code>.
740 public final static String EDITOR_SEARCH_RESULT_INDICATION_IN_OVERVIEW_RULER = "searchResultIndicationInOverviewRuler"; //$NON-NLS-1$
743 * A named preference that controls whether the overview ruler shows unknown indicators.
745 * Value is of type <code>Boolean</code>.
750 public final static String EDITOR_UNKNOWN_INDICATION_IN_OVERVIEW_RULER = "othersIndicationInOverviewRuler"; //$NON-NLS-1$
753 * A named preference that controls whether the 'close strings' feature is enabled in PHP mode
755 * Value is of type <code>Boolean</code>.
758 public final static String EDITOR_CLOSE_STRINGS_DQ_PHP = "closeStringsPHPDQ"; //$NON-NLS-1$
761 * A named preference that controls whether the 'close strings' feature is enabled in PHP mode
763 * Value is of type <code>Boolean</code>.
766 public final static String EDITOR_CLOSE_STRINGS_SQ_PHP = "closeStringsPHPSQ"; //$NON-NLS-1$
769 * A named preference that controls whether the 'close brackets' feature is enabled in PHP mode
771 * Value is of type <code>Boolean</code>.
776 public final static String EDITOR_CLOSE_BRACKETS_PHP = "closeBracketsPHP"; //$NON-NLS-1$
779 * A named preference that controls whether the 'wrap words' feature is enabled.
781 * Value is of type <code>Boolean</code>.
786 public final static String EDITOR_WRAP_WORDS = "wrapWords"; //$NON-NLS-1$
789 * A named preference that controls whether the 'wrap strings' feature is enabled.
791 * Value is of type <code>Boolean</code>.
796 public final static String EDITOR_WRAP_STRINGS_DQ = "wrapStringsDQ"; //$NON-NLS-1$
799 * A named preference that controls whether the 'escape strings' feature is enabled.
801 * Value is of type <code>Boolean</code>.
806 public final static String EDITOR_ESCAPE_STRINGS_DQ = "escapeStringsDQ"; //$NON-NLS-1$
809 * A named preference that controls whether the 'wrap strings' feature is enabled.
811 * Value is of type <code>Boolean</code>.
816 public final static String EDITOR_WRAP_STRINGS_SQ = "wrapStringsDQ"; //$NON-NLS-1$
819 * A named preference that controls whether the 'escape strings' feature is enabled.
821 * Value is of type <code>Boolean</code>.
826 public final static String EDITOR_ESCAPE_STRINGS_SQ = "escapeStringsSQ"; //$NON-NLS-1$
829 * A named preference that controls if content assist inserts the common prefix of all proposals before presenting choices.
831 * Value is of type <code>Boolean</code>.
836 public final static String CODEASSIST_PREFIX_COMPLETION = "content_assist_prefix_completion"; //$NON-NLS-1$
839 * A named preference that controls whether the 'close braces' feature is enabled.
841 * Value is of type <code>Boolean</code>.
846 public final static String EDITOR_CLOSE_BRACES = "closeBraces"; //$NON-NLS-1$
849 * A named preference that controls whether the 'close php docs' feature is enabled.
851 * Value is of type <code>Boolean</code>.
856 public final static String EDITOR_CLOSE_JAVADOCS = "closeJavaDocs"; //$NON-NLS-1$
859 * A named preference that controls whether the 'add JavaDoc tags' feature is enabled.
861 * Value is of type <code>Boolean</code>.
866 public final static String EDITOR_ADD_JAVADOC_TAGS = "addJavaDocTags"; //$NON-NLS-1$
869 * A named preference that controls whether the 'format Javadoc tags' feature is enabled.
871 * Value is of type <code>Boolean</code>.
876 public final static String EDITOR_FORMAT_JAVADOCS = "formatJavaDocs"; //$NON-NLS-1$
879 * A named preference that controls whether the 'smart paste' feature is enabled.
881 * Value is of type <code>Boolean</code>.
886 public final static String EDITOR_SMART_PASTE = "smartPaste"; //$NON-NLS-1$
889 * A named preference that controls whether the 'close strings' feature is enabled in HTML mode
891 * Value is of type <code>Boolean</code>.
896 public final static String EDITOR_CLOSE_STRINGS_HTML = "closeStringsHTML"; //$NON-NLS-1$
899 * A named preference that controls whether the 'close brackets' feature is enabled in HTML mode
901 * Value is of type <code>Boolean</code>.
906 public final static String EDITOR_CLOSE_BRACKETS_HTML = "closeBracketsHTML"; //$NON-NLS-1$
909 * A named preference that controls whether the 'smart home-end' feature is enabled.
911 * Value is of type <code>Boolean</code>.
916 public final static String EDITOR_SMART_HOME_END = AbstractTextEditor.PREFERENCE_NAVIGATION_SMART_HOME_END;
919 * A named preference that controls whether the 'sub-word navigation' feature is enabled.
921 * Value is of type <code>Boolean</code>.
926 public final static String EDITOR_SUB_WORD_NAVIGATION = "subWordNavigation"; //$NON-NLS-1$
929 * A named preference that controls if temporary problems are evaluated and shown in the UI.
931 * Value is of type <code>Boolean</code>.
934 public final static String EDITOR_EVALUTE_TEMPORARY_PROBLEMS = "handleTemporaryProblems"; //$NON-NLS-1$
937 * A named preference that controls if the overview ruler is shown in the UI.
939 * Value is of type <code>Boolean</code>.
942 public final static String EDITOR_OVERVIEW_RULER = "overviewRuler"; //$NON-NLS-1$
945 * A named preference that controls if the line number ruler is shown in the UI.
947 * Value is of type <code>Boolean</code>.
950 public final static String EDITOR_LINE_NUMBER_RULER = "lineNumberRuler"; //$NON-NLS-1$
953 * A named preference that holds the color used to render line numbers inside the line number ruler.
955 * Value is of type <code>String</code>. A RGB color value encoded as a string using class <code>PreferenceConverter</code>
958 * @see org.eclipse.jface.resource.StringConverter
959 * @see org.eclipse.jface.preference.PreferenceConverter
960 * @see #EDITOR_LINE_NUMBER_RULER
962 public final static String EDITOR_LINE_NUMBER_RULER_COLOR = "lineNumberColor"; //$NON-NLS-1$
965 * A named preference that holds the color used to render linked positions inside code templates.
967 * Value is of type <code>String</code>. A RGB color value encoded as a string using class <code>PreferenceConverter</code>
970 * @see org.eclipse.jface.resource.StringConverter
971 * @see org.eclipse.jface.preference.PreferenceConverter
973 public final static String EDITOR_LINKED_POSITION_COLOR = "linkedPositionColor"; //$NON-NLS-1$
976 * A named preference that holds the color used as the text foreground.
978 * Value is of type <code>String</code>. A RGB color value encoded as a string using class <code>PreferenceConverter</code>
981 * @see org.eclipse.jface.resource.StringConverter
982 * @see org.eclipse.jface.preference.PreferenceConverter
984 public final static String EDITOR_FOREGROUND_COLOR = AbstractTextEditor.PREFERENCE_COLOR_FOREGROUND;
987 * A named preference that describes if the system default foreground color is used as the text foreground.
989 * Value is of type <code>Boolean</code>.
992 public final static String EDITOR_FOREGROUND_DEFAULT_COLOR = AbstractTextEditor.PREFERENCE_COLOR_FOREGROUND_SYSTEM_DEFAULT;
995 * A named preference that holds the color used as the text background.
997 * Value is of type <code>String</code>. A RGB color value encoded as a string using class <code>PreferenceConverter</code>
1000 * @see org.eclipse.jface.resource.StringConverter
1001 * @see org.eclipse.jface.preference.PreferenceConverter
1003 public final static String EDITOR_BACKGROUND_COLOR = AbstractTextEditor.PREFERENCE_COLOR_BACKGROUND;
1006 * A named preference that describes if the system default background color is used as the text foreground.
1008 * Value is of type <code>Boolean</code>.
1011 public final static String EDITOR_BACKGROUND_DEFAULT_COLOR = AbstractTextEditor.PREFERENCE_COLOR_BACKGROUND_SYSTEM_DEFAULT;
1014 * Preference key suffix for bold text style preference keys.
1016 public static final String EDITOR_BOLD_SUFFIX = "_bold"; //$NON-NLS-1$
1019 * Preference key suffix for bold text style preference keys.
1021 public static final String EDITOR_ITALIC_SUFFIX = "_italic"; //$NON-NLS-1$
1024 * A named preference that holds the color used to render multi line comments.
1026 * Value is of type <code>String</code>. A RGB color value encoded as a string using class <code>PreferenceConverter</code>
1029 * @see org.eclipse.jface.resource.StringConverter
1030 * @see org.eclipse.jface.preference.PreferenceConverter
1032 public final static String EDITOR_MULTI_LINE_COMMENT_COLOR = IPreferenceConstants.PHP_MULTILINE_COMMENT;
1035 * The symbolic font name for the Java editor text font (value <code>"org.eclipse.jdt.ui.editors.textfont"</code>).
1039 public final static String EDITOR_TEXT_FONT = "net.sourceforge.phpdt.ui.editors.textfont"; //$NON-NLS-1$
1042 * A named preference that controls whether multi line comments are rendered in bold.
1044 * Value is of type <code>Boolean</code>. If <code>true</code> multi line comments are rendered in bold. If
1045 * <code>false</code> the are rendered using no font style attribute.
1048 public final static String EDITOR_MULTI_LINE_COMMENT_BOLD = IPreferenceConstants.PHP_MULTILINE_COMMENT + EDITOR_BOLD_SUFFIX;
1051 * A named preference that holds the color used to render single line comments.
1053 * Value is of type <code>String</code>. A RGB color value encoded as a string using class <code>PreferenceConverter</code>
1056 * @see org.eclipse.jface.resource.StringConverter
1057 * @see org.eclipse.jface.preference.PreferenceConverter
1059 public final static String EDITOR_SINGLE_LINE_COMMENT_COLOR = IPreferenceConstants.PHP_SINGLELINE_COMMENT;
1062 * A named preference that controls whether sinle line comments are rendered in bold.
1064 * Value is of type <code>Boolean</code>. If <code>true</code> single line comments are rendered in bold. If
1065 * <code>false</code> the are rendered using no font style attribute.
1068 public final static String EDITOR_SINGLE_LINE_COMMENT_BOLD = IPreferenceConstants.PHP_SINGLELINE_COMMENT + EDITOR_BOLD_SUFFIX;
1071 * A named preference that holds the color used to render operators and brackets.
1073 * Value is of type <code>String</code>. A RGB color value encoded as a string using class <code>PreferenceConverter</code>
1076 * @see org.eclipse.jface.resource.StringConverter
1077 * @see org.eclipse.jface.preference.PreferenceConverter
1080 public final static String EDITOR_PHP_OPERATOR_COLOR = IPreferenceConstants.PHP_OPERATOR;
1083 * A named preference that controls whether operators and brackets are rendered in bold.
1085 * Value is of type <code>Boolean</code>.
1090 public final static String EDITOR_PHP_OPERATOR_BOLD = IPreferenceConstants.PHP_OPERATOR + EDITOR_BOLD_SUFFIX;
1093 * A named preference that controls whether operators and brackets are rendered in italic.
1095 * Value is of type <code>Boolean</code>.
1100 public final static String EDITOR_PHP_OPERATOR_ITALIC = IPreferenceConstants.PHP_OPERATOR + EDITOR_ITALIC_SUFFIX;
1103 * A named preference that holds the color used to render operators and brackets.
1105 * Value is of type <code>String</code>. A RGB color value encoded as a string using class <code>PreferenceConverter</code>
1108 * @see org.eclipse.jface.resource.StringConverter
1109 * @see org.eclipse.jface.preference.PreferenceConverter
1112 public final static String EDITOR_PHP_BRACE_OPERATOR_COLOR = IPreferenceConstants.PHP_BRACE_OPERATOR;
1115 * A named preference that controls whether operators and brackets are rendered in bold.
1117 * Value is of type <code>Boolean</code>.
1122 public final static String EDITOR_PHP_BRACE_OPERATOR_BOLD = IPreferenceConstants.PHP_BRACE_OPERATOR + EDITOR_BOLD_SUFFIX;
1125 * A named preference that controls whether operators and brackets are rendered in italic.
1127 * Value is of type <code>Boolean</code>.
1132 public final static String EDITOR_PHP_BRACE_OPERATOR_ITALIC = IPreferenceConstants.PHP_BRACE_OPERATOR + EDITOR_ITALIC_SUFFIX;
1135 * A named preference that holds the color used to render the 'return' keyword.
1137 * Value is of type <code>String</code>. A RGB color value encoded as a string using class <code>PreferenceConverter</code>
1140 * @see org.eclipse.jface.resource.StringConverter
1141 * @see org.eclipse.jface.preference.PreferenceConverter
1144 public final static String EDITOR_PHP_KEYWORD_RETURN_COLOR = IPreferenceConstants.PHP_KEYWORD_RETURN;
1147 * A named preference that controls whether 'return' keyword is rendered in bold.
1149 * Value is of type <code>Boolean</code>.
1154 public final static String EDITOR_PHP_KEYWORD_RETURN_BOLD = IPreferenceConstants.PHP_KEYWORD_RETURN + EDITOR_BOLD_SUFFIX;
1157 * A named preference that controls whether 'return' keyword is rendered in italic.
1159 * Value is of type <code>Boolean</code>.
1164 public final static String EDITOR_PHP_KEYWORD_RETURN_ITALIC = IPreferenceConstants.PHP_KEYWORD_RETURN + EDITOR_ITALIC_SUFFIX;
1167 * A named preference that holds the color used to render php start and stop tags.
1169 * Value is of type <code>String</code>. A RGB color value encoded as a string using class <code>PreferenceConverter</code>
1172 * @see org.eclipse.jface.resource.StringConverter
1173 * @see org.eclipse.jface.preference.PreferenceConverter
1175 public final static String EDITOR_PHP_TAG_COLOR = IPreferenceConstants.PHP_TAG;
1178 * A named preference that controls whether php start and stop tags are rendered in bold.
1180 * Value is of type <code>Boolean</code>.
1183 public final static String EDITOR_PHP_TAG_BOLD = IPreferenceConstants.PHP_TAG + EDITOR_BOLD_SUFFIX;
1186 * A named preference that holds the color used to render php keywords.
1188 * Value is of type <code>String</code>. A RGB color value encoded as a string using class <code>PreferenceConverter</code>
1191 * @see org.eclipse.jface.resource.StringConverter
1192 * @see org.eclipse.jface.preference.PreferenceConverter
1194 public final static String EDITOR_JAVA_KEYWORD_COLOR = IPreferenceConstants.PHP_KEYWORD;
1197 * A named preference that controls whether keywords are rendered in bold.
1199 * Value is of type <code>Boolean</code>.
1202 public final static String EDITOR_JAVA_KEYWORD_BOLD = IPreferenceConstants.PHP_KEYWORD + EDITOR_BOLD_SUFFIX;
1205 * A named preference that holds the color used to render predefined php function names.
1207 * Value is of type <code>String</code>. A RGB color value encoded as a string using class <code>PreferenceConverter</code>
1210 * @see org.eclipse.jface.resource.StringConverter
1211 * @see org.eclipse.jface.preference.PreferenceConverter
1213 public final static String EDITOR_PHP_FUNCTIONNAME_COLOR = IPreferenceConstants.PHP_FUNCTIONNAME;
1216 * A named preference that controls whether function names are rendered in bold.
1218 * Value is of type <code>Boolean</code>.
1221 public final static String EDITOR_PHP_FUNCTIONNAME_BOLD = IPreferenceConstants.PHP_FUNCTIONNAME + EDITOR_BOLD_SUFFIX;
1224 * A named preference that holds the color used to render php variables.
1226 * Value is of type <code>String</code>. A RGB color value encoded as a string using class <code>PreferenceConverter</code>
1229 * @see org.eclipse.jface.resource.StringConverter
1230 * @see org.eclipse.jface.preference.PreferenceConverter
1232 public final static String EDITOR_PHP_VARIABLE_COLOR = IPreferenceConstants.PHP_VARIABLE;
1235 * A named preference that controls whether variables are rendered in bold.
1237 * Value is of type <code>Boolean</code>.
1240 public final static String EDITOR_PHP_VARIABLE_BOLD = IPreferenceConstants.PHP_VARIABLE + EDITOR_BOLD_SUFFIX;
1243 * A named preference that holds the color used to render php constants.
1245 * Value is of type <code>String</code>. A RGB color value encoded as a string using class <code>PreferenceConverter</code>
1248 * @see org.eclipse.jface.resource.StringConverter
1249 * @see org.eclipse.jface.preference.PreferenceConverter
1251 public final static String EDITOR_PHP_CONSTANT_COLOR = IPreferenceConstants.PHP_CONSTANT;
1254 * A named preference that controls whether constants are rendered in bold.
1256 * Value is of type <code>Boolean</code>.
1259 public final static String EDITOR_PHP_CONSTANT_BOLD = IPreferenceConstants.PHP_CONSTANT + EDITOR_BOLD_SUFFIX;
1262 * A named preference that holds the color used to render php types.
1264 * Value is of type <code>String</code>. A RGB color value encoded as a string using class <code>PreferenceConverter</code>
1267 * @see org.eclipse.jface.resource.StringConverter
1268 * @see org.eclipse.jface.preference.PreferenceConverter
1270 public final static String EDITOR_PHP_TYPE_COLOR = IPreferenceConstants.PHP_TYPE;
1273 * A named preference that controls whether types are rendered in bold.
1275 * Value is of type <code>Boolean</code>.
1278 public final static String EDITOR_PHP_TYPE_BOLD = IPreferenceConstants.PHP_TYPE + EDITOR_BOLD_SUFFIX;
1281 * A named preference that holds the color used to render string constants.
1283 * Value is of type <code>String</code>. A RGB color value encoded as a string using class <code>PreferenceConverter</code>
1286 * @see org.eclipse.jface.resource.StringConverter
1287 * @see org.eclipse.jface.preference.PreferenceConverter
1289 public final static String EDITOR_STRING_COLOR = IPreferenceConstants.PHP_STRING;
1292 * A named preference that controls whether string constants are rendered in bold.
1294 * Value is of type <code>Boolean</code>.
1297 public final static String EDITOR_STRING_BOLD = IPreferenceConstants.PHP_STRING + EDITOR_BOLD_SUFFIX;
1300 * A named preference that holds the color used to render php default text.
1302 * Value is of type <code>String</code>. A RGB color value encoded as a string using class <code>PreferenceConverter</code>
1305 * @see org.eclipse.jface.resource.StringConverter
1306 * @see org.eclipse.jface.preference.PreferenceConverter
1308 public final static String EDITOR_JAVA_DEFAULT_COLOR = IPreferenceConstants.PHP_DEFAULT;
1311 * A named preference that controls whether Java default text is rendered in bold.
1313 * Value is of type <code>Boolean</code>.
1316 public final static String EDITOR_JAVA_DEFAULT_BOLD = IPreferenceConstants.PHP_DEFAULT + EDITOR_BOLD_SUFFIX;
1319 * A named preference that holds the color used to render task tags.
1321 * Value is of type <code>String</code>. A RGB color value encoded as a string using class <code>PreferenceConverter</code>
1324 * @see org.eclipse.jface.resource.StringConverter
1325 * @see org.eclipse.jface.preference.PreferenceConverter
1328 public final static String EDITOR_TASK_TAG_COLOR = IPreferenceConstants.TASK_TAG;
1331 * A named preference that controls whether task tags are rendered in bold.
1333 * Value is of type <code>Boolean</code>.
1338 public final static String EDITOR_TASK_TAG_BOLD = IPreferenceConstants.TASK_TAG + EDITOR_BOLD_SUFFIX;
1341 * A named preference that holds the color used to render phpdoc keywords.
1343 * Value is of type <code>String</code>. A RGB color value encoded as a 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_JAVADOC_KEYWORD_COLOR = IPreferenceConstants.PHPDOC_KEYWORD;
1352 * A named preference that controls whether phpdoc keywords are rendered in bold.
1354 * Value is of type <code>Boolean</code>.
1357 public final static String EDITOR_JAVADOC_KEYWORD_BOLD = IPreferenceConstants.PHPDOC_KEYWORD + EDITOR_BOLD_SUFFIX;
1360 * A named preference that holds the color used to render phpdoc tags.
1362 * Value is of type <code>String</code>. A RGB color value encoded as a string using class <code>PreferenceConverter</code>
1365 * @see org.eclipse.jface.resource.StringConverter
1366 * @see org.eclipse.jface.preference.PreferenceConverter
1368 public final static String EDITOR_JAVADOC_TAG_COLOR = IPreferenceConstants.PHPDOC_TAG;
1371 * A named preference that controls whether phpdoc tags are rendered in bold.
1373 * Value is of type <code>Boolean</code>.
1376 public final static String EDITOR_JAVADOC_TAG_BOLD = IPreferenceConstants.PHPDOC_TAG + EDITOR_BOLD_SUFFIX;
1379 * A named preference that holds the color used to render phpdoc links.
1381 * Value is of type <code>String</code>. A RGB color value encoded as a string using class <code>PreferenceConverter</code>
1384 * @see org.eclipse.jface.resource.StringConverter
1385 * @see org.eclipse.jface.preference.PreferenceConverter
1387 public final static String EDITOR_JAVADOC_LINKS_COLOR = IPreferenceConstants.PHPDOC_LINK;
1390 * A named preference that controls whether phpdoc links are rendered in bold.
1392 * Value is of type <code>Boolean</code>.
1395 public final static String EDITOR_JAVADOC_LINKS_BOLD = IPreferenceConstants.PHPDOC_LINK + EDITOR_BOLD_SUFFIX;
1398 * A named preference that holds the color used to render phpdoc default text.
1400 * Value is of type <code>String</code>. A RGB color value encoded as a string using class <code>PreferenceConverter</code>
1403 * @see org.eclipse.jface.resource.StringConverter
1404 * @see org.eclipse.jface.preference.PreferenceConverter
1406 public final static String EDITOR_JAVADOC_DEFAULT_COLOR = IPreferenceConstants.PHPDOC_DEFAULT;
1409 * A named preference that controls whether phpdoc default text is rendered in bold.
1411 * Value is of type <code>Boolean</code>.
1414 public final static String EDITOR_JAVADOC_DEFAULT_BOLD = IPreferenceConstants.PHPDOC_DEFAULT + EDITOR_BOLD_SUFFIX;
1417 * A named preference that holds the color used for 'linked-mode' underline.
1419 * Value is of type <code>String</code>. A RGB color value encoded as a string using class <code>PreferenceConverter</code>
1422 * @see org.eclipse.jface.resource.StringConverter
1423 * @see org.eclipse.jface.preference.PreferenceConverter
1426 public final static String EDITOR_LINK_COLOR = "linkColor"; //$NON-NLS-1$
1429 * A named preference that controls whether hover tooltips in the editor are turned on or off.
1431 * Value is of type <code>Boolean</code>.
1434 public static final String EDITOR_SHOW_HOVER = "net.sourceforge.phpdt.ui.editor.showHover"; //$NON-NLS-1$
1437 * A named preference that defines the hover shown when no control key is pressed.
1439 * Value is of type <code>String</code>: possible values are <code>
1440 * EDITOR_NO_HOVER_CONFIGURED_ID</code> or
1441 * <code>EDITOR_DEFAULT_HOVER_CONFIGURED_ID</code> or the hover id of a hover contributed as <code>phpEditorTextHovers</code>.
1444 * @see #EDITOR_NO_HOVER_CONFIGURED_ID
1445 * @see #EDITOR_DEFAULT_HOVER_CONFIGURED_ID
1449 public static final String EDITOR_NONE_HOVER = "noneHover"; //$NON-NLS-1$
1452 * A named preference that defines the hover shown when the <code>CTRL</code> modifier key is pressed.
1454 * Value is of type <code>String</code>: possible values are <code>
1455 * EDITOR_NO_HOVER_CONFIGURED_ID</code> or
1456 * <code>EDITOR_DEFAULT_HOVER_CONFIGURED_ID</code> or the hover id of a hover contributed as <code>phpEditorTextHovers</code>.
1459 * @see #EDITOR_NO_HOVER_CONFIGURED_ID
1460 * @see #EDITOR_DEFAULT_HOVER_CONFIGURED_ID
1464 public static final String EDITOR_CTRL_HOVER = "ctrlHover"; //$NON-NLS-1$
1467 * A named preference that defines the hover shown when the <code>SHIFT</code> modifier key is pressed.
1469 * Value is of type <code>String</code>: possible values are <code>
1470 * EDITOR_NO_HOVER_CONFIGURED_ID</code> or
1471 * <code>EDITOR_DEFAULT_HOVER_CONFIGURED_ID</code> or the hover id of a hover contributed as <code>phpEditorTextHovers</code>.
1474 * @see #EDITOR_NO_HOVER_CONFIGURED_ID
1475 * @see #EDITOR_DEFAULT_HOVER_CONFIGURED_ID
1476 * @see JavaUI ID_*_HOVER
1479 public static final String EDITOR_SHIFT_HOVER = "shiftHover"; //$NON-NLS-1$
1482 * A named preference that defines the hover shown when the <code>CTRL + ALT</code> modifier keys is pressed.
1484 * Value is of type <code>String</code>: possible values are <code>
1485 * EDITOR_NO_HOVER_CONFIGURED_ID</code> or
1486 * <code>EDITOR_DEFAULT_HOVER_CONFIGURED_ID</code> or the hover id of a hover contributed as <code>phpEditorTextHovers</code>.
1489 * @see #EDITOR_NO_HOVER_CONFIGURED_ID
1490 * @see #EDITOR_DEFAULT_HOVER_CONFIGURED_ID
1491 * @see JavaUI ID_*_HOVER
1494 public static final String EDITOR_CTRL_ALT_HOVER = "ctrlAltHover"; //$NON-NLS-1$
1497 * A named preference that defines the hover shown when the <code>CTRL + ALT + SHIFT</code> modifier keys is pressed.
1499 * Value is of type <code>String</code>: possible values are <code>
1500 * EDITOR_NO_HOVER_CONFIGURED_ID</code> or
1501 * <code>EDITOR_DEFAULT_HOVER_CONFIGURED_ID</code> or the hover id of a hover contributed as <code>phpEditorTextHovers</code>.
1504 * @see #EDITOR_NO_HOVER_CONFIGURED_ID
1505 * @see #EDITOR_DEFAULT_HOVER_CONFIGURED_ID
1506 * @see JavaUI ID_*_HOVER
1509 public static final String EDITOR_CTRL_ALT_SHIFT_HOVER = "ctrlAltShiftHover"; //$NON-NLS-1$
1512 * A named preference that defines the hover shown when the <code>CTRL + SHIFT</code> modifier keys is pressed.
1514 * Value is of type <code>String</code>: possible values are <code>
1515 * EDITOR_NO_HOVER_CONFIGURED_ID</code> or
1516 * <code>EDITOR_DEFAULT_HOVER_CONFIGURED_ID</code> or the hover id of a hover contributed as <code>phpEditorTextHovers</code>.
1519 * @see #EDITOR_NO_HOVER_CONFIGURED_ID
1520 * @see #EDITOR_DEFAULT_HOVER_CONFIGURED_ID
1521 * @see JavaUI ID_*_HOVER
1524 public static final String EDITOR_CTRL_SHIFT_HOVER = "ctrlShiftHover"; //$NON-NLS-1$
1527 * A named preference that defines the hover shown when the <code>ALT</code> modifier key is pressed.
1529 * Value is of type <code>String</code>: possible values are <code>
1530 * EDITOR_NO_HOVER_CONFIGURED_ID</code>,
1531 * <code>EDITOR_DEFAULT_HOVER_CONFIGURED_ID</code> or the hover id of a hover contributed as <code>phpEditorTextHovers</code>.
1534 * @see #EDITOR_NO_HOVER_CONFIGURED_ID
1535 * @see #EDITOR_DEFAULT_HOVER_CONFIGURED_ID
1536 * @see JavaUI ID_*_HOVER
1539 public static final String EDITOR_ALT_SHIFT_HOVER = "altShiftHover"; //$NON-NLS-1$
1542 * A string value used by the named preferences for hover configuration to descibe that no hover should be shown for the given key
1547 public static final String EDITOR_NO_HOVER_CONFIGURED_ID = "noHoverConfiguredId"; //$NON-NLS-1$
1550 * A string value used by the named preferences for hover configuration to descibe that the default hover should be shown for the
1551 * given key modifiers. The default hover is described by the <code>EDITOR_DEFAULT_HOVER</code> property.
1555 public static final String EDITOR_DEFAULT_HOVER_CONFIGURED_ID = "defaultHoverConfiguredId"; //$NON-NLS-1$
1558 * A named preference that defines the hover named the 'default hover'. Value is of type <code>String</code>: possible values
1560 * EDITOR_NO_HOVER_CONFIGURED_ID</code> or <code> the hover id of a hover
1561 * contributed as <code>phpEditorTextHovers</code>.
1565 public static final String EDITOR_DEFAULT_HOVER = "defaultHover"; //$NON-NLS-1$
1568 * A named preference that controls if segmented view (show selected element only) is turned on or off.
1570 * Value is of type <code>Boolean</code>.
1573 public static final String EDITOR_SHOW_SEGMENTS = "net.sourceforge.phpdt.ui.editor.showSegments"; //$NON-NLS-1$
1576 * A named preference that controls if browser like links are turned on or off.
1578 * Value is of type <code>Boolean</code>.
1583 public static final String EDITOR_BROWSER_LIKE_LINKS = "browserLikeLinks"; //$NON-NLS-1$
1586 * A named preference that controls the key modifier for browser like links.
1588 * Value is of type <code>String</code>.
1593 public static final String EDITOR_BROWSER_LIKE_LINKS_KEY_MODIFIER = "browserLikeLinksKeyModifier"; //$NON-NLS-1$
1596 * A named preference that controls whether occurrences are marked in the editor.
1598 * Value is of type <code>Boolean</code>.
1603 public static final String EDITOR_MARK_OCCURRENCES = "markOccurrences"; //$NON-NLS-1$
1606 * A named preference that controls whether occurrences are sticky in the editor.
1608 * Value is of type <code>Boolean</code>.
1613 public static final String EDITOR_STICKY_OCCURRENCES = "stickyOccurrences"; //$NON-NLS-1$
1616 * A named preference that controls disabling of the overwrite mode.
1618 * Value is of type <code>Boolean</code>.
1623 public static final String EDITOR_DISABLE_OVERWRITE_MODE = "disable_overwrite_mode"; //$NON-NLS-1$
1626 * A named preference that controls the "smart semicolon" smart typing handler
1628 * Value is of type <code>Boolean</code>.
1633 public static final String EDITOR_SMART_SEMICOLON = "smart_semicolon"; //$NON-NLS-1$
1636 * A named preference that controls the smart backspace behavior.
1638 * Value is of type <code>Boolean</code>.
1642 public static final String EDITOR_SMART_BACKSPACE = "smart_backspace"; //$NON-NLS-1$
1645 * A named preference that controls the "smart opening brace" smart typing handler
1647 * Value is of type <code>Boolean</code>.
1652 public static final String EDITOR_SMART_OPENING_BRACE = "smart_opening_brace"; //$NON-NLS-1$
1655 * A named preference that controls the smart tab behaviour.
1657 * Value is of type <code>Boolean</code>.
1661 public static final String EDITOR_SMART_TAB = "smart_tab"; //$NON-NLS-1$
1664 * A named preference that controls whether Java comments should be spell-checked.
1666 * Value is of type <code>Boolean</code>.
1671 public final static String SPELLING_CHECK_SPELLING = ISpellCheckPreferenceKeys.SPELLING_CHECK_SPELLING;
1674 * A named preference that controls whether words containing digits should be skipped during spell-checking.
1676 * Value is of type <code>Boolean</code>.
1681 public final static String SPELLING_IGNORE_DIGITS = ISpellCheckPreferenceKeys.SPELLING_IGNORE_DIGITS;
1684 * A named preference that controls whether mixed case words should be skipped during spell-checking.
1686 * Value is of type <code>Boolean</code>.
1691 public final static String SPELLING_IGNORE_MIXED = ISpellCheckPreferenceKeys.SPELLING_IGNORE_MIXED;
1694 * A named preference that controls whether sentence capitalization should be ignored during spell-checking.
1696 * Value is of type <code>Boolean</code>.
1701 public final static String SPELLING_IGNORE_SENTENCE = ISpellCheckPreferenceKeys.SPELLING_IGNORE_SENTENCE;
1704 * A named preference that controls whether upper case words should be skipped during spell-checking.
1706 * Value is of type <code>Boolean</code>.
1711 public final static String SPELLING_IGNORE_UPPER = ISpellCheckPreferenceKeys.SPELLING_IGNORE_UPPER;
1714 * A named preference that controls whether urls should be ignored during spell-checking.
1716 * Value is of type <code>Boolean</code>.
1721 public final static String SPELLING_IGNORE_URLS = ISpellCheckPreferenceKeys.SPELLING_IGNORE_URLS;
1724 * A named preference that controls the locale used for spell-checking.
1726 * Value is of type <code>String</code>.
1731 public final static String SPELLING_LOCALE = ISpellCheckPreferenceKeys.SPELLING_LOCALE;
1734 * A named preference that controls the number of proposals offered during spell-checking.
1736 * Value is of type <code>Integer</code>.
1741 public final static String SPELLING_PROPOSAL_THRESHOLD = ISpellCheckPreferenceKeys.SPELLING_PROPOSAL_THRESHOLD;
1744 * A named preference that specifies the workspace user dictionary.
1746 * Value is of type <code>Integer</code>.
1751 public final static String SPELLING_USER_DICTIONARY = ISpellCheckPreferenceKeys.SPELLING_USER_DICTIONARY;
1754 * A named preference that specifies whether spelling dictionaries are available to content assist.
1756 * Value is of type <code>Boolean</code>.
1761 public final static String SPELLING_ENABLE_CONTENTASSIST = ISpellCheckPreferenceKeys.SPELLING_ENABLE_CONTENTASSIST;
1764 * A named preference that controls whether code snippets are formatted in Javadoc comments.
1766 * Value is of type <code>Boolean</code>.
1771 public final static String FORMATTER_COMMENT_FORMATSOURCE = "comment_format_source_code"; //$NON-NLS-1$
1774 * A named preference that controls whether description of Javadoc parameters are indented.
1776 * Value is of type <code>Boolean</code>.
1781 public final static String FORMATTER_COMMENT_INDENTPARAMETERDESCRIPTION = "comment_indent_parameter_description"; //$NON-NLS-1$
1784 * A named preference that controls whether the header comment of a Java source file is formatted.
1786 * Value is of type <code>Boolean</code>.
1791 public final static String FORMATTER_COMMENT_FORMATHEADER = "comment_format_header"; //$NON-NLS-1$
1794 * A named preference that controls whether Javadoc root tags are indented.
1796 * Value is of type <code>Boolean</code>.
1801 public final static String FORMATTER_COMMENT_INDENTROOTTAGS = "comment_indent_root_tags"; //$NON-NLS-1$
1804 * A named preference that controls whether Javadoc comments are formatted by the content formatter.
1806 * Value is of type <code>Boolean</code>.
1811 public final static String FORMATTER_COMMENT_FORMAT = "comment_format_comments"; //$NON-NLS-1$
1814 * A named preference that controls whether a new line is inserted after Javadoc root tag parameters.
1816 * Value is of type <code>Boolean</code>.
1821 public final static String FORMATTER_COMMENT_NEWLINEFORPARAMETER = "comment_new_line_for_parameter"; //$NON-NLS-1$
1824 * A named preference that controls whether an empty line is inserted before the Javadoc root tag block.
1826 * Value is of type <code>Boolean</code>.
1831 public final static String FORMATTER_COMMENT_SEPARATEROOTTAGS = "comment_separate_root_tags"; //$NON-NLS-1$
1834 * A named preference that controls whether blank lines are cleared during formatting
1836 * Value is of type <code>Boolean</code>.
1841 public final static String FORMATTER_COMMENT_CLEARBLANKLINES = "comment_clear_blank_lines"; //$NON-NLS-1$
1844 * A named preference that controls the line length of comments.
1846 * Value is of type <code>Integer</code>. The value must be at least 4 for reasonable formatting.
1851 public final static String FORMATTER_COMMENT_LINELENGTH = "comment_line_length"; //$NON-NLS-1$
1854 * A named preference that controls whether html tags are formatted.
1856 * Value is of type <code>Boolean</code>.
1861 public final static String FORMATTER_COMMENT_FORMATHTML = "comment_format_html"; //$NON-NLS-1$
1864 * A named preference that controls if the Java code assist gets auto activated.
1866 * Value is of type <code>Boolean</code>.
1869 public final static String CODEASSIST_AUTOACTIVATION = "content_assist_autoactivation"; //$NON-NLS-1$
1872 * A name preference that holds the auto activation delay time in milli seconds.
1874 * Value is of type <code>Int</code>.
1877 public final static String CODEASSIST_AUTOACTIVATION_DELAY = "content_assist_autoactivation_delay"; //$NON-NLS-1$
1880 * A named preference that controls if code assist contains only visible proposals.
1882 * Value is of type <code>Boolean</code>. if <code>true<code> code assist only contains visible members. If
1883 * <code>false</code> all members are included.
1886 public final static String CODEASSIST_SHOW_VISIBLE_PROPOSALS = "content_assist_show_visible_proposals"; //$NON-NLS-1$
1889 * A named preference that controls if the Java code assist inserts a proposal automatically if only one proposal is available.
1891 * Value is of type <code>Boolean</code>.
1896 public final static String CODEASSIST_AUTOINSERT = "content_assist_autoinsert"; //$NON-NLS-1$
1899 * A named preference that controls if the Java code assist adds import statements.
1901 * Value is of type <code>Boolean</code>.
1906 public final static String CODEASSIST_ADDIMPORT = "content_assist_add_import"; //$NON-NLS-1$
1909 * A named preference that controls if the Java code assist only inserts completions. If set to false the proposals can also
1912 * Value is of type <code>Boolean</code>.
1917 public final static String CODEASSIST_INSERT_COMPLETION = "content_assist_insert_completion"; //$NON-NLS-1$
1920 * A named preference that controls whether code assist proposals filtering is case sensitive or not.
1922 * Value is of type <code>Boolean</code>.
1925 public final static String CODEASSIST_CASE_SENSITIVITY = "content_assist_case_sensitivity"; //$NON-NLS-1$
1928 * A named preference that defines if code assist proposals are sorted in alphabetical order.
1930 * Value is of type <code>Boolean</code>. If <code>true</code> that are sorted in alphabetical order. If <code>false</code>
1931 * that are unsorted.
1934 public final static String CODEASSIST_ORDER_PROPOSALS = "content_assist_order_proposals"; //$NON-NLS-1$
1937 * A named preference that controls if argument names are filled in when a method is selected from as list of code assist
1940 * Value is of type <code>Boolean</code>.
1943 public final static String CODEASSIST_FILL_ARGUMENT_NAMES = "content_assist_fill_method_arguments"; //$NON-NLS-1$
1946 * A named preference that controls if method arguments are guessed when a method is selected from as list of code assist
1949 * Value is of type <code>Boolean</code>.
1954 public final static String CODEASSIST_GUESS_METHOD_ARGUMENTS = "content_assist_guess_method_arguments"; //$NON-NLS-1$
1957 * A named preference that holds the characters that auto activate code assist in PHP code.
1959 * Value is of type <code>Sring</code>. All characters that trigger auto code assist in PHP code.
1962 public final static String CODEASSIST_AUTOACTIVATION_TRIGGERS_JAVA = "content_assist_autoactivation_triggers_php"; //$NON-NLS-1$
1965 * A named preference that holds the characters that auto activate code assist in PHPDoc.
1967 * Value is of type <code>Sring</code>. All characters that trigger auto code assist in PHPDoc.
1970 public final static String CODEASSIST_AUTOACTIVATION_TRIGGERS_JAVADOC = "content_assist_autoactivation_triggers_phpdoc"; //$NON-NLS-1$
1973 * A named preference that holds the characters that auto activate code assist in HTML.
1975 * Value is of type <code>Sring</code>. All characters that trigger auto code assist in HTML.
1978 public final static String CODEASSIST_AUTOACTIVATION_TRIGGERS_HTML = "content_assist_autoactivation_triggers_html"; //$NON-NLS-1$
1981 * A named preference that holds the background color used in the code assist selection dialog.
1983 * Value is of type <code>String</code>. A RGB color value encoded as a string using class <code>PreferenceConverter</code>
1986 * @see org.eclipse.jface.resource.StringConverter
1987 * @see org.eclipse.jface.preference.PreferenceConverter
1989 public final static String CODEASSIST_PROPOSALS_BACKGROUND = "content_assist_proposals_background"; //$NON-NLS-1$
1992 * A named preference that holds the foreground color used in the code assist selection dialog.
1994 * Value is of type <code>String</code>. A RGB color value encoded as a string using class <code>PreferenceConverter</code>
1997 * @see org.eclipse.jface.resource.StringConverter
1998 * @see org.eclipse.jface.preference.PreferenceConverter
2000 public final static String CODEASSIST_PROPOSALS_FOREGROUND = "content_assist_proposals_foreground"; //$NON-NLS-1$
2003 * A named preference that holds the background color used for parameter hints.
2005 * Value is of type <code>String</code>. A RGB color value encoded as a string using class <code>PreferenceConverter</code>
2008 * @see org.eclipse.jface.resource.StringConverter
2009 * @see org.eclipse.jface.preference.PreferenceConverter
2011 public final static String CODEASSIST_PARAMETERS_BACKGROUND = "content_assist_parameters_background"; //$NON-NLS-1$
2014 * A named preference that holds the foreground color used in the code assist selection dialog
2016 * Value is of type <code>String</code>. A RGB color value encoded as a string using class <code>PreferenceConverter</code>
2019 * @see org.eclipse.jface.resource.StringConverter
2020 * @see org.eclipse.jface.preference.PreferenceConverter
2022 public final static String CODEASSIST_PARAMETERS_FOREGROUND = "content_assist_parameters_foreground"; //$NON-NLS-1$
2025 * A named preference that holds the background color used in the code assist selection dialog to mark replaced code.
2027 * Value is of type <code>String</code>. A RGB color value encoded as a string using class <code>PreferenceConverter</code>
2030 * @see org.eclipse.jface.resource.StringConverter
2031 * @see org.eclipse.jface.preference.PreferenceConverter
2034 public final static String CODEASSIST_REPLACEMENT_BACKGROUND = "content_assist_completion_replacement_background"; //$NON-NLS-1$
2037 * A named preference that holds the foreground color used in the code assist selection dialog to mark replaced code.
2039 * Value is of type <code>String</code>. A RGB color value encoded as a string using class <code>PreferenceConverter</code>
2042 * @see org.eclipse.jface.resource.StringConverter
2043 * @see org.eclipse.jface.preference.PreferenceConverter
2046 public final static String CODEASSIST_REPLACEMENT_FOREGROUND = "content_assist_completion_replacement_foreground"; //$NON-NLS-1$
2049 * A named preference that controls the behaviour of the refactoring wizard for showing the error page.
2051 * Value is of type <code>String</code>. Valid values are: <code>REFACTOR_FATAL_SEVERITY</code>,
2052 * <code>REFACTOR_ERROR_SEVERITY</code>,<code>REFACTOR_WARNING_SEVERITY</code>
2053 * <code>REFACTOR_INFO_SEVERITY</code>,
2054 * <code>REFACTOR_OK_SEVERITY</code>.
2057 * @see #REFACTOR_FATAL_SEVERITY
2058 * @see #REFACTOR_ERROR_SEVERITY
2059 * @see #REFACTOR_WARNING_SEVERITY
2060 * @see #REFACTOR_INFO_SEVERITY
2061 * @see #REFACTOR_OK_SEVERITY
2063 public static final String REFACTOR_ERROR_PAGE_SEVERITY_THRESHOLD = "Refactoring.ErrorPage.severityThreshold"; //$NON-NLS-1$
2066 * A string value used by the named preference <code>REFACTOR_ERROR_PAGE_SEVERITY_THRESHOLD</code>.
2068 * @see #REFACTOR_ERROR_PAGE_SEVERITY_THRESHOLD
2070 public static final String REFACTOR_FATAL_SEVERITY = "4"; //$NON-NLS-1$
2073 * A string value used by the named preference <code>REFACTOR_ERROR_PAGE_SEVERITY_THRESHOLD</code>.
2075 * @see #REFACTOR_ERROR_PAGE_SEVERITY_THRESHOLD
2077 public static final String REFACTOR_ERROR_SEVERITY = "3"; //$NON-NLS-1$
2080 * A string value used by the named preference <code>REFACTOR_ERROR_PAGE_SEVERITY_THRESHOLD</code>.
2082 * @see #REFACTOR_ERROR_PAGE_SEVERITY_THRESHOLD
2084 public static final String REFACTOR_WARNING_SEVERITY = "2"; //$NON-NLS-1$
2087 * A string value used by the named preference <code>REFACTOR_ERROR_PAGE_SEVERITY_THRESHOLD</code>.
2089 * @see #REFACTOR_ERROR_PAGE_SEVERITY_THRESHOLD
2091 public static final String REFACTOR_INFO_SEVERITY = "1"; //$NON-NLS-1$
2094 * A string value used by the named preference <code>REFACTOR_ERROR_PAGE_SEVERITY_THRESHOLD</code>.
2096 * @see #REFACTOR_ERROR_PAGE_SEVERITY_THRESHOLD
2098 public static final String REFACTOR_OK_SEVERITY = "0"; //$NON-NLS-1$
2101 * A named preference thet controls whether all dirty editors are automatically saved before a refactoring is executed.
2103 * Value is of type <code>Boolean</code>.
2106 public static final String REFACTOR_SAVE_ALL_EDITORS = "Refactoring.savealleditors"; //$NON-NLS-1$
2109 * A named preference that controls if the Java Browsing views are linked to the active editor.
2111 * Value is of type <code>Boolean</code>.
2114 * @see #LINK_PACKAGES_TO_EDITOR
2116 public static final String BROWSING_LINK_VIEW_TO_EDITOR = "net.sourceforge.phpdt.ui.browsing.linktoeditor"; //$NON-NLS-1$
2119 * A named preference that controls the layout of the Java Browsing views vertically. Boolean value.
2121 * Value is of type <code>Boolean</code>. If <code>true<code> the views are stacked vertical.
2122 * If <code>false</code> they are stacked horizontal.
2125 public static final String BROWSING_STACK_VERTICALLY = "net.sourceforge.phpdt.ui.browsing.stackVertically"; //$NON-NLS-1$
2128 * A named preference that controls if templates are formatted when applied.
2130 * Value is of type <code>Boolean</code>.
2135 public static final String TEMPLATES_USE_CODEFORMATTER = "net.sourceforge.phpdt.ui.template.format"; //$NON-NLS-1$
2138 * A named preference that controls whether annotation roll over is used or not.
2140 * Value is of type <code>Boolean</code>. If <code>true<code> the annotation ruler column
2141 * uses a roll over to display multiple annotations
2146 public static final String EDITOR_ANNOTATION_ROLL_OVER = "editor_annotation_roll_over"; //$NON-NLS-1$
2149 * A named preference that controls the key modifier mask for browser like links. The value is only used if the value of
2150 * <code>EDITOR_BROWSER_LIKE_LINKS</code> cannot be resolved to valid SWT modifier bits.
2152 * Value is of type <code>String</code>.
2155 * @see #EDITOR_BROWSER_LIKE_LINKS_KEY_MODIFIER
2158 public static final String EDITOR_BROWSER_LIKE_LINKS_KEY_MODIFIER_MASK = "browserLikeLinksKeyModifierMask"; //$NON-NLS-1$
2161 * A named preference that defines the key for the hover modifier state masks. The value is only used if the value of
2162 * <code>EDITOR_TEXT_HOVER_MODIFIERS</code> cannot be resolved to valid SWT modifier bits.
2165 * @see #EDITOR_TEXT_HOVER_MODIFIERS
2168 public static final String EDITOR_TEXT_HOVER_MODIFIER_MASKS = "hoverModifierMasks"; //$NON-NLS-1$
2171 * A named preference that controls whether folding is enabled in the Java editor.
2173 * Value is of type <code>Boolean</code>.
2178 public static final String EDITOR_FOLDING_ENABLED = "editor_folding_enabled"; //$NON-NLS-1$
2181 * A named preference that stores the configured folding provider.
2183 * Value is of type <code>String</code>.
2188 public static final String EDITOR_FOLDING_PROVIDER = "editor_folding_provider"; //$NON-NLS-1$
2191 * A named preference that stores the value for Javadoc folding for the default folding provider.
2193 * Value is of type <code>Boolean</code>.
2198 public static final String EDITOR_FOLDING_JAVADOC = "editor_folding_default_javadoc"; //$NON-NLS-1$
2201 * A named preference that stores the value for inner type folding for the default folding provider.
2203 * Value is of type <code>Boolean</code>.
2208 public static final String EDITOR_FOLDING_INNERTYPES = "editor_folding_default_innertypes"; //$NON-NLS-1$
2211 * A named preference that stores the value for method folding for the default folding provider.
2213 * Value is of type <code>Boolean</code>.
2218 public static final String EDITOR_FOLDING_METHODS = "editor_folding_default_methods"; //$NON-NLS-1$
2221 * A named preference that stores the value for imports folding for the default folding provider.
2223 * Value is of type <code>Boolean</code>.
2228 public static final String EDITOR_FOLDING_IMPORTS = "editor_folding_default_imports"; //$NON-NLS-1$
2230 public static void initializeDefaultValues(IPreferenceStore store) {
2231 store.setDefault(PreferenceConstants.EDITOR_SHOW_SEGMENTS, false);
2233 // JavaBasePreferencePage
2234 store.setDefault(PreferenceConstants.LINK_PACKAGES_TO_EDITOR, true);
2235 store.setDefault(PreferenceConstants.LINK_TYPEHIERARCHY_TO_EDITOR, false);
2236 store.setDefault(PreferenceConstants.LINK_BROWSING_VIEW_TO_EDITOR, true);
2237 store.setDefault(PreferenceConstants.OPEN_TYPE_HIERARCHY, PreferenceConstants.OPEN_TYPE_HIERARCHY_IN_VIEW_PART);
2238 store.setDefault(PreferenceConstants.DOUBLE_CLICK, PreferenceConstants.DOUBLE_CLICK_EXPANDS);
2239 store.setDefault(PreferenceConstants.UPDATE_JAVA_VIEWS, PreferenceConstants.UPDATE_WHILE_EDITING);
2241 // AppearancePreferencePage
2242 store.setDefault(PreferenceConstants.APPEARANCE_COMPRESS_PACKAGE_NAMES, false);
2243 store.setDefault(PreferenceConstants.APPEARANCE_METHOD_RETURNTYPE, false);
2244 store.setDefault(PreferenceConstants.SHOW_CU_CHILDREN, true);
2245 store.setDefault(PreferenceConstants.APPEARANCE_OVERRIDE_INDICATOR, true);
2246 store.setDefault(PreferenceConstants.BROWSING_STACK_VERTICALLY, false);
2247 store.setDefault(PreferenceConstants.APPEARANCE_PKG_NAME_PATTERN_FOR_PKG_VIEW, ""); //$NON-NLS-1$
2248 store.setDefault(PreferenceConstants.APPEARANCE_FOLD_PACKAGES_IN_PACKAGE_EXPLORER, true);
2250 // ImportOrganizePreferencePage
2251 store.setDefault(PreferenceConstants.ORGIMPORTS_IMPORTORDER, "php;phpx;org;com"); //$NON-NLS-1$
2252 store.setDefault(PreferenceConstants.ORGIMPORTS_ONDEMANDTHRESHOLD, 99);
2253 store.setDefault(PreferenceConstants.ORGIMPORTS_IGNORELOWERCASE, true);
2255 // ClasspathVariablesPreferencePage
2256 // CodeFormatterPreferencePage
2257 // CompilerPreferencePage
2258 // no initialization needed
2260 // RefactoringPreferencePage
2261 store.setDefault(PreferenceConstants.REFACTOR_ERROR_PAGE_SEVERITY_THRESHOLD, PreferenceConstants.REFACTOR_ERROR_SEVERITY);
2262 store.setDefault(PreferenceConstants.REFACTOR_SAVE_ALL_EDITORS, false);
2263 store.setDefault("RefactoringUI", "dialog");
2265 // TemplatePreferencePage
2266 store.setDefault(PreferenceConstants.TEMPLATES_USE_CODEFORMATTER, true);
2268 // CodeGenerationPreferencePage
2269 store.setDefault(PreferenceConstants.CODEGEN_USE_GETTERSETTER_PREFIX, false);
2270 store.setDefault(PreferenceConstants.CODEGEN_USE_GETTERSETTER_SUFFIX, false);
2271 store.setDefault(PreferenceConstants.CODEGEN_GETTERSETTER_PREFIX, "fg, f, _$, _, m_"); //$NON-NLS-1$
2272 store.setDefault(PreferenceConstants.CODEGEN_GETTERSETTER_SUFFIX, "_"); //$NON-NLS-1$
2273 store.setDefault(PreferenceConstants.CODEGEN_ADD_COMMENTS, true);
2274 store.setDefault(PreferenceConstants.CODEGEN__NON_JAVADOC_COMMENTS, false);
2275 store.setDefault(PreferenceConstants.CODEGEN__FILE_COMMENTS, false);
2277 // MembersOrderPreferencePage
2278 store.setDefault(PreferenceConstants.APPEARANCE_MEMBER_SORT_ORDER, "T,SF,SI,SM,I,F,C,M"); //$NON-NLS-1$
2279 store.setDefault(PreferenceConstants.APPEARANCE_VISIBILITY_SORT_ORDER, "B,V,R,D"); //$NON-NLS-1$
2280 store.setDefault(PreferenceConstants.APPEARANCE_ENABLE_VISIBILITY_SORT_ORDER, false);
2281 // must add here to guarantee that it is the first in the listener list
2282 store.addPropertyChangeListener(PHPeclipsePlugin.getDefault().getMemberOrderPreferenceCache());
2284 store.setDefault(PreferenceConstants.EDITOR_MATCHING_BRACKETS, true);
2285 PreferenceConverter.setDefault(store, PreferenceConstants.EDITOR_MATCHING_BRACKETS_COLOR, new RGB(192, 192, 192));
2287 store.setDefault(PreferenceConstants.EDITOR_CURRENT_LINE, true);
2288 PreferenceConverter.setDefault(store, PreferenceConstants.EDITOR_CURRENT_LINE_COLOR, new RGB(225, 235, 224));
2290 store.setDefault(PreferenceConstants.EDITOR_PRINT_MARGIN, false);
2291 store.setDefault(PreferenceConstants.EDITOR_PRINT_MARGIN_COLUMN, 80);
2292 PreferenceConverter.setDefault(store, PreferenceConstants.EDITOR_PRINT_MARGIN_COLOR, new RGB(176, 180, 185));
2294 PreferenceConverter.setDefault(store, PreferenceConstants.EDITOR_FIND_SCOPE_COLOR, new RGB(185, 176, 180));
2296 // store.setDefault(PreferenceConstants.EDITOR_PROBLEM_INDICATION, true);
2297 // PreferenceConverter.setDefault(store, PreferenceConstants.EDITOR_PROBLEM_INDICATION_COLOR, new RGB(255, 0, 128));
2298 // store.setDefault(PreferenceConstants.EDITOR_ERROR_INDICATION_IN_OVERVIEW_RULER, true);
2300 // store.setDefault(PreferenceConstants.EDITOR_WARNING_INDICATION, true);
2301 // PreferenceConverter.setDefault(store, PreferenceConstants.EDITOR_WARNING_INDICATION_COLOR, new RGB(244, 200, 45));
2302 // store.setDefault(PreferenceConstants.EDITOR_WARNING_INDICATION_IN_OVERVIEW_RULER, true);
2304 // store.setDefault(PreferenceConstants.EDITOR_TASK_INDICATION, false);
2305 // PreferenceConverter.setDefault(store, PreferenceConstants.EDITOR_TASK_INDICATION_COLOR, new RGB(0, 128, 255));
2306 // store.setDefault(PreferenceConstants.EDITOR_TASK_INDICATION_IN_OVERVIEW_RULER, false);
2308 // store.setDefault(PreferenceConstants.EDITOR_BOOKMARK_INDICATION, false);
2309 // PreferenceConverter.setDefault(store, PreferenceConstants.EDITOR_BOOKMARK_INDICATION_COLOR, new RGB(34, 164, 99));
2310 // store.setDefault(PreferenceConstants.EDITOR_BOOKMARK_INDICATION_IN_OVERVIEW_RULER, false);
2312 // store.setDefault(PreferenceConstants.EDITOR_SEARCH_RESULT_INDICATION, false);
2313 // PreferenceConverter.setDefault(store, PreferenceConstants.EDITOR_SEARCH_RESULT_INDICATION_COLOR, new RGB(192, 192, 192));
2314 // store.setDefault(PreferenceConstants.EDITOR_SEARCH_RESULT_INDICATION_IN_OVERVIEW_RULER, false);
2316 // store.setDefault(PreferenceConstants.EDITOR_UNKNOWN_INDICATION, false);
2317 // PreferenceConverter.setDefault(store, PreferenceConstants.EDITOR_UNKNOWN_INDICATION_COLOR, new RGB(0, 0, 0));
2318 // store.setDefault(PreferenceConstants.EDITOR_UNKNOWN_INDICATION_IN_OVERVIEW_RULER, false);
2320 store.setDefault(PreferenceConstants.EDITOR_CORRECTION_INDICATION, true);
2321 store.setDefault(PreferenceConstants.EDITOR_SYNC_OUTLINE_ON_CURSOR_MOVE, true);
2323 store.setDefault(PreferenceConstants.EDITOR_EVALUTE_TEMPORARY_PROBLEMS, true);
2325 store.setDefault(PreferenceConstants.EDITOR_OVERVIEW_RULER, true);
2327 store.setDefault(PreferenceConstants.EDITOR_LINE_NUMBER_RULER, false);
2328 PreferenceConverter.setDefault(store, PreferenceConstants.EDITOR_LINE_NUMBER_RULER_COLOR, new RGB(0, 0, 0));
2330 // WorkbenchChainedTextFontFieldEditor.startPropagate(store, JFaceResources.TEXT_FONT);
2332 PreferenceConverter.setDefault(store, PreferenceConstants.EDITOR_LINKED_POSITION_COLOR, new RGB(0, 200, 100));
2333 PreferenceConverter.setDefault(store, PreferenceConstants.EDITOR_LINK_COLOR, new RGB(0, 0, 255));
2335 store.setDefault(PreferenceConstants.EDITOR_FOREGROUND_DEFAULT_COLOR, true);
2337 store.setDefault(PreferenceConstants.EDITOR_BACKGROUND_DEFAULT_COLOR, true);
2339 store.setDefault(PreferenceConstants.EDITOR_TAB_WIDTH, 4);
2340 store.setDefault(PreferenceConstants.EDITOR_SPACES_FOR_TABS, false);
2342 PreferenceConverter.setDefault(store, PreferenceConstants.EDITOR_MULTI_LINE_COMMENT_COLOR, new RGB(63, 127, 95));
2343 store.setDefault(PreferenceConstants.EDITOR_MULTI_LINE_COMMENT_BOLD, false);
2345 PreferenceConverter.setDefault(store, PreferenceConstants.EDITOR_SINGLE_LINE_COMMENT_COLOR, new RGB(63, 127, 95));
2346 store.setDefault(PreferenceConstants.EDITOR_SINGLE_LINE_COMMENT_BOLD, false);
2348 PreferenceConverter.setDefault(store, PreferenceConstants.EDITOR_PHP_TAG_COLOR, new RGB(255, 0, 128));
2349 store.setDefault(PreferenceConstants.EDITOR_PHP_TAG_BOLD, true);
2351 PreferenceConverter.setDefault(store, PreferenceConstants.EDITOR_JAVA_KEYWORD_COLOR, new RGB(127, 0, 85));
2352 store.setDefault(PreferenceConstants.EDITOR_JAVA_KEYWORD_BOLD, true);
2354 PreferenceConverter.setDefault(store, PreferenceConstants.EDITOR_PHP_FUNCTIONNAME_COLOR, new RGB(127, 127, 159));
2355 store.setDefault(PreferenceConstants.EDITOR_PHP_FUNCTIONNAME_BOLD, false);
2357 PreferenceConverter.setDefault(store, PreferenceConstants.EDITOR_PHP_VARIABLE_COLOR, new RGB(127, 159, 191));
2358 store.setDefault(PreferenceConstants.EDITOR_PHP_VARIABLE_BOLD, false);
2360 PreferenceConverter.setDefault(store, PreferenceConstants.EDITOR_PHP_CONSTANT_COLOR, new RGB(127, 0, 85));
2361 store.setDefault(PreferenceConstants.EDITOR_PHP_CONSTANT_BOLD, false);
2363 PreferenceConverter.setDefault(store, PreferenceConstants.EDITOR_PHP_TYPE_COLOR, new RGB(127, 0, 85));
2364 store.setDefault(PreferenceConstants.EDITOR_PHP_TYPE_BOLD, false);
2366 PreferenceConverter.setDefault(store, PreferenceConstants.EDITOR_STRING_COLOR, new RGB(42, 0, 255));
2367 store.setDefault(PreferenceConstants.EDITOR_STRING_BOLD, false);
2369 PreferenceConverter.setDefault(store, PreferenceConstants.EDITOR_JAVA_DEFAULT_COLOR, new RGB(0, 0, 0));
2370 store.setDefault(PreferenceConstants.EDITOR_JAVA_DEFAULT_BOLD, false);
2372 PreferenceConverter.setDefault(store, PreferenceConstants.EDITOR_JAVADOC_KEYWORD_COLOR, new RGB(127, 159, 191));
2373 store.setDefault(PreferenceConstants.EDITOR_JAVADOC_KEYWORD_BOLD, true);
2375 PreferenceConverter.setDefault(store, PreferenceConstants.EDITOR_JAVADOC_TAG_COLOR, new RGB(127, 127, 159));
2376 store.setDefault(PreferenceConstants.EDITOR_JAVADOC_TAG_BOLD, false);
2378 PreferenceConverter.setDefault(store, PreferenceConstants.EDITOR_JAVADOC_LINKS_COLOR, new RGB(63, 63, 191));
2379 store.setDefault(PreferenceConstants.EDITOR_JAVADOC_LINKS_BOLD, false);
2381 PreferenceConverter.setDefault(store, PreferenceConstants.EDITOR_JAVADOC_DEFAULT_COLOR, new RGB(63, 95, 191));
2382 store.setDefault(PreferenceConstants.EDITOR_JAVADOC_DEFAULT_BOLD, false);
2384 store.setDefault(PreferenceConstants.CODEASSIST_AUTOACTIVATION, true);
2385 store.setDefault(PreferenceConstants.CODEASSIST_AUTOACTIVATION_DELAY, 500);
2387 store.setDefault(PreferenceConstants.CODEASSIST_AUTOINSERT, true);
2388 PreferenceConverter.setDefault(store, PreferenceConstants.CODEASSIST_PROPOSALS_BACKGROUND, new RGB(254, 241, 233));
2389 PreferenceConverter.setDefault(store, PreferenceConstants.CODEASSIST_PROPOSALS_FOREGROUND, new RGB(0, 0, 0));
2390 PreferenceConverter.setDefault(store, PreferenceConstants.CODEASSIST_PARAMETERS_BACKGROUND, new RGB(254, 241, 233));
2391 PreferenceConverter.setDefault(store, PreferenceConstants.CODEASSIST_PARAMETERS_FOREGROUND, new RGB(0, 0, 0));
2392 PreferenceConverter.setDefault(store, PreferenceConstants.CODEASSIST_REPLACEMENT_BACKGROUND, new RGB(255, 255, 0));
2393 PreferenceConverter.setDefault(store, PreferenceConstants.CODEASSIST_REPLACEMENT_FOREGROUND, new RGB(255, 0, 0));
2394 store.setDefault(PreferenceConstants.CODEASSIST_AUTOACTIVATION_TRIGGERS_JAVA, "$"); //$NON-NLS-1$
2395 store.setDefault(PreferenceConstants.CODEASSIST_AUTOACTIVATION_TRIGGERS_JAVADOC, "@"); //$NON-NLS-1$
2396 store.setDefault(PreferenceConstants.CODEASSIST_AUTOACTIVATION_TRIGGERS_HTML, "<&#"); //$NON-NLS-1$
2397 store.setDefault(PreferenceConstants.CODEASSIST_SHOW_VISIBLE_PROPOSALS, true);
2398 store.setDefault(PreferenceConstants.CODEASSIST_CASE_SENSITIVITY, false);
2399 store.setDefault(PreferenceConstants.CODEASSIST_ORDER_PROPOSALS, false);
2400 store.setDefault(PreferenceConstants.CODEASSIST_ADDIMPORT, true);
2401 store.setDefault(PreferenceConstants.CODEASSIST_INSERT_COMPLETION, true);
2402 store.setDefault(PreferenceConstants.CODEASSIST_FILL_ARGUMENT_NAMES, false);
2403 store.setDefault(PreferenceConstants.CODEASSIST_GUESS_METHOD_ARGUMENTS, true);
2404 store.setDefault(PreferenceConstants.CODEASSIST_PREFIX_COMPLETION, false);
2406 store.setDefault(PreferenceConstants.EDITOR_SMART_HOME_END, true);
2407 store.setDefault(PreferenceConstants.EDITOR_SUB_WORD_NAVIGATION, true);
2408 store.setDefault(PreferenceConstants.EDITOR_SMART_PASTE, true);
2409 store.setDefault(PreferenceConstants.EDITOR_CLOSE_STRINGS_DQ_PHP, true);
2410 store.setDefault(PreferenceConstants.EDITOR_CLOSE_STRINGS_SQ_PHP, true);
2411 store.setDefault(PreferenceConstants.EDITOR_CLOSE_BRACKETS_PHP, true);
2412 store.setDefault(PreferenceConstants.EDITOR_CLOSE_BRACES, true);
2413 store.setDefault(PreferenceConstants.EDITOR_CLOSE_JAVADOCS, true);
2414 store.setDefault(PreferenceConstants.EDITOR_WRAP_WORDS, false);
2415 store.setDefault(PreferenceConstants.EDITOR_WRAP_STRINGS_DQ, true);
2416 store.setDefault(PreferenceConstants.EDITOR_ESCAPE_STRINGS_DQ, false);
2417 store.setDefault(PreferenceConstants.EDITOR_WRAP_STRINGS_SQ, true);
2418 store.setDefault(PreferenceConstants.EDITOR_ESCAPE_STRINGS_SQ, false);
2419 store.setDefault(PreferenceConstants.EDITOR_ADD_JAVADOC_TAGS, true);
2420 store.setDefault(PreferenceConstants.EDITOR_FORMAT_JAVADOCS, false);
2421 store.setDefault(PreferenceConstants.EDITOR_DISABLE_OVERWRITE_MODE, false);
2423 store.setDefault(PreferenceConstants.EDITOR_CLOSE_STRINGS_HTML, true);
2424 store.setDefault(PreferenceConstants.EDITOR_CLOSE_BRACKETS_HTML, true);
2426 // store.setDefault(PreferenceConstants.EDITOR_DEFAULT_HOVER, JavaPlugin.ID_BESTMATCH_HOVER);
2427 store.setDefault(PreferenceConstants.EDITOR_NONE_HOVER, PreferenceConstants.EDITOR_DEFAULT_HOVER_CONFIGURED_ID);
2428 // store.setDefault(PreferenceConstants.EDITOR_CTRL_HOVER, JavaPlugin.ID_SOURCE_HOVER);
2429 store.setDefault(PreferenceConstants.EDITOR_SHIFT_HOVER, PreferenceConstants.EDITOR_DEFAULT_HOVER_CONFIGURED_ID);
2430 store.setDefault(PreferenceConstants.EDITOR_CTRL_SHIFT_HOVER, PreferenceConstants.EDITOR_DEFAULT_HOVER_CONFIGURED_ID);
2431 store.setDefault(PreferenceConstants.EDITOR_CTRL_ALT_HOVER, PreferenceConstants.EDITOR_DEFAULT_HOVER_CONFIGURED_ID);
2432 store.setDefault(PreferenceConstants.EDITOR_ALT_SHIFT_HOVER, PreferenceConstants.EDITOR_DEFAULT_HOVER_CONFIGURED_ID);
2433 store.setDefault(PreferenceConstants.EDITOR_CTRL_ALT_SHIFT_HOVER, PreferenceConstants.EDITOR_DEFAULT_HOVER_CONFIGURED_ID);
2435 String ctrl = Action.findModifierString(SWT.CTRL);
2436 store.setDefault(PreferenceConstants.EDITOR_TEXT_HOVER_MODIFIERS,
2437 "net.sourceforge.phpdt.ui.BestMatchHover;0;net.sourceforge.phpdt.ui.JavaSourceHover;" + ctrl); //$NON-NLS-1$
2438 store.setDefault(PreferenceConstants.EDITOR_TEXT_HOVER_MODIFIER_MASKS,
2439 "net.sourceforge.phpdt.ui.BestMatchHover;0;net.sourceforge.phpdt.ui.JavaSourceHover;" + SWT.CTRL); //$NON-NLS-1$
2440 store.setDefault(PreferenceConstants.EDITOR_SHOW_TEXT_HOVER_AFFORDANCE, true);
2442 store.setDefault(PreferenceConstants.EDITOR_BROWSER_LIKE_LINKS, true);
2443 store.setDefault(PreferenceConstants.EDITOR_BROWSER_LIKE_LINKS_KEY_MODIFIER, ctrl);
2444 store.setDefault(PreferenceConstants.EDITOR_BROWSER_LIKE_LINKS_KEY_MODIFIER_MASK, SWT.CTRL);
2447 store.setDefault(PreferenceConstants.SPELLING_CHECK_SPELLING, false);
2448 store.setDefault(PreferenceConstants.SPELLING_LOCALE, SpellCheckEngine.getDefaultLocale().toString());
2449 store.setDefault(PreferenceConstants.SPELLING_IGNORE_DIGITS, true);
2450 store.setDefault(PreferenceConstants.SPELLING_IGNORE_MIXED, true);
2451 store.setDefault(PreferenceConstants.SPELLING_IGNORE_SENTENCE, true);
2452 store.setDefault(PreferenceConstants.SPELLING_IGNORE_UPPER, true);
2453 store.setDefault(PreferenceConstants.SPELLING_IGNORE_URLS, true);
2454 store.setDefault(PreferenceConstants.SPELLING_USER_DICTIONARY, ""); //$NON-NLS-1$
2455 store.setDefault(PreferenceConstants.SPELLING_PROPOSAL_THRESHOLD, 20);
2456 store.setDefault(PreferenceConstants.SPELLING_ENABLE_CONTENTASSIST, false);
2459 store.setDefault(PreferenceConstants.EDITOR_FOLDING_ENABLED, true);
2460 store.setDefault(PreferenceConstants.EDITOR_FOLDING_PROVIDER, "net.sourceforge.phpdt.ui.text.defaultFoldingProvider"); //$NON-NLS-1$
2461 store.setDefault(PreferenceConstants.EDITOR_FOLDING_JAVADOC, true);
2462 store.setDefault(PreferenceConstants.EDITOR_FOLDING_INNERTYPES, true);
2463 store.setDefault(PreferenceConstants.EDITOR_FOLDING_METHODS, false);
2464 store.setDefault(PreferenceConstants.EDITOR_FOLDING_IMPORTS, false);
2466 store.setDefault(PreferenceConstants.EDITOR_SMART_BACKSPACE, true);
2468 // do more complicated stuff
2469 // NewJavaProjectPreferencePage.initDefaults(store);
2473 * Returns the JDT-UI preference store.
2475 * @return the JDT-UI preference store
2477 public static IPreferenceStore getPreferenceStore() {
2478 return PHPeclipsePlugin.getDefault().getPreferenceStore();
2482 // * Encodes a JRE library to be used in the named preference <code>NEWPROJECT_JRELIBRARY_LIST</code>.
2484 // * @param description a string value describing the JRE library. The description is used
2485 // * to indentify the JDR library in the UI
2486 // * @param entries an array of classpath entries to be encoded
2488 // * @return the encoded string.
2490 // public static String encodeJRELibrary(String description, IClasspathEntry[] entries) {
2491 // return NewJavaProjectPreferencePage.encodeJRELibrary(description, entries);
2495 // * Decodes an encoded JRE library and returns its description string.
2497 // * @return the description of an encoded JRE library
2499 // * @see #encodeJRELibrary(String, IClasspathEntry[])
2501 // public static String decodeJRELibraryDescription(String encodedLibrary) {
2502 // return NewJavaProjectPreferencePage.decodeJRELibraryDescription(encodedLibrary);
2506 // * Decodes an encoded JRE library and returns its classpath entries.
2508 // * @return the array of classpath entries of an encoded JRE library.
2510 // * @see #encodeJRELibrary(String, IClasspathEntry[])
2512 // public static IClasspathEntry[] decodeJRELibraryClasspathEntries(String encodedLibrary) {
2513 // return NewJavaProjectPreferencePage.decodeJRELibraryClasspathEntries(encodedLibrary);
2517 // * Returns the current configuration for the JRE to be used as default in new Java projects.
2518 // * This is a convenience method to access the named preference <code>NEWPROJECT_JRELIBRARY_LIST
2519 // * </code> with the index defined by <code> NEWPROJECT_JRELIBRARY_INDEX</code>.
2521 // * @return the current default set of classpath entries
2523 // * @see #NEWPROJECT_JRELIBRARY_LIST
2524 // * @see #NEWPROJECT_JRELIBRARY_INDEX
2526 // public static IClasspathEntry[] getDefaultJRELibrary() {
2527 // return NewJavaProjectPreferencePage.getDefaultJRELibrary();