KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > jdt > ui > PreferenceConstants


1 /*******************************************************************************
2  * Copyright (c) 2000, 2007 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

11 package org.eclipse.jdt.ui;
12
13 import java.util.Locale JavaDoc;
14
15 import org.eclipse.core.runtime.preferences.DefaultScope;
16 import org.eclipse.core.runtime.preferences.InstanceScope;
17
18 import org.eclipse.core.resources.ProjectScope;
19
20 import org.eclipse.swt.SWT;
21 import org.eclipse.swt.graphics.RGB;
22
23 import org.eclipse.jface.action.Action;
24 import org.eclipse.jface.preference.IPreferenceStore;
25 import org.eclipse.jface.preference.PreferenceConverter;
26 import org.eclipse.jface.resource.ColorRegistry;
27
28 import org.eclipse.ui.PlatformUI;
29 import org.eclipse.ui.texteditor.AbstractDecoratedTextEditorPreferenceConstants;
30 import org.eclipse.ui.texteditor.AbstractTextEditor;
31
32 import org.eclipse.jdt.core.IClasspathEntry;
33 import org.eclipse.jdt.core.IJavaProject;
34 import org.eclipse.jdt.core.JavaCore;
35
36 import org.eclipse.jdt.internal.corext.fix.CleanUpConstants;
37
38 import org.eclipse.jdt.ui.text.IJavaColorConstants;
39
40 import org.eclipse.jdt.internal.ui.IJavaThemeConstants;
41 import org.eclipse.jdt.internal.ui.JavaPlugin;
42 import org.eclipse.jdt.internal.ui.javaeditor.SemanticHighlightings;
43 import org.eclipse.jdt.internal.ui.preferences.NewJavaProjectPreferencePage;
44 import org.eclipse.jdt.internal.ui.preferences.formatter.FormatterProfileManager;
45 import org.eclipse.jdt.internal.ui.text.java.ProposalSorterRegistry;
46 import org.eclipse.jdt.internal.ui.text.spelling.JavaSpellingEngine;
47 import org.eclipse.jdt.internal.ui.text.spelling.SpellCheckEngine;
48 import org.eclipse.jdt.internal.ui.text.spelling.SpellingEngine;
49
50 /**
51  * Preference constants used in the JDT-UI preference store. Clients should only read the
52  * JDT-UI preference store using these values. Clients are not allowed to modify the
53  * preference store programmatically.
54  *
55  * @since 2.0
56   */

57 public class PreferenceConstants {
58
59     private PreferenceConstants() {
60     }
61     
62     /**
63      * A named preference that controls return type rendering of methods in the UI.
64      * <p>
65      * Value is of type <code>Boolean</code>: if <code>true</code> return types
66      * are rendered
67      * </p>
68      */

69     public static final String JavaDoc APPEARANCE_METHOD_RETURNTYPE= "org.eclipse.jdt.ui.methodreturntype";//$NON-NLS-1$
70

71     /**
72      * A named preference that controls type parameter rendering of methods in the UI.
73      * <p>
74      * Value is of type <code>Boolean</code>: if <code>true</code> return types
75      * are rendered
76      * </p>
77      * @since 3.1
78      */

79     public static final String JavaDoc APPEARANCE_METHOD_TYPEPARAMETERS= "org.eclipse.jdt.ui.methodtypeparametesr";//$NON-NLS-1$
80

81     /**
82      * A named preference that controls if override indicators are rendered in the UI.
83      * <p>
84      * Value is of type <code>Boolean</code>: if <code>true</code> override
85      * indicators are rendered
86      * </p>
87      * @deprecated Override Indicator is now controlled on the platform's decorator preference page
88      */

89     public static final String JavaDoc APPEARANCE_OVERRIDE_INDICATOR= "org.eclipse.jdt.ui.overrideindicator";//$NON-NLS-1$
90

91     /**
92      * A named preference that controls if quick assist light bulbs are shown.
93      * <p>
94      * Value is of type <code>Boolean</code>: if <code>true</code> light bulbs are shown
95      * for quick assists.
96      * </p>
97      *
98      * @since 3.0
99      */

100     public static final String JavaDoc EDITOR_QUICKASSIST_LIGHTBULB="org.eclipse.jdt.quickassist.lightbulb"; //$NON-NLS-1$
101

102
103
104     /**
105      * A named preference that defines the pattern used for package name compression.
106      * <p>
107      * Value is of type <code>String</code>. For example for the given package name 'org.eclipse.jdt' pattern
108      * '.' will compress it to '..jdt', '1~' to 'o~.e~.jdt'.
109      * </p>
110      */

111     public static final String JavaDoc APPEARANCE_PKG_NAME_PATTERN_FOR_PKG_VIEW= "PackagesView.pkgNamePatternForPackagesView";//$NON-NLS-1$
112

113     /**
114      * A named preference that controls if package name compression is turned on or off.
115      * <p>
116      * Value is of type <code>Boolean</code>.
117      * </p>
118      *
119      * @see #APPEARANCE_PKG_NAME_PATTERN_FOR_PKG_VIEW
120      */

121     public static final String JavaDoc APPEARANCE_COMPRESS_PACKAGE_NAMES= "org.eclipse.jdt.ui.compresspackagenames";//$NON-NLS-1$
122

123     /**
124      * A named preference that controls if empty inner packages are folded in
125      * the hierarchical mode of the package explorer.
126      * <p>
127      * Value is of type <code>Boolean</code>: if <code>true</code> empty
128      * inner packages are folded.
129      * </p>
130      * @since 2.1
131      */

132     public static final String JavaDoc APPEARANCE_FOLD_PACKAGES_IN_PACKAGE_EXPLORER= "org.eclipse.jdt.ui.flatPackagesInPackageExplorer";//$NON-NLS-1$
133

134     /**
135      * A named preference that defines how member elements are ordered by the
136      * Java views using the <code>JavaElementSorter</code>.
137      * <p>
138      * Value is of type <code>String</code>: A comma separated list of the
139      * following entries. Each entry must be in the list, no duplication. List
140      * order defines the sort order.
141      * <ul>
142      * <li><b>T</b>: Types</li>
143      * <li><b>C</b>: Constructors</li>
144      * <li><b>I</b>: Initializers</li>
145      * <li><b>M</b>: Methods</li>
146      * <li><b>F</b>: Fields</li>
147      * <li><b>SI</b>: Static Initializers</li>
148      * <li><b>SM</b>: Static Methods</li>
149      * <li><b>SF</b>: Static Fields</li>
150      * </ul>
151      * </p>
152      * @since 2.1
153      */

154     public static final String JavaDoc APPEARANCE_MEMBER_SORT_ORDER= "outlinesortoption"; //$NON-NLS-1$
155

156     /**
157      * A named preference that defines how member elements are ordered by visibility in the
158      * Java views using the <code>JavaElementSorter</code>.
159      * <p>
160      * Value is of type <code>String</code>: A comma separated list of the
161      * following entries. Each entry must be in the list, no duplication. List
162      * order defines the sort order.
163      * <ul>
164      * <li><b>B</b>: Public</li>
165      * <li><b>V</b>: Private</li>
166      * <li><b>R</b>: Protected</li>
167      * <li><b>D</b>: Default</li>
168      * </ul>
169      * </p>
170      * @since 3.0
171      */

172     public static final String JavaDoc APPEARANCE_VISIBILITY_SORT_ORDER= "org.eclipse.jdt.ui.visibility.order"; //$NON-NLS-1$
173

174     /**
175      * A named preferences that controls if Java elements are also sorted by
176      * visibility.
177      * <p>
178      * Value is of type <code>Boolean</code>.
179      * </p>
180      * @since 3.0
181      */

182     public static final String JavaDoc APPEARANCE_ENABLE_VISIBILITY_SORT_ORDER= "org.eclipse.jdt.ui.enable.visibility.order"; //$NON-NLS-1$
183

184     /**
185      * A named preference that controls category rendering of Java elements in the UI.
186      * <p>
187      * Value is of type <code>Boolean</code>: if <code>true</code> category is rendered
188      * </p>
189      * @since 3.2
190      */

191     public static final String JavaDoc APPEARANCE_CATEGORY= "org.eclipse.jdt.ui.category";//$NON-NLS-1$
192

193     /**
194      * The symbolic font name for the font used to display Javadoc
195      * (value <code>"org.eclipse.jdt.ui.javadocfont"</code>).
196      *
197      * @since 3.3
198      */

199     public final static String JavaDoc APPEARANCE_JAVADOC_FONT= "org.eclipse.jdt.ui.javadocfont"; //$NON-NLS-1$
200

201     /**
202      * A named preference that controls if prefix removal during setter/getter generation is turned on or off.
203      * <p>
204      * Value is of type <code>Boolean</code>.
205      * </p>
206      * @deprecated Use JavaCore preference store (key JavaCore.
207      * CODEASSIST_FIELD_PREFIXES and CODEASSIST_STATIC_FIELD_PREFIXES)
208      */

209     public static final String JavaDoc CODEGEN_USE_GETTERSETTER_PREFIX= "org.eclipse.jdt.ui.gettersetter.prefix.enable";//$NON-NLS-1$
210

211     /**
212      * A named preference that holds a list of prefixes to be removed from a local variable to compute setter
213      * and getter names.
214      * <p>
215      * Value is of type <code>String</code>: comma separated list of prefixed
216      * </p>
217      *
218      * @deprecated Use JavaCore preference store (key JavaCore.
219      * CODEASSIST_FIELD_PREFIXES and CODEASSIST_STATIC_FIELD_PREFIXES)
220      */

221     public static final String JavaDoc CODEGEN_GETTERSETTER_PREFIX= "org.eclipse.jdt.ui.gettersetter.prefix.list";//$NON-NLS-1$
222

223     /**
224      * A named preference that controls if suffix removal during setter/getter generation is turned on or off.
225      * <p>
226      * Value is of type <code>Boolean</code>.
227      * </p>
228      * @deprecated Use JavaCore preference store (key JavaCore.
229      * CODEASSIST_FIELD_PREFIXES and CODEASSIST_STATIC_FIELD_PREFIXES)
230      */

231     public static final String JavaDoc CODEGEN_USE_GETTERSETTER_SUFFIX= "org.eclipse.jdt.ui.gettersetter.suffix.enable";//$NON-NLS-1$
232

233     /**
234      * A named preference that holds a list of suffixes to be removed from a local variable to compute setter
235      * and getter names.
236      * <p>
237      * Value is of type <code>String</code>: comma separated list of suffixes
238      * </p>
239      * @deprecated Use setting from JavaCore preference store (key JavaCore.
240      * CODEASSIST_FIELD_SUFFIXES and CODEASSIST_STATIC_FIELD_SUFFIXES)
241      */

242     public static final String JavaDoc CODEGEN_GETTERSETTER_SUFFIX= "org.eclipse.jdt.ui.gettersetter.suffix.list"; //$NON-NLS-1$
243

244     /**
245      * A named preference that controls whether the keyword "this" will be added
246      * automatically to field accesses in generated methods.
247      * <p>
248      * Value is of type <code>Boolean</code>.
249      * </p>
250      * @since 3.0
251      */

252     public static final String JavaDoc CODEGEN_KEYWORD_THIS= "org.eclipse.jdt.ui.keywordthis"; //$NON-NLS-1$
253

254     /**
255      * A named preference that controls whether to use the prefix "is" or the prefix "get" for
256      * automatically created getters which return a boolean field.
257      * <p>
258      * Value is of type <code>Boolean</code>.
259      * </p>
260      * @since 3.0
261      */

262     public static final String JavaDoc CODEGEN_IS_FOR_GETTERS= "org.eclipse.jdt.ui.gettersetter.use.is"; //$NON-NLS-1$
263

264     
265     /**
266      * A named preference that defines the preferred variable names for exceptions in
267      * catch clauses.
268      * <p>
269      * Value is of type <code>String</code>.
270      * </p>
271      * @since 3.0
272      */

273     public static final String JavaDoc CODEGEN_EXCEPTION_VAR_NAME= "org.eclipse.jdt.ui.exception.name"; //$NON-NLS-1$
274

275     /**
276      * A named preference that controls if comment stubs will be added
277      * automatically to newly created types and methods.
278      * <p>
279      * Value is of type <code>Boolean</code>.
280      * </p>
281      * @since 2.1
282      */

283     public static final String JavaDoc CODEGEN_ADD_COMMENTS= "org.eclipse.jdt.ui.javadoc"; //$NON-NLS-1$
284

285     /**
286      * A named preference that controls if a comment stubs will be added
287      * automatically to newly created types and methods.
288      * <p>
289      * Value is of type <code>Boolean</code>.
290      * </p>
291      * @deprecated Use CODEGEN_ADD_COMMENTS instead (Name is more precise).
292      */

293     public static final String JavaDoc CODEGEN__JAVADOC_STUBS= CODEGEN_ADD_COMMENTS;
294
295     /**
296      * A named preference that controls if a non-javadoc comment gets added to methods generated via the
297      * "Override Methods" operation.
298      * <p>
299      * Value is of type <code>Boolean</code>.
300      * </p>
301      * @deprecated New code template story: user can
302      * specify the overriding method comment.
303      */

304     public static final String JavaDoc CODEGEN__NON_JAVADOC_COMMENTS= "org.eclipse.jdt.ui.seecomments"; //$NON-NLS-1$
305

306     /**
307      * A named preference that controls if a file comment gets added to newly created files.
308      * <p>
309      * Value is of type <code>Boolean</code>.
310      * </p>
311      * @deprecated New code template story: user can
312      * specify the new file code template.
313      */

314     public static final String JavaDoc CODEGEN__FILE_COMMENTS= "org.eclipse.jdt.ui.filecomments"; //$NON-NLS-1$
315

316     /**
317      * A named preference that controls whether to add a override annotation for newly created methods
318      * <p>
319      * Value is of type <code>Boolean</code>.
320      * </p>
321      * @since 3.1
322      */

323     public static final String JavaDoc CODEGEN_USE_OVERRIDE_ANNOTATION= "org.eclipse.jdt.ui.overrideannotation"; //$NON-NLS-1$
324

325     /**
326      * A named preference that holds a list of semicolon separated fully qualified type names with wild card characters.
327      * @since 3.0
328      */

329     public static final String JavaDoc TYPEFILTER_ENABLED= "org.eclipse.jdt.ui.typefilter.enabled"; //$NON-NLS-1$
330

331     /**
332      * A named preference that holds a list of semicolon separated fully qualified type names with wild card characters.
333      * @since 3.0
334      */

335     public static final String JavaDoc TYPEFILTER_DISABLED= "org.eclipse.jdt.ui.typefilter.disabled"; //$NON-NLS-1$
336

337     
338     /**
339      * A named preference that holds a list of semicolon separated package names. The list specifies the import order used by
340      * the "Organize Imports" operation.
341      * <p>
342      * Value is of type <code>String</code>: semicolon separated list of package
343      * names
344      * </p>
345      */

346     public static final String JavaDoc ORGIMPORTS_IMPORTORDER= "org.eclipse.jdt.ui.importorder"; //$NON-NLS-1$
347

348     /**
349      * A named preference that specifies the number of imports added before a star-import declaration is used.
350      * <p>
351      * Value is of type <code>Integer</code>: positive value specifying the number of non star-import is used
352      * </p>
353      */

354     public static final String JavaDoc ORGIMPORTS_ONDEMANDTHRESHOLD= "org.eclipse.jdt.ui.ondemandthreshold"; //$NON-NLS-1$
355

356     /**
357      * A named preference that specifies the number of static imports added before a star-import declaration is used.
358      * <p>
359      * Value is of type <code>Integer</code>: positive value specifying the number of non star-import is used
360      * </p>
361      * @since 3.2
362      */

363     public static final String JavaDoc ORGIMPORTS_STATIC_ONDEMANDTHRESHOLD= "org.eclipse.jdt.ui.staticondemandthreshold"; //$NON-NLS-1$
364

365     /**
366      * A named preferences that controls if types that start with a lower case letters get added by the
367      * "Organize Import" operation.
368      * <p>
369      * Value is of type <code>Boolean</code>.
370      * </p>
371      */

372     public static final String JavaDoc ORGIMPORTS_IGNORELOWERCASE= "org.eclipse.jdt.ui.ignorelowercasenames"; //$NON-NLS-1$
373

374     /**
375      * A named preference that specifies whether children of a compilation unit are shown in the package explorer.
376      * <p>
377      * Value is of type <code>Boolean</code>.
378      * </p>
379      */

380     public static final String JavaDoc SHOW_CU_CHILDREN= "org.eclipse.jdt.ui.packages.cuchildren"; //$NON-NLS-1$
381

382     /**
383      * A named preference that controls whether the package explorer's selection is linked to the active editor.
384      * <p>
385      * Value is of type <code>Boolean</code>.
386      * </p>
387      * @deprecated Since 3.3. Not used anymore. Package view always restores with the last recently used setting.
388      */

389     public static final String JavaDoc LINK_PACKAGES_TO_EDITOR= "org.eclipse.jdt.ui.packages.linktoeditor"; //$NON-NLS-1$
390

391     /**
392      * A named preference that controls whether the hierarchy view's selection is linked to the active editor.
393      * <p>
394      * Value is of type <code>Boolean</code>.
395      * </p>
396      * @deprecated Since 3.3. Not used anymore. Type hierarchy view always restores with the last recently used setting.
397      */

398     public static final String JavaDoc LINK_TYPEHIERARCHY_TO_EDITOR= "org.eclipse.jdt.ui.packages.linktypehierarchytoeditor"; //$NON-NLS-1$
399

400     /**
401      * A named preference that controls whether the projects view's selection is
402      * linked to the active editor.
403      * <p>
404      * Value is of type <code>Boolean</code>.
405      * </p>
406      * @since 2.1
407      */

408     public static final String JavaDoc LINK_BROWSING_PROJECTS_TO_EDITOR= "org.eclipse.jdt.ui.browsing.projectstoeditor"; //$NON-NLS-1$
409

410     /**
411      * A named preference that controls whether the packages view's selection is
412      * linked to the active editor.
413      * <p>
414      * Value is of type <code>Boolean</code>.
415      * </p>
416      * @since 2.1
417      */

418     public static final String JavaDoc LINK_BROWSING_PACKAGES_TO_EDITOR= "org.eclipse.jdt.ui.browsing.packagestoeditor"; //$NON-NLS-1$
419

420
421
422     /**
423      * A named preference that controls whether the types view's selection is
424      * linked to the active editor.
425      * <p>
426      * Value is of type <code>Boolean</code>.
427      * </p>
428      * @since 2.1
429      */

430     public static final String JavaDoc LINK_BROWSING_TYPES_TO_EDITOR= "org.eclipse.jdt.ui.browsing.typestoeditor"; //$NON-NLS-1$
431

432     /**
433      * A named preference that controls whether the members view's selection is
434      * linked to the active editor.
435      * <p>
436      * Value is of type <code>Boolean</code>.
437      * </p>
438      * @since 2.1
439      */

440     public static final String JavaDoc LINK_BROWSING_MEMBERS_TO_EDITOR= "org.eclipse.jdt.ui.browsing.memberstoeditor"; //$NON-NLS-1$
441
/**
442      * A named preference that controls whether new projects are generated using source and output folder.
443      * <p>
444      * Value is of type <code>Boolean</code>. if <code>true</code> new projects are created with a source and
445      * output folder. If <code>false</code> source and output folder equals to the project.
446      * </p>
447      */

448     public static final String JavaDoc SRCBIN_FOLDERS_IN_NEWPROJ= "org.eclipse.jdt.ui.wizards.srcBinFoldersInNewProjects"; //$NON-NLS-1$
449

450     /**
451      * A named preference that specifies the source folder name used when creating a new Java project. Value is inactive
452      * if <code>SRCBIN_FOLDERS_IN_NEWPROJ</code> is set to <code>false</code>.
453      * <p>
454      * Value is of type <code>String</code>.
455      * </p>
456      *
457      * @see #SRCBIN_FOLDERS_IN_NEWPROJ
458      */

459     public static final String JavaDoc SRCBIN_SRCNAME= "org.eclipse.jdt.ui.wizards.srcBinFoldersSrcName"; //$NON-NLS-1$
460

461     /**
462      * A named preference that specifies the output folder name used when creating a new Java project. Value is inactive
463      * if <code>SRCBIN_FOLDERS_IN_NEWPROJ</code> is set to <code>false</code>.
464      * <p>
465      * Value is of type <code>String</code>.
466      * </p>
467      *
468      * @see #SRCBIN_FOLDERS_IN_NEWPROJ
469      */

470     public static final String JavaDoc SRCBIN_BINNAME= "org.eclipse.jdt.ui.wizards.srcBinFoldersBinName"; //$NON-NLS-1$
471

472     /**
473      * A named preference that holds a list of possible JRE libraries used by the New Java Project wizard. A library
474      * consists of a description and an arbitrary number of <code>IClasspathEntry</code>s, that will represent the
475      * JRE on the new project's class path.
476      * <p>
477      * Value is of type <code>String</code>: a semicolon separated list of encoded JRE libraries.
478      * <code>NEWPROJECT_JRELIBRARY_INDEX</code> defines the currently used library. Clients
479      * should use the method <code>encodeJRELibrary</code> to encode a JRE library into a string
480      * and the methods <code>decodeJRELibraryDescription(String)</code> and <code>
481      * decodeJRELibraryClasspathEntries(String)</code> to decode the description and the array
482      * of class path entries from an encoded string.
483      * </p>
484      *
485      * @see #NEWPROJECT_JRELIBRARY_INDEX
486      * @see #encodeJRELibrary(String, IClasspathEntry[])
487      * @see #decodeJRELibraryDescription(String)
488      * @see #decodeJRELibraryClasspathEntries(String)
489      */

490     public static final String JavaDoc NEWPROJECT_JRELIBRARY_LIST= "org.eclipse.jdt.ui.wizards.jre.list"; //$NON-NLS-1$
491

492     /**
493      * A named preferences that specifies the current active JRE library.
494      * <p>
495      * Value is of type <code>Integer</code>: an index into the list of possible JRE libraries.
496      * </p>
497      *
498      * @see #NEWPROJECT_JRELIBRARY_LIST
499      */

500     public static final String JavaDoc NEWPROJECT_JRELIBRARY_INDEX= "org.eclipse.jdt.ui.wizards.jre.index"; //$NON-NLS-1$
501

502     /**
503      * A named preference that controls if a new type hierarchy gets opened in a
504      * new type hierarchy perspective or inside the type hierarchy view part.
505      * <p>
506      * Value is of type <code>String</code>: possible values are <code>
507      * OPEN_TYPE_HIERARCHY_IN_PERSPECTIVE</code> or <code>
508      * OPEN_TYPE_HIERARCHY_IN_VIEW_PART</code>.
509      * </p>
510      *
511      * @see #OPEN_TYPE_HIERARCHY_IN_PERSPECTIVE
512      * @see #OPEN_TYPE_HIERARCHY_IN_VIEW_PART
513      */

514     public static final String JavaDoc OPEN_TYPE_HIERARCHY= "org.eclipse.jdt.ui.openTypeHierarchy"; //$NON-NLS-1$
515

516     /**
517      * A string value used by the named preference <code>OPEN_TYPE_HIERARCHY</code>.
518      *
519      * @see #OPEN_TYPE_HIERARCHY
520      */

521     public static final String JavaDoc OPEN_TYPE_HIERARCHY_IN_PERSPECTIVE= "perspective"; //$NON-NLS-1$
522

523     /**
524      * A string value used by the named preference <code>OPEN_TYPE_HIERARCHY</code>.
525      *
526      * @see #OPEN_TYPE_HIERARCHY
527      */

528     public static final String JavaDoc OPEN_TYPE_HIERARCHY_IN_VIEW_PART= "viewPart"; //$NON-NLS-1$
529

530     /**
531      * A named preference that controls the behavior when double clicking on a container in the packages view.
532      * <p>
533      * Value is of type <code>String</code>: possible values are <code>
534      * DOUBLE_CLICK_GOES_INTO</code> or <code>
535      * DOUBLE_CLICK_EXPANDS</code>.
536      * </p>
537      *
538      * @see #DOUBLE_CLICK_EXPANDS
539      * @see #DOUBLE_CLICK_GOES_INTO
540      */

541     public static final String JavaDoc DOUBLE_CLICK= "packageview.doubleclick"; //$NON-NLS-1$
542

543     /**
544      * A string value used by the named preference <code>DOUBLE_CLICK</code>.
545      *
546      * @see #DOUBLE_CLICK
547      */

548     public static final String JavaDoc DOUBLE_CLICK_GOES_INTO= "packageview.gointo"; //$NON-NLS-1$
549

550     /**
551      * A string value used by the named preference <code>DOUBLE_CLICK</code>.
552      *
553      * @see #DOUBLE_CLICK
554      */

555     public static final String JavaDoc DOUBLE_CLICK_EXPANDS= "packageview.doubleclick.expands"; //$NON-NLS-1$
556

557     /**
558      * A named preference that controls whether Java views update their presentation while editing or when saving the
559      * content of an editor.
560      * <p>
561      * Value is of type <code>String</code>: possible values are <code>
562      * UPDATE_ON_SAVE</code> or <code>
563      * UPDATE_WHILE_EDITING</code>.
564      * </p>
565      *
566      * @see #UPDATE_ON_SAVE
567      * @see #UPDATE_WHILE_EDITING
568      * @deprecated Since 3.0, views now always update while editing
569      */

570     public static final String JavaDoc UPDATE_JAVA_VIEWS= "JavaUI.update"; //$NON-NLS-1$
571

572     /**
573      * A string value used by the named preference <code>UPDATE_JAVA_VIEWS</code>
574      *
575      * @see #UPDATE_JAVA_VIEWS
576      * @deprecated Since 3.0, views now always update while editing
577      */

578     public static final String JavaDoc UPDATE_ON_SAVE= "JavaUI.update.onSave"; //$NON-NLS-1$
579

580     /**
581      * A string value used by the named preference <code>UPDATE_JAVA_VIEWS</code>
582      *
583      * @see #UPDATE_JAVA_VIEWS
584      * @deprecated Since 3.0, views now always update while editing
585      */

586     public static final String JavaDoc UPDATE_WHILE_EDITING= "JavaUI.update.whileEditing"; //$NON-NLS-1$
587

588     /**
589      * A named preference that holds the path of the Javadoc command used by the Javadoc creation wizard.
590      * <p>
591      * Value is of type <code>String</code>.
592      * </p>
593      */

594     public static final String JavaDoc JAVADOC_COMMAND= "command"; //$NON-NLS-1$
595

596     /**
597      * A named preference that defines whether the hint to make hover sticky should be shown.
598      *
599      * @see JavaUI
600      * @since 3.0
601      * @deprecated As of 3.3, replaced by {@link AbstractDecoratedTextEditorPreferenceConstants#EDITOR_SHOW_TEXT_HOVER_AFFORDANCE}
602      */

603     public static final String JavaDoc EDITOR_SHOW_TEXT_HOVER_AFFORDANCE= "PreferenceConstants.EDITOR_SHOW_TEXT_HOVER_AFFORDANCE"; //$NON-NLS-1$
604

605     /**
606      * A named preference that defines the key for the hover modifiers.
607      *
608      * @see JavaUI
609      * @since 2.1
610      */

611     public static final String JavaDoc EDITOR_TEXT_HOVER_MODIFIERS= "hoverModifiers"; //$NON-NLS-1$
612

613     /**
614      * A named preference that defines the key for the hover modifier state masks.
615      * The value is only used if the value of <code>EDITOR_TEXT_HOVER_MODIFIERS</code>
616      * cannot be resolved to valid SWT modifier bits.
617      *
618      * @see JavaUI
619      * @see #EDITOR_TEXT_HOVER_MODIFIERS
620      * @since 2.1.1
621      */

622     public static final String JavaDoc EDITOR_TEXT_HOVER_MODIFIER_MASKS= "hoverModifierMasks"; //$NON-NLS-1$
623

624     /**
625      * The id of the best match hover contributed for extension point
626      * <code>javaEditorTextHovers</code>.
627      *
628      * @since 2.1
629      */

630     public static final String JavaDoc ID_BESTMATCH_HOVER= "org.eclipse.jdt.ui.BestMatchHover"; //$NON-NLS-1$
631

632     /**
633      * The id of the source code hover contributed for extension point
634      * <code>javaEditorTextHovers</code>.
635      *
636      * @since 2.1
637      */

638     public static final String JavaDoc ID_SOURCE_HOVER= "org.eclipse.jdt.ui.JavaSourceHover"; //$NON-NLS-1$
639

640     /**
641      * The id of the javadoc hover contributed for extension point
642      * <code>javaEditorTextHovers</code>.
643      *
644      * @since 2.1
645      */

646     public static final String JavaDoc ID_JAVADOC_HOVER= "org.eclipse.jdt.ui.JavadocHover"; //$NON-NLS-1$
647

648     /**
649      * The id of the problem hover contributed for extension point
650      * <code>javaEditorTextHovers</code>.
651      *
652      * @since 2.1
653      * @deprecated as of 3.0, this hover is no longer available
654      */

655     public static final String JavaDoc ID_PROBLEM_HOVER= "org.eclipse.jdt.ui.ProblemHover"; //$NON-NLS-1$
656

657     /**
658      * A named preference that controls whether bracket matching highlighting is turned on or off.
659      * <p>
660      * Value is of type <code>Boolean</code>.
661      * </p>
662      */

663     public final static String JavaDoc EDITOR_MATCHING_BRACKETS= "matchingBrackets"; //$NON-NLS-1$
664

665     /**
666      * A named preference that holds the color used to highlight matching brackets.
667      * <p>
668      * Value is of type <code>String</code>. A RGB color value encoded as a string
669      * using class <code>PreferenceConverter</code>
670      * </p>
671      *
672      * @see org.eclipse.jface.resource.StringConverter
673      * @see org.eclipse.jface.preference.PreferenceConverter
674      */

675     public final static String JavaDoc EDITOR_MATCHING_BRACKETS_COLOR= "matchingBracketsColor"; //$NON-NLS-1$
676

677     /**
678      * A named preference that controls whether the current line highlighting is turned on or off.
679      * <p>
680      * Value is of type <code>Boolean</code>.
681      * </p>
682      * @deprecated as of 3.0 replaced by {@link org.eclipse.ui.texteditor.AbstractDecoratedTextEditorPreferenceConstants}
683      */

684     public final static String JavaDoc EDITOR_CURRENT_LINE= "currentLine"; //$NON-NLS-1$
685

686     /**
687      * A named preference that holds the color used to highlight the current line.
688      * <p>
689      * Value is of type <code>String</code>. A RGB color value encoded as a string
690      * using class <code>PreferenceConverter</code>
691      * </p>
692      *
693      * @see org.eclipse.jface.resource.StringConverter
694      * @see org.eclipse.jface.preference.PreferenceConverter
695      * @deprecated as of 3.0 replaced by {@link org.eclipse.ui.texteditor.AbstractDecoratedTextEditorPreferenceConstants}
696      */

697     public final static String JavaDoc EDITOR_CURRENT_LINE_COLOR= "currentLineColor"; //$NON-NLS-1$
698

699     /**
700      * A named preference that controls whether the print margin is turned on or off.
701      * <p>
702      * Value is of type <code>Boolean</code>.
703      * </p>
704      * @deprecated as of 3.0 replaced by {@link org.eclipse.ui.texteditor.AbstractDecoratedTextEditorPreferenceConstants}
705      */

706     public final static String JavaDoc EDITOR_PRINT_MARGIN= "printMargin"; //$NON-NLS-1$
707

708     /**
709      * A named preference that holds the color used to render the print margin.
710      * <p>
711      * Value is of type <code>String</code>. A RGB color value encoded as a string
712      * using class <code>PreferenceConverter</code>
713      * </p>
714      *
715      * @see org.eclipse.jface.resource.StringConverter
716      * @see org.eclipse.jface.preference.PreferenceConverter
717      * @deprecated as of 3.0 replaced by {@link org.eclipse.ui.texteditor.AbstractDecoratedTextEditorPreferenceConstants}
718      */

719     public final static String JavaDoc EDITOR_PRINT_MARGIN_COLOR= "printMarginColor"; //$NON-NLS-1$
720

721     /**
722      * Print margin column. Integer value.
723      * @deprecated as of 3.0 replaced by {@link org.eclipse.ui.texteditor.AbstractDecoratedTextEditorPreferenceConstants}
724      */

725     public final static String JavaDoc EDITOR_PRINT_MARGIN_COLUMN= "printMarginColumn"; //$NON-NLS-1$
726

727     /**
728      * A named preference that holds the color used for the find/replace scope.
729      * <p>
730      * Value is of type <code>String</code>. A RGB color value encoded as a string
731      * using class <code>PreferenceConverter</code>
732      * </p>
733      *
734      * @see org.eclipse.jface.resource.StringConverter
735      * @see org.eclipse.jface.preference.PreferenceConverter
736      * @deprecated As of 3.2, use {@link AbstractTextEditor#PREFERENCE_COLOR_FIND_SCOPE} instead}
737      */

738     public final static String JavaDoc EDITOR_FIND_SCOPE_COLOR= AbstractTextEditor.PREFERENCE_COLOR_FIND_SCOPE;
739
740     /**
741      * A named preference that specifies if the editor uses spaces for tabs.
742      * <p>
743      * Value is of type <code>Boolean</code>. If <code>true</code>spaces instead of tabs are used
744      * in the editor. If <code>false</code> the editor inserts a tab character when pressing the tab
745      * key.
746      * </p>
747      * @deprecated As of 3.1 replaced by the formatter setting defined in {@link org.eclipse.jdt.core.formatter.DefaultCodeFormatterConstants#FORMATTER_TAB_CHAR}
748      */

749     public final static String JavaDoc EDITOR_SPACES_FOR_TABS= "spacesForTabs"; //$NON-NLS-1$
750

751     /**
752      * A named preference that holds the number of spaces used per tab in the editor.
753      * <p>
754      * Value is of type <code>Integer</code>: positive integer value specifying the number of
755      * spaces per tab.
756      * </p>
757      * @deprecated As of 3.0 replaced by {@link AbstractDecoratedTextEditorPreferenceConstants#EDITOR_TAB_WIDTH}
758      */

759     public final static String JavaDoc EDITOR_TAB_WIDTH= "org.eclipse.jdt.ui.editor.tab.width"; //$NON-NLS-1$
760

761     /**
762      * A named preference that controls whether the outline view selection
763      * should stay in sync with with the element at the current cursor position.
764      * <p>
765      * Value is of type <code>Boolean</code>.
766      * </p>
767      * @since 2.1
768      */

769     public final static String JavaDoc EDITOR_SYNC_OUTLINE_ON_CURSOR_MOVE= "JavaEditor.SyncOutlineOnCursorMove"; //$NON-NLS-1$
770

771     /**
772      * A named preference that controls if correction indicators are shown in the UI.
773      * <p>
774      * Value is of type <code>Boolean</code>.
775      * </p>
776      */

777     public final static String JavaDoc EDITOR_CORRECTION_INDICATION= "JavaEditor.ShowTemporaryProblem"; //$NON-NLS-1$
778

779     /**
780      * A named preference that controls whether the editor shows problem indicators in text (squiggly lines).
781      * <p>
782      * Value is of type <code>Boolean</code>.
783      * </p>
784      *
785      * @deprecated as of 3.0 replaced by {@link org.eclipse.ui.texteditor.MarkerAnnotationPreferences}
786      */

787     public final static String JavaDoc EDITOR_PROBLEM_INDICATION= "problemIndication"; //$NON-NLS-1$
788

789     /**
790      * A named preference that holds the color used to render problem indicators.
791      * <p>
792      * Value is of type <code>String</code>. A RGB color value encoded as a string
793      * using class <code>PreferenceConverter</code>
794      * </p>
795      *
796      * @see #EDITOR_PROBLEM_INDICATION
797      * @see org.eclipse.jface.resource.StringConverter
798      * @see org.eclipse.jface.preference.PreferenceConverter
799      * @deprecated as of 3.0 replaced by {@link org.eclipse.ui.texteditor.MarkerAnnotationPreferences}
800      */

801     public final static String JavaDoc EDITOR_PROBLEM_INDICATION_COLOR= "problemIndicationColor"; //$NON-NLS-1$
802

803     /**
804      * A named preference that controls whether the editor shows warning indicators in text (squiggly lines).
805      * <p>
806      * Value is of type <code>Boolean</code>.
807      * </p>
808      * @since 2.1
809      * @deprecated as of 3.0 replaced by {@link org.eclipse.ui.texteditor.MarkerAnnotationPreferences}
810      */

811     public final static String JavaDoc EDITOR_WARNING_INDICATION= "warningIndication"; //$NON-NLS-1$
812

813     /**
814      * A named preference that holds the color used to render warning indicators.
815      * <p>
816      * Value is of type <code>String</code>. A RGB color value encoded as a string
817      * using class <code>PreferenceConverter</code>
818      * </p>
819      *
820      * @see #EDITOR_WARNING_INDICATION
821      * @see org.eclipse.jface.resource.StringConverter
822      * @see org.eclipse.jface.preference.PreferenceConverter
823      * @since 2.1
824      * @deprecated as of 3.0 replaced by {@link org.eclipse.ui.texteditor.MarkerAnnotationPreferences}
825      */

826     public final static String JavaDoc EDITOR_WARNING_INDICATION_COLOR= "warningIndicationColor"; //$NON-NLS-1$
827

828     /**
829      * A named preference that controls whether the editor shows task indicators in text (squiggly lines).
830      * <p>
831      * Value is of type <code>Boolean</code>.
832      * </p>
833      * @since 2.1
834      * @deprecated as of 3.0 replaced by {@link org.eclipse.ui.texteditor.MarkerAnnotationPreferences}
835      */

836     public final static String JavaDoc EDITOR_TASK_INDICATION= "taskIndication"; //$NON-NLS-1$
837

838     /**
839      * A named preference that holds the color used to render task indicators.
840      * <p>
841      * Value is of type <code>String</code>. A RGB color value encoded as a string
842      * using class <code>PreferenceConverter</code>
843      * </p>
844      *
845      * @see #EDITOR_TASK_INDICATION
846      * @see org.eclipse.jface.resource.StringConverter
847      * @see org.eclipse.jface.preference.PreferenceConverter
848      * @since 2.1
849      * @deprecated as of 3.0 replaced by {@link org.eclipse.ui.texteditor.MarkerAnnotationPreferences}
850      */

851     public final static String JavaDoc EDITOR_TASK_INDICATION_COLOR= "taskIndicationColor"; //$NON-NLS-1$
852

853     /**
854      * A named preference that controls whether the editor shows bookmark
855      * indicators in text (squiggly lines).
856      * <p>
857      * Value is of type <code>Boolean</code>.
858      * </p>
859      * @since 2.1
860      * @deprecated as of 3.0 replaced by {@link org.eclipse.ui.texteditor.MarkerAnnotationPreferences}
861      */

862     public final static String JavaDoc EDITOR_BOOKMARK_INDICATION= "bookmarkIndication"; //$NON-NLS-1$
863

864     /**
865      * A named preference that holds the color used to render bookmark indicators.
866      * <p>
867      * Value is of type <code>String</code>. A RGB color value encoded as a string
868      * using class <code>PreferenceConverter</code>
869      * </p>
870      *
871      * @see #EDITOR_BOOKMARK_INDICATION
872      * @see org.eclipse.jface.resource.StringConverter
873      * @see org.eclipse.jface.preference.PreferenceConverter
874      * @since 2.1
875      * @deprecated as of 3.0 replaced by {@link org.eclipse.ui.texteditor.MarkerAnnotationPreferences}
876      */

877     public final static String JavaDoc EDITOR_BOOKMARK_INDICATION_COLOR= "bookmarkIndicationColor"; //$NON-NLS-1$
878

879     /**
880      * A named preference that controls whether the editor shows search
881      * indicators in text (squiggly lines).
882      * <p>
883      * Value is of type <code>Boolean</code>.
884      * </p>
885      * @since 2.1
886      * @deprecated as of 3.0 replaced by {@link org.eclipse.ui.texteditor.MarkerAnnotationPreferences}
887      */

888     public final static String JavaDoc EDITOR_SEARCH_RESULT_INDICATION= "searchResultIndication"; //$NON-NLS-1$
889

890     /**
891      * A named preference that holds the color used to render search indicators.
892      * <p>
893      * Value is of type <code>String</code>. A RGB color value encoded as a string
894      * using class <code>PreferenceConverter</code>
895      * </p>
896      *
897      * @see #EDITOR_SEARCH_RESULT_INDICATION
898      * @see org.eclipse.jface.resource.StringConverter
899      * @see org.eclipse.jface.preference.PreferenceConverter
900      * @since 2.1
901      * @deprecated as of 3.0 replaced by {@link org.eclipse.ui.texteditor.MarkerAnnotationPreferences}
902      */

903     public final static String JavaDoc EDITOR_SEARCH_RESULT_INDICATION_COLOR= "searchResultIndicationColor"; //$NON-NLS-1$
904

905     /**
906      * A named preference that controls whether the editor shows unknown
907      * indicators in text (squiggly lines).
908      * <p>
909      * Value is of type <code>Boolean</code>.
910      * </p>
911      * @since 2.1
912      * @deprecated as of 3.0 replaced by {@link org.eclipse.ui.texteditor.MarkerAnnotationPreferences}
913      */

914     public final static String JavaDoc EDITOR_UNKNOWN_INDICATION= "othersIndication"; //$NON-NLS-1$
915

916     /**
917      * A named preference that holds the color used to render unknown
918      * indicators.
919      * <p>
920      * Value is of type <code>String</code>. A RGB color value encoded as a string
921      * using class <code>PreferenceConverter</code>
922      * </p>
923      *
924      * @see #EDITOR_UNKNOWN_INDICATION
925      * @see org.eclipse.jface.resource.StringConverter
926      * @see org.eclipse.jface.preference.PreferenceConverter
927      * @since 2.1
928      * @deprecated
929      * @deprecated as of 3.0 replaced by {@link org.eclipse.ui.texteditor.MarkerAnnotationPreferences}
930      */

931     public final static String JavaDoc EDITOR_UNKNOWN_INDICATION_COLOR= "othersIndicationColor"; //$NON-NLS-1$
932

933     /**
934      * A named preference that controls whether the overview ruler shows error
935      * indicators.
936      * <p>
937      * Value is of type <code>Boolean</code>.
938      * </p>
939      * @since 2.1
940      * @deprecated as of 3.0 replaced by {@link org.eclipse.ui.texteditor.MarkerAnnotationPreferences}
941      */

942     public final static String JavaDoc EDITOR_ERROR_INDICATION_IN_OVERVIEW_RULER= "errorIndicationInOverviewRuler"; //$NON-NLS-1$
943

944     /**
945      * A named preference that controls whether the overview ruler shows warning
946      * indicators.
947      * <p>
948      * Value is of type <code>Boolean</code>.
949      * </p>
950      * @since 2.1
951      * @deprecated as of 3.0 replaced by {@link org.eclipse.ui.texteditor.MarkerAnnotationPreferences}
952      */

953     public final static String JavaDoc EDITOR_WARNING_INDICATION_IN_OVERVIEW_RULER= "warningIndicationInOverviewRuler"; //$NON-NLS-1$
954

955     /**
956      * A named preference that controls whether the overview ruler shows task
957      * indicators.
958      * <p>
959      * Value is of type <code>Boolean</code>.
960      * </p>
961      * @since 2.1
962      * @deprecated as of 3.0 replaced by {@link org.eclipse.ui.texteditor.MarkerAnnotationPreferences}
963      */

964     public final static String JavaDoc EDITOR_TASK_INDICATION_IN_OVERVIEW_RULER= "taskIndicationInOverviewRuler"; //$NON-NLS-1$
965

966     /**
967      * A named preference that controls whether the overview ruler shows
968      * bookmark indicators.
969      * <p>
970      * Value is of type <code>Boolean</code>.
971      * </p>
972      * @since 2.1
973      * @deprecated as of 3.0 replaced by {@link org.eclipse.ui.texteditor.MarkerAnnotationPreferences}
974      */

975     public final static String JavaDoc EDITOR_BOOKMARK_INDICATION_IN_OVERVIEW_RULER= "bookmarkIndicationInOverviewRuler"; //$NON-NLS-1$
976

977     /**
978      * A named preference that controls whether the overview ruler shows
979      * search result indicators.
980      * <p>
981      * Value is of type <code>Boolean</code>.
982      * </p>
983      * @since 2.1
984      * @deprecated as of 3.0 replaced by {@link org.eclipse.ui.texteditor.MarkerAnnotationPreferences}
985      */

986     public final static String JavaDoc EDITOR_SEARCH_RESULT_INDICATION_IN_OVERVIEW_RULER= "searchResultIndicationInOverviewRuler"; //$NON-NLS-1$
987

988     /**
989      * A named preference that controls whether the overview ruler shows
990      * unknown indicators.
991      * <p>
992      * Value is of type <code>Boolean</code>.
993      * </p>
994      * @since 2.1
995      * @deprecated as of 3.0 replaced by {@link org.eclipse.ui.texteditor.MarkerAnnotationPreferences}
996      */

997     public final static String JavaDoc EDITOR_UNKNOWN_INDICATION_IN_OVERVIEW_RULER= "othersIndicationInOverviewRuler"; //$NON-NLS-1$
998

999     /**
1000     * A named preference that controls whether the 'close strings' feature
1001     * is enabled.
1002     * <p>
1003     * Value is of type <code>Boolean</code>.
1004     * </p>
1005     * @since 2.1
1006     */

1007    public final static String JavaDoc EDITOR_CLOSE_STRINGS= "closeStrings"; //$NON-NLS-1$
1008

1009    /**
1010     * A named preference that controls whether the 'wrap strings' feature is
1011     * enabled.
1012     * <p>
1013     * Value is of type <code>Boolean</code>.
1014     * </p>
1015     * @since 2.1
1016     */

1017    public final static String JavaDoc EDITOR_WRAP_STRINGS= "wrapStrings"; //$NON-NLS-1$
1018

1019    /**
1020     * A named preference that controls whether the 'escape strings' feature is
1021     * enabled.
1022     * <p>
1023     * Value is of type <code>Boolean</code>.
1024     * </p>
1025     * @since 3.0
1026     */

1027    public final static String JavaDoc EDITOR_ESCAPE_STRINGS= "escapeStrings"; //$NON-NLS-1$
1028

1029    /**
1030     * A named preference that controls whether the 'close brackets' feature is
1031     * enabled.
1032     * <p>
1033     * Value is of type <code>Boolean</code>.
1034     * </p>
1035     * @since 2.1
1036     */

1037    public final static String JavaDoc EDITOR_CLOSE_BRACKETS= "closeBrackets"; //$NON-NLS-1$
1038

1039    /**
1040     * A named preference that controls whether the 'close braces' feature is
1041     * enabled.
1042     * <p>
1043     * Value is of type <code>Boolean</code>.
1044     * </p>
1045     * @since 2.1
1046     */

1047    public final static String JavaDoc EDITOR_CLOSE_BRACES= "closeBraces"; //$NON-NLS-1$
1048

1049    /**
1050     * A named preference that controls whether the 'close java docs' feature is
1051     * enabled.
1052     * <p>
1053     * Value is of type <code>Boolean</code>.
1054     * </p>
1055     * @since 2.1
1056     */

1057    public final static String JavaDoc EDITOR_CLOSE_JAVADOCS= "closeJavaDocs"; //$NON-NLS-1$
1058

1059    /**
1060     * A named preference that controls whether the 'add JavaDoc tags' feature
1061     * is enabled.
1062     * <p>
1063     * Value is of type <code>Boolean</code>.
1064     * </p>
1065     * @since 2.1
1066     */

1067    public final static String JavaDoc EDITOR_ADD_JAVADOC_TAGS= "addJavaDocTags"; //$NON-NLS-1$
1068

1069    /**
1070     * A named preference that controls whether the 'format Javadoc tags'
1071     * feature is enabled.
1072     * <p>
1073     * Value is of type <code>Boolean</code>.
1074     * </p>
1075     * @since 2.1
1076     */

1077    public final static String JavaDoc EDITOR_FORMAT_JAVADOCS= "autoFormatJavaDocs"; //$NON-NLS-1$
1078

1079    /**
1080     * A named preference that controls whether the 'smart paste' feature is
1081     * enabled.
1082     * <p>
1083     * Value is of type <code>Boolean</code>.
1084     * </p>
1085     * @since 2.1
1086     */

1087    public final static String JavaDoc EDITOR_SMART_PASTE= "smartPaste"; //$NON-NLS-1$
1088

1089    /**
1090     * A named preference that controls whether 'paste' should update the imports.
1091     * <p>
1092     * Value is of type <code>Boolean</code>.
1093     * </p>
1094     * @since 3.0
1095     */

1096    public final static String JavaDoc EDITOR_IMPORTS_ON_PASTE= "importsOnPaste"; //$NON-NLS-1$
1097

1098    /**
1099     * A named preference that controls whether the 'smart home-end' feature is
1100     * enabled.
1101     * <p>
1102     * Value is of type <code>Boolean</code>.
1103     * </p>
1104     * @since 2.1
1105     * @deprecated as of 3.3 replaced by {@link org.eclipse.ui.texteditor.AbstractDecoratedTextEditorPreferenceConstants#EDITOR_SMART_HOME_END}
1106     */

1107    public final static String JavaDoc EDITOR_SMART_HOME_END= AbstractTextEditor.PREFERENCE_NAVIGATION_SMART_HOME_END;
1108
1109    /**
1110     * A named preference that controls whether the 'sub-word navigation' feature is
1111     * enabled.
1112     * <p>
1113     * Value is of type <code>Boolean</code>.
1114     * </p>
1115     * @since 3.0
1116     */

1117    public final static String JavaDoc EDITOR_SUB_WORD_NAVIGATION= "subWordNavigation"; //$NON-NLS-1$
1118

1119    /**
1120     * A named preference that controls if temporary problems are evaluated and shown in the UI.
1121     * <p>
1122     * Value is of type <code>Boolean</code>.
1123     * </p>
1124     */

1125    public final static String JavaDoc EDITOR_EVALUTE_TEMPORARY_PROBLEMS= "handleTemporaryProblems"; //$NON-NLS-1$
1126

1127    /**
1128     * A named preference that controls if the overview ruler is shown in the UI.
1129     * <p>
1130     * Value is of type <code>Boolean</code>.
1131     * </p>
1132     * @deprecated as of 3.0 replaced by {@link org.eclipse.ui.texteditor.AbstractDecoratedTextEditorPreferenceConstants}
1133     */

1134    public final static String JavaDoc EDITOR_OVERVIEW_RULER= "overviewRuler"; //$NON-NLS-1$
1135

1136    /**
1137     * A named preference that controls if the line number ruler is shown in the UI.
1138     * <p>
1139     * Value is of type <code>Boolean</code>.
1140     * </p>
1141     * @deprecated as of 3.0 replaced by {@link org.eclipse.ui.texteditor.AbstractDecoratedTextEditorPreferenceConstants}
1142     */

1143    public final static String JavaDoc EDITOR_LINE_NUMBER_RULER= "lineNumberRuler"; //$NON-NLS-1$
1144

1145    /**
1146     * A named preference that holds the color used to render line numbers inside the line number ruler.
1147     * <p>
1148     * Value is of type <code>String</code>. A RGB color value encoded as a string
1149     * using class <code>PreferenceConverter</code>
1150     * </p>
1151     *
1152     * @see org.eclipse.jface.resource.StringConverter
1153     * @see org.eclipse.jface.preference.PreferenceConverter
1154     * @see #EDITOR_LINE_NUMBER_RULER
1155     * @deprecated as of 3.0 replaced by {@link org.eclipse.ui.texteditor.AbstractDecoratedTextEditorPreferenceConstants}
1156     */

1157    public final static String JavaDoc EDITOR_LINE_NUMBER_RULER_COLOR= "lineNumberColor"; //$NON-NLS-1$
1158

1159    /**
1160     * A named preference that holds the color used to render linked positions inside code templates.
1161     * <p>
1162     * Value is of type <code>String</code>. A RGB color value encoded as a string
1163     * using class <code>PreferenceConverter</code>
1164     * </p>
1165     *
1166     * @deprecated not used any longer as the linked positions are displayed as annotations
1167     *
1168     * @see org.eclipse.jface.resource.StringConverter
1169     * @see org.eclipse.jface.preference.PreferenceConverter
1170     */

1171    public final static String JavaDoc EDITOR_LINKED_POSITION_COLOR= "linkedPositionColor"; //$NON-NLS-1$
1172

1173    /**
1174     * A named preference that holds the color used as the text foreground.
1175     * This value has not effect if the system default color is used.
1176     * <p>
1177     * Value is of type <code>String</code>. A RGB color value encoded as a string
1178     * using class <code>PreferenceConverter</code>
1179     * </p>
1180     *
1181     * @see org.eclipse.jface.resource.StringConverter
1182     * @see org.eclipse.jface.preference.PreferenceConverter
1183     * @deprecated As of 3.1, replaced by {@link AbstractTextEditor#PREFERENCE_COLOR_FOREGROUND}
1184     */

1185    public final static String JavaDoc EDITOR_FOREGROUND_COLOR= AbstractTextEditor.PREFERENCE_COLOR_FOREGROUND;
1186
1187    /**
1188     * A named preference that describes if the system default foreground color
1189     * is used as the text foreground.
1190     * <p>
1191     * Value is of type <code>Boolean</code>.
1192     * </p>
1193     * @deprecated As of 3.1, replaced by {@link AbstractTextEditor#PREFERENCE_COLOR_FOREGROUND_SYSTEM_DEFAULT}
1194     */

1195    public final static String JavaDoc EDITOR_FOREGROUND_DEFAULT_COLOR= AbstractTextEditor.PREFERENCE_COLOR_FOREGROUND_SYSTEM_DEFAULT;
1196
1197    /**
1198     * A named preference that holds the color used as the text background.
1199     * This value has not effect if the system default color is used.
1200     * <p>
1201     * Value is of type <code>String</code>. A RGB color value encoded as a string
1202     * using class <code>PreferenceConverter</code>
1203     * </p>
1204     *
1205     * @see org.eclipse.jface.resource.StringConverter
1206     * @see org.eclipse.jface.preference.PreferenceConverter
1207     * @deprecated As of 3.1, replaced by {@link AbstractTextEditor#PREFERENCE_COLOR_BACKGROUND}
1208     */

1209    public final static String JavaDoc EDITOR_BACKGROUND_COLOR= AbstractTextEditor.PREFERENCE_COLOR_BACKGROUND;
1210
1211    /**
1212     * A named preference that describes if the system default background color
1213     * is used as the text background.
1214     * <p>
1215     * Value is of type <code>Boolean</code>.
1216     * </p>
1217     * @deprecated As of 3.1, replaced by {@link AbstractTextEditor#PREFERENCE_COLOR_BACKGROUND_SYSTEM_DEFAULT}
1218     */

1219    public final static String JavaDoc EDITOR_BACKGROUND_DEFAULT_COLOR= AbstractTextEditor.PREFERENCE_COLOR_BACKGROUND_SYSTEM_DEFAULT;
1220
1221    /**
1222     * Preference key suffix for bold text style preference keys.
1223     *
1224     * @since 2.1
1225     */

1226    public static final String JavaDoc EDITOR_BOLD_SUFFIX= "_bold"; //$NON-NLS-1$
1227

1228    /**
1229     * Preference key suffix for italic text style preference keys.
1230     *
1231     * @since 3.0
1232     */

1233    public static final String JavaDoc EDITOR_ITALIC_SUFFIX= "_italic"; //$NON-NLS-1$
1234

1235    /**
1236     * Preference key suffix for strikethrough text style preference keys.
1237     *
1238     * @since 3.1
1239     */

1240    public static final String JavaDoc EDITOR_STRIKETHROUGH_SUFFIX= "_strikethrough"; //$NON-NLS-1$
1241

1242    /**
1243     * Preference key suffix for underline text style preference keys.
1244     *
1245     * @since 3.1
1246     */

1247    public static final String JavaDoc EDITOR_UNDERLINE_SUFFIX= "_underline"; //$NON-NLS-1$
1248

1249    /**
1250     * A named preference that holds the color used to render multi-line comments.
1251     * <p>
1252     * Value is of type <code>String</code>. A RGB color value encoded as a string
1253     * using class <code>PreferenceConverter</code>
1254     * </p>
1255     *
1256     * @see org.eclipse.jface.resource.StringConverter
1257     * @see org.eclipse.jface.preference.PreferenceConverter
1258     */

1259    public final static String JavaDoc EDITOR_MULTI_LINE_COMMENT_COLOR= IJavaColorConstants.JAVA_MULTI_LINE_COMMENT;
1260
1261    /**
1262     * The symbolic font name for the Java editor text font
1263     * (value <code>"org.eclipse.jdt.ui.editors.textfont"</code>).
1264     *
1265     * @since 2.1
1266     */

1267    public final static String JavaDoc EDITOR_TEXT_FONT= "org.eclipse.jdt.ui.editors.textfont"; //$NON-NLS-1$
1268

1269    /**
1270     * A named preference that controls whether multi-line comments are rendered in bold.
1271     * <p>
1272     * Value is of type <code>Boolean</code>. If <code>true</code> multi-line comments are rendered
1273     * in bold. If <code>false</code> the are rendered using no font style attribute.
1274     * </p>
1275     */

1276    public final static String JavaDoc EDITOR_MULTI_LINE_COMMENT_BOLD= IJavaColorConstants.JAVA_MULTI_LINE_COMMENT + EDITOR_BOLD_SUFFIX;
1277
1278    /**
1279     * A named preference that controls whether multi-line comments are rendered in italic.
1280     * <p>
1281     * Value is of type <code>Boolean</code>. If <code>true</code> multi-line comments are rendered
1282     * in italic. If <code>false</code> the are rendered using no italic font style attribute.
1283     * </p>
1284     *
1285     * @since 3.0
1286     */

1287    public final static String JavaDoc EDITOR_MULTI_LINE_COMMENT_ITALIC= IJavaColorConstants.JAVA_MULTI_LINE_COMMENT + EDITOR_ITALIC_SUFFIX;
1288    
1289    /**
1290     * A named preference that controls whether multi-line comments are rendered in strikethrough.
1291     * <p>
1292     * Value is of type <code>Boolean</code>. If <code>true</code> multi-line comments are rendered
1293     * in strikethrough. If <code>false</code> the are rendered using no strikethrough font style attribute.
1294     * </p>
1295     *
1296     * @since 3.1
1297     */

1298    public final static String JavaDoc EDITOR_MULTI_LINE_COMMENT_STRIKETHROUGH= IJavaColorConstants.JAVA_MULTI_LINE_COMMENT + EDITOR_STRIKETHROUGH_SUFFIX;
1299    
1300    /**
1301     * A named preference that controls whether multi-line comments are rendered in underline.
1302     * <p>
1303     * Value is of type <code>Boolean</code>. If <code>true</code> multi-line comments are rendered
1304     * in underline. If <code>false</code> the are rendered using no underline font style attribute.
1305     * </p>
1306     *
1307     * @since 3.1
1308     */

1309    public final static String JavaDoc EDITOR_MULTI_LINE_COMMENT_UNDERLINE= IJavaColorConstants.JAVA_MULTI_LINE_COMMENT + EDITOR_UNDERLINE_SUFFIX;
1310
1311    /**
1312     * A named preference that holds the color used to render single line comments.
1313     * <p>
1314     * Value is of type <code>String</code>. A RGB color value encoded as a string
1315     * using class <code>PreferenceConverter</code>
1316     * </p>
1317     *
1318     * @see org.eclipse.jface.resource.StringConverter
1319     * @see org.eclipse.jface.preference.PreferenceConverter
1320     */

1321    public final static String JavaDoc EDITOR_SINGLE_LINE_COMMENT_COLOR= IJavaColorConstants.JAVA_SINGLE_LINE_COMMENT;
1322
1323    /**
1324     * A named preference that controls whether single line comments are rendered in bold.
1325     * <p>
1326     * Value is of type <code>Boolean</code>. If <code>true</code> single line comments are rendered
1327     * in bold. If <code>false</code> the are rendered using no font style attribute.
1328     * </p>
1329     */

1330    public final static String JavaDoc EDITOR_SINGLE_LINE_COMMENT_BOLD= IJavaColorConstants.JAVA_SINGLE_LINE_COMMENT + EDITOR_BOLD_SUFFIX;
1331
1332    /**
1333     * A named preference that controls whether single line comments are rendered in italic.
1334     * <p>
1335     * Value is of type <code>Boolean</code>. If <code>true</code> single line comments are rendered
1336     * in italic. If <code>false</code> the are rendered using no italic font style attribute.
1337     * </p>
1338     *
1339     * @since 3.0
1340     */

1341    public final static String JavaDoc EDITOR_SINGLE_LINE_COMMENT_ITALIC= IJavaColorConstants.JAVA_SINGLE_LINE_COMMENT + EDITOR_ITALIC_SUFFIX;
1342    
1343    /**
1344     * A named preference that controls whether single line comments are rendered in strikethrough.
1345     * <p>
1346     * Value is of type <code>Boolean</code>. If <code>true</code> single line comments are rendered
1347     * in strikethrough. If <code>false</code> the are rendered using no italic font style attribute.
1348     * </p>
1349     *
1350     * @since 3.1
1351     */

1352    public final static String JavaDoc EDITOR_SINGLE_LINE_COMMENT_STRIKETHROUGH= IJavaColorConstants.JAVA_SINGLE_LINE_COMMENT + EDITOR_STRIKETHROUGH_SUFFIX;
1353    
1354    /**
1355     * A named preference that controls whether single line comments are rendered in underline.
1356     * <p>
1357     * Value is of type <code>Boolean</code>. If <code>true</code> single line comments are rendered
1358     * in underline. If <code>false</code> the are rendered using no italic font style attribute.
1359     * </p>
1360     *
1361     * @since 3.1
1362     */

1363    public final static String JavaDoc EDITOR_SINGLE_LINE_COMMENT_UNDERLINE= IJavaColorConstants.JAVA_SINGLE_LINE_COMMENT + EDITOR_UNDERLINE_SUFFIX;
1364
1365    /**
1366     * A named preference that holds the color used to render java keywords.
1367     * <p>
1368     * Value is of type <code>String</code>. A RGB color value encoded as a string
1369     * using class <code>PreferenceConverter</code>
1370     * </p>
1371     *
1372     * @see org.eclipse.jface.resource.StringConverter
1373     * @see org.eclipse.jface.preference.PreferenceConverter
1374     */

1375    public final static String JavaDoc EDITOR_JAVA_KEYWORD_COLOR= IJavaColorConstants.JAVA_KEYWORD;
1376
1377    /**
1378     * A named preference that controls whether keywords are rendered in bold.
1379     * <p>
1380     * Value is of type <code>Boolean</code>.
1381     * </p>
1382     */

1383    public final static String JavaDoc EDITOR_JAVA_KEYWORD_BOLD= IJavaColorConstants.JAVA_KEYWORD + EDITOR_BOLD_SUFFIX;
1384
1385    /**
1386     * A named preference that controls whether keywords are rendered in italic.
1387     * <p>
1388     * Value is of type <code>Boolean</code>.
1389     * </p>
1390     *
1391     * @since 3.0
1392     */

1393    public final static String JavaDoc EDITOR_JAVA_KEYWORD_ITALIC= IJavaColorConstants.JAVA_KEYWORD + EDITOR_ITALIC_SUFFIX;
1394    
1395    /**
1396     * A named preference that controls whether keywords are rendered in strikethrough.
1397     * <p>
1398     * Value is of type <code>Boolean</code>.
1399     * </p>
1400     *
1401     * @since 3.1
1402     */

1403    public final static String JavaDoc EDITOR_JAVA_KEYWORD_STRIKETHROUGH= IJavaColorConstants.JAVA_KEYWORD + EDITOR_STRIKETHROUGH_SUFFIX;
1404    
1405    /**
1406     * A named preference that controls whether keywords are rendered in underline.
1407     * <p>
1408     * Value is of type <code>Boolean</code>.
1409     * </p>
1410     *
1411     * @since 3.1
1412     */

1413    public final static String JavaDoc EDITOR_JAVA_KEYWORD_UNDERLINE= IJavaColorConstants.JAVA_KEYWORD + EDITOR_UNDERLINE_SUFFIX;
1414
1415    /**
1416     * A named preference that holds the color used to render string constants.
1417     * <p>
1418     * Value is of type <code>String</code>. A RGB color value encoded as a string
1419     * using class <code>PreferenceConverter</code>
1420     * </p>
1421     *
1422     * @see org.eclipse.jface.resource.StringConverter
1423     * @see org.eclipse.jface.preference.PreferenceConverter
1424     */

1425    public final static String JavaDoc EDITOR_STRING_COLOR= IJavaColorConstants.JAVA_STRING;
1426
1427    /**
1428     * A named preference that controls whether string constants are rendered in bold.
1429     * <p>
1430     * Value is of type <code>Boolean</code>.
1431     * </p>
1432     */

1433    public final static String JavaDoc EDITOR_STRING_BOLD= IJavaColorConstants.JAVA_STRING + EDITOR_BOLD_SUFFIX;
1434
1435    /**
1436     * A named preference that controls whether string constants are rendered in italic.
1437     * <p>
1438     * Value is of type <code>Boolean</code>.
1439     * </p>
1440     *
1441     * @since 3.0
1442     */

1443    public final static String JavaDoc EDITOR_STRING_ITALIC= IJavaColorConstants.JAVA_STRING + EDITOR_ITALIC_SUFFIX;
1444    
1445    /**
1446     * A named preference that controls whether string constants are rendered in strikethrough.
1447     * <p>
1448     * Value is of type <code>Boolean</code>.
1449     * </p>
1450     *
1451     * @since 3.1
1452     */

1453    public final static String JavaDoc EDITOR_STRING_STRIKETHROUGH= IJavaColorConstants.JAVA_STRING + EDITOR_STRIKETHROUGH_SUFFIX;
1454    
1455    /**
1456     * A named preference that controls whether string constants are rendered in underline.
1457     * <p>
1458     * Value is of type <code>Boolean</code>.
1459     * </p>
1460     *
1461     * @since 3.1
1462     */

1463    public final static String JavaDoc EDITOR_STRING_UNDERLINE= IJavaColorConstants.JAVA_STRING + EDITOR_UNDERLINE_SUFFIX;
1464
1465    /**
1466     * A named preference that holds the color used to render method names.
1467     * <p>
1468     * Value is of type <code>String</code>. A RGB color value encoded as a string
1469     * using class <code>PreferenceConverter</code>
1470     * </p>
1471     *
1472     * @see org.eclipse.jface.resource.StringConverter
1473     * @see org.eclipse.jface.preference.PreferenceConverter
1474     * @since 3.0
1475     * @deprecated the method name highlighting has been replaced by a semantic highlighting, see {@link org.eclipse.jdt.internal.ui.javaeditor.SemanticHighlightings#METHOD}
1476     */

1477    public final static String JavaDoc EDITOR_JAVA_METHOD_NAME_COLOR= IJavaColorConstants.JAVA_METHOD_NAME;
1478    
1479    /**
1480     * A named preference that controls whether method names are rendered in bold.
1481     * <p>
1482     * Value is of type <code>Boolean</code>.
1483     * </p>
1484     *
1485     * @since 3.0
1486     * @deprecated the method name highlighting has been replaced by a semantic highlighting, see {@link org.eclipse.jdt.internal.ui.javaeditor.SemanticHighlightings#METHOD}
1487     */

1488    public final static String JavaDoc EDITOR_JAVA_METHOD_NAME_BOLD= IJavaColorConstants.JAVA_METHOD_NAME + EDITOR_BOLD_SUFFIX;
1489    
1490    /**
1491     * A named preference that controls whether method names are rendered in italic.
1492     * <p>
1493     * Value is of type <code>Boolean</code>.
1494     * </p>
1495     *
1496     * @since 3.0
1497     * @deprecated the method name highlighting has been replaced by a semantic highlighting, see {@link org.eclipse.jdt.internal.ui.javaeditor.SemanticHighlightings#METHOD}
1498     */

1499    public final static String JavaDoc EDITOR_JAVA_METHOD_NAME_ITALIC= IJavaColorConstants.JAVA_METHOD_NAME + EDITOR_ITALIC_SUFFIX;
1500    
1501    /**
1502     * A named preference that holds the color used to render the 'return' keyword.
1503     * <p>
1504     * Value is of type <code>String</code>. A RGB color value encoded as a string
1505     * using class <code>PreferenceConverter</code>
1506     * </p>
1507     *
1508     * @see org.eclipse.jface.resource.StringConverter
1509     * @see org.eclipse.jface.preference.PreferenceConverter
1510     * @since 3.0
1511     */

1512    public final static String JavaDoc EDITOR_JAVA_KEYWORD_RETURN_COLOR= IJavaColorConstants.JAVA_KEYWORD_RETURN;
1513
1514    /**
1515     * A named preference that controls whether 'return' keyword is rendered in bold.
1516     * <p>
1517     * Value is of type <code>Boolean</code>.
1518     * </p>
1519     *
1520     * @since 3.0
1521     */

1522    public final static String JavaDoc EDITOR_JAVA_KEYWORD_RETURN_BOLD= IJavaColorConstants.JAVA_KEYWORD_RETURN + EDITOR_BOLD_SUFFIX;
1523    
1524    /**
1525     * A named preference that controls whether 'return' keyword is rendered in italic.
1526     * <p>
1527     * Value is of type <code>Boolean</code>.
1528     * </p>
1529     *
1530     * @since 3.0
1531     */

1532    public final static String JavaDoc EDITOR_JAVA_KEYWORD_RETURN_ITALIC= IJavaColorConstants.JAVA_KEYWORD_RETURN + EDITOR_ITALIC_SUFFIX;
1533    
1534    /**
1535     * A named preference that controls whether 'return' keyword is rendered in strikethrough.
1536     * <p>
1537     * Value is of type <code>Boolean</code>.
1538     * </p>
1539     *
1540     * @since 3.1
1541     */

1542    public final static String JavaDoc EDITOR_JAVA_KEYWORD_RETURN_STRIKETHROUGH= IJavaColorConstants.JAVA_KEYWORD_RETURN + EDITOR_STRIKETHROUGH_SUFFIX;
1543    
1544    /**
1545     * A named preference that controls whether 'return' keyword is rendered in italic.
1546     * <p>
1547     * Value is of type <code>Boolean</code>.
1548     * </p>
1549     *
1550     * @since 3.1
1551     */

1552    public final static String JavaDoc EDITOR_JAVA_KEYWORD_RETURN_UNDERLINE= IJavaColorConstants.JAVA_KEYWORD_RETURN + EDITOR_UNDERLINE_SUFFIX;
1553    
1554    /**
1555     * A named preference that holds the color used to render operators.
1556     * <p>
1557     * Value is of type <code>String</code>. A RGB color value encoded as a string
1558     * using class <code>PreferenceConverter</code>
1559     * </p>
1560     *
1561     * @see org.eclipse.jface.resource.StringConverter
1562     * @see org.eclipse.jface.preference.PreferenceConverter
1563     * @since 3.0
1564     */

1565    public final static String JavaDoc EDITOR_JAVA_OPERATOR_COLOR= IJavaColorConstants.JAVA_OPERATOR;
1566 
1567    /**
1568     * A named preference that controls whether operators are rendered in bold.
1569     * <p>
1570     * Value is of type <code>Boolean</code>.
1571     * </p>
1572     *
1573     * @since 3.0
1574     */

1575    public final static String JavaDoc EDITOR_JAVA_OPERATOR_BOLD= IJavaColorConstants.JAVA_OPERATOR + EDITOR_BOLD_SUFFIX;
1576    
1577    /**
1578     * A named preference that controls whether operators are rendered in italic.
1579     * <p>
1580     * Value is of type <code>Boolean</code>.
1581     * </p>
1582     *
1583     * @since 3.0
1584     */

1585    public final static String JavaDoc EDITOR_JAVA_OPERATOR_ITALIC= IJavaColorConstants.JAVA_OPERATOR + EDITOR_ITALIC_SUFFIX;
1586    
1587    /**
1588     * A named preference that controls whether operators are rendered in strikethrough.
1589     * <p>
1590     * Value is of type <code>Boolean</code>.
1591     * </p>
1592     *
1593     * @since 3.1
1594     */

1595    public final static String JavaDoc EDITOR_JAVA_OPERATOR_STRIKETHROUGH= IJavaColorConstants.JAVA_OPERATOR + EDITOR_STRIKETHROUGH_SUFFIX;
1596    
1597    /**
1598     * A named preference that controls whether operators are rendered in underline.
1599     * <p>
1600     * Value is of type <code>Boolean</code>.
1601     * </p>
1602     *
1603     * @since 3.1
1604     */

1605    public final static String JavaDoc EDITOR_JAVA_OPERATOR_UNDERLINE= IJavaColorConstants.JAVA_OPERATOR + EDITOR_UNDERLINE_SUFFIX;
1606    
1607    /**
1608     * A named preference that holds the color used to render brackets.
1609     * <p>
1610     * Value is of type <code>String</code>. A RGB color value encoded as a string
1611     * using class <code>PreferenceConverter</code>
1612     * </p>
1613     *
1614     * @see org.eclipse.jface.resource.StringConverter
1615     * @see org.eclipse.jface.preference.PreferenceConverter
1616     * @since 3.3
1617     */

1618    public final static String JavaDoc EDITOR_JAVA_BRACKET_COLOR= IJavaColorConstants.JAVA_BRACKET;
1619
1620    /**
1621     * A named preference that controls whether brackets are rendered in bold.
1622     * <p>
1623     * Value is of type <code>Boolean</code>.
1624     * </p>
1625     *
1626     * @since 3.3
1627     */

1628    public final static String JavaDoc EDITOR_JAVA_BRACKET_BOLD= IJavaColorConstants.JAVA_BRACKET + EDITOR_BOLD_SUFFIX;
1629
1630    /**
1631     * A named preference that controls whether brackets are rendered in italic.
1632     * <p>
1633     * Value is of type <code>Boolean</code>.
1634     * </p>
1635     *
1636     * @since 3.3
1637     */

1638    public final static String JavaDoc EDITOR_JAVA_BRACKET_ITALIC= IJavaColorConstants.JAVA_BRACKET + EDITOR_ITALIC_SUFFIX;
1639
1640    /**
1641     * A named preference that controls whether brackets are rendered in strikethrough.
1642     * <p>
1643     * Value is of type <code>Boolean</code>.
1644     * </p>
1645     *
1646     * @since 3.3
1647     */

1648    public final static String JavaDoc EDITOR_JAVA_BRACKET_STRIKETHROUGH= IJavaColorConstants.JAVA_BRACKET + EDITOR_STRIKETHROUGH_SUFFIX;
1649
1650    /**
1651     * A named preference that controls whether brackets are rendered in underline.
1652     * <p>
1653     * Value is of type <code>Boolean</code>.
1654     * </p>
1655     *
1656     * @since 3.3
1657     */

1658    public final static String JavaDoc EDITOR_JAVA_BRACKET_UNDERLINE= IJavaColorConstants.JAVA_BRACKET + EDITOR_UNDERLINE_SUFFIX;
1659
1660    /**
1661     * A named preference that holds the color used to render annotations.
1662     * <p>
1663     * Value is of type <code>String</code>. A RGB color value encoded as a string
1664     * using class <code>PreferenceConverter</code>
1665     * </p>
1666     *
1667     * @see org.eclipse.jface.resource.StringConverter
1668     * @see org.eclipse.jface.preference.PreferenceConverter
1669     * @since 3.1
1670     * @deprecated the annotation highlighting has been replaced by a semantic highlighting, see {@link org.eclipse.jdt.internal.ui.javaeditor.SemanticHighlightings#ANNOTATION}
1671     */

1672    public final static String JavaDoc EDITOR_JAVA_ANNOTATION_COLOR= IJavaColorConstants.JAVA_ANNOTATION;
1673 
1674    /**
1675     * A named preference that controls whether annotations are rendered in bold.
1676     * <p>
1677     * Value is of type <code>Boolean</code>.
1678     * </p>
1679     *
1680     * @since 3.1
1681     * @deprecated the annotation highlighting has been replaced by a semantic highlighting, see {@link org.eclipse.jdt.internal.ui.javaeditor.SemanticHighlightings#ANNOTATION}
1682     */

1683    public final static String JavaDoc EDITOR_JAVA_ANNOTATION_BOLD= IJavaColorConstants.JAVA_ANNOTATION + EDITOR_BOLD_SUFFIX;
1684    
1685    /**
1686     * A named preference that controls whether annotations are rendered in italic.
1687     * <p>
1688     * Value is of type <code>Boolean</code>.
1689     * </p>
1690     *
1691     * @since 3.1
1692     * @deprecated the annotation highlighting has been replaced by a semantic highlighting, see {@link org.eclipse.jdt.internal.ui.javaeditor.SemanticHighlightings#ANNOTATION}
1693     */

1694    public final static String JavaDoc EDITOR_JAVA_ANNOTATION_ITALIC= IJavaColorConstants.JAVA_ANNOTATION + EDITOR_ITALIC_SUFFIX;
1695    
1696    /**
1697     * A named preference that controls whether annotations are rendered in strikethrough.
1698     * <p>
1699     * Value is of type <code>Boolean</code>.
1700     * </p>
1701     *
1702     * @since 3.1
1703     * @deprecated the annotation highlighting has been replaced by a semantic highlighting, see {@link org.eclipse.jdt.internal.ui.javaeditor.SemanticHighlightings#ANNOTATION}
1704     */

1705    public final static String JavaDoc EDITOR_JAVA_ANNOTATION_STRIKETHROUGH= IJavaColorConstants.JAVA_ANNOTATION + EDITOR_STRIKETHROUGH_SUFFIX;
1706
1707    /**
1708     * A named preference that controls whether annotations are rendered in underline.
1709     * <p>
1710     * Value is of type <code>Boolean</code>.
1711     * </p>
1712     *
1713     * @since 3.1
1714     * @deprecated the annotation highlighting has been replaced by a semantic highlighting, see {@link org.eclipse.jdt.internal.ui.javaeditor.SemanticHighlightings#ANNOTATION}
1715     */

1716    public final static String JavaDoc EDITOR_JAVA_ANNOTATION_UNDERLINE= IJavaColorConstants.JAVA_ANNOTATION + EDITOR_UNDERLINE_SUFFIX;
1717    
1718    /**
1719     * A named preference that holds the color used to render java default text.
1720     * <p>
1721     * Value is of type <code>String</code>. A RGB color value encoded as a string
1722     * using class <code>PreferenceConverter</code>
1723     * </p>
1724     *
1725     * @see org.eclipse.jface.resource.StringConverter
1726     * @see org.eclipse.jface.preference.PreferenceConverter
1727     */

1728    public final static String JavaDoc EDITOR_JAVA_DEFAULT_COLOR= IJavaColorConstants.JAVA_DEFAULT;
1729
1730    /**
1731     * A named preference that controls whether Java default text is rendered in bold.
1732     * <p>
1733     * Value is of type <code>Boolean</code>.
1734     * </p>
1735     */

1736    public final static String JavaDoc EDITOR_JAVA_DEFAULT_BOLD= IJavaColorConstants.JAVA_DEFAULT + EDITOR_BOLD_SUFFIX;
1737
1738    /**
1739     * A named preference that controls whether Java default text is rendered in italic.
1740     * <p>
1741     * Value is of type <code>Boolean</code>.
1742     * </p>
1743     *
1744     * @since 3.0
1745     */

1746    public final static String JavaDoc EDITOR_JAVA_DEFAULT_ITALIC= IJavaColorConstants.JAVA_DEFAULT + EDITOR_ITALIC_SUFFIX;
1747    /**
1748     * A named preference that controls whether Java default text is rendered in strikethrough.
1749     * <p>
1750     * Value is of type <code>Boolean</code>.
1751     * </p>
1752     *
1753     * @since 3.1
1754     */

1755    public final static String JavaDoc EDITOR_JAVA_DEFAULT_STRIKETHROUGH= IJavaColorConstants.JAVA_DEFAULT + EDITOR_STRIKETHROUGH_SUFFIX;
1756    
1757    /**
1758     * A named preference that controls whether Java default text is rendered in underline.
1759     * <p>
1760     * Value is of type <code>Boolean</code>.
1761     * </p>
1762     *
1763     * @since 3.1
1764     */

1765    public final static String JavaDoc EDITOR_JAVA_DEFAULT_UNDERLINE= IJavaColorConstants.JAVA_DEFAULT + EDITOR_UNDERLINE_SUFFIX;
1766
1767    /**
1768     * A named preference that holds the color used to render task tags.
1769     * <p>
1770     * Value is of type <code>String</code>. A RGB color value encoded as a string
1771     * using class <code>PreferenceConverter</code>
1772     * </p>
1773     *
1774     * @see org.eclipse.jface.resource.StringConverter
1775     * @see org.eclipse.jface.preference.PreferenceConverter
1776     * @since 2.1
1777     */

1778    public final static String JavaDoc EDITOR_TASK_TAG_COLOR= IJavaColorConstants.TASK_TAG;
1779
1780    /**
1781     * A named preference that controls whether task tags are rendered in bold.
1782     * <p>
1783     * Value is of type <code>Boolean</code>.
1784     * </p>
1785     * @since 2.1
1786     */

1787    public final static String JavaDoc EDITOR_TASK_TAG_BOLD= IJavaColorConstants.TASK_TAG + EDITOR_BOLD_SUFFIX;
1788
1789    /**
1790     * A named preference that controls whether task tags are rendered in italic.
1791     * <p>
1792     * Value is of type <code>Boolean</code>.
1793     * </p>
1794     *
1795     * @since 3.0
1796     */

1797    public final static String JavaDoc EDITOR_TASK_TAG_ITALIC= IJavaColorConstants.TASK_TAG + EDITOR_ITALIC_SUFFIX;
1798    /**
1799     * A named preference that controls whether task tags are rendered in strikethrough.
1800     * <p>
1801     * Value is of type <code>Boolean</code>.
1802     * </p>
1803     *
1804     * @since 3.1
1805     */

1806    public final static String JavaDoc EDITOR_TASK_TAG_STRIKETHROUGH= IJavaColorConstants.TASK_TAG + EDITOR_STRIKETHROUGH_SUFFIX;
1807    
1808    /**
1809     * A named preference that controls whether task tags are rendered in underline.
1810     * <p>
1811     * Value is of type <code>Boolean</code>.
1812     * </p>
1813     *
1814     * @since 3.1
1815     */

1816    public final static String JavaDoc EDITOR_TASK_TAG_UNDERLINE= IJavaColorConstants.TASK_TAG + EDITOR_UNDERLINE_SUFFIX;
1817
1818    /**
1819     * A named preference that holds the color used to render javadoc keywords.
1820     * <p>
1821     * Value is of type <code>String</code>. A RGB color value encoded as a string
1822     * using class <code>PreferenceConverter</code>
1823     * </p>
1824     *
1825     * @see org.eclipse.jface.resource.StringConverter
1826     * @see org.eclipse.jface.preference.PreferenceConverter
1827     */

1828    public final static String JavaDoc EDITOR_JAVADOC_KEYWORD_COLOR= IJavaColorConstants.JAVADOC_KEYWORD;
1829
1830    /**
1831     * A named preference that controls whether javadoc keywords are rendered in bold.
1832     * <p>
1833     * Value is of type <code>Boolean</code>.
1834     * </p>
1835     */

1836    public final static String JavaDoc EDITOR_JAVADOC_KEYWORD_BOLD= IJavaColorConstants.JAVADOC_KEYWORD + EDITOR_BOLD_SUFFIX;
1837
1838    /**
1839     * A named preference that controls whether javadoc keywords are rendered in italic.
1840     * <p>
1841     * Value is of type <code>Boolean</code>.
1842     * </p>
1843     *
1844     * @since 3.0
1845     */

1846    public final static String JavaDoc EDITOR_JAVADOC_KEYWORD_ITALIC= IJavaColorConstants.JAVADOC_KEYWORD + EDITOR_ITALIC_SUFFIX;
1847    
1848    /**
1849     * A named preference that controls whether javadoc keywords are rendered in strikethrough.
1850     * <p>
1851     * Value is of type <code>Boolean</code>.
1852     * </p>
1853     *
1854     * @since 3.1
1855     *
1856     */

1857    public final static String JavaDoc EDITOR_JAVADOC_KEYWORD_STRIKETHROUGH= IJavaColorConstants.JAVADOC_KEYWORD + EDITOR_STRIKETHROUGH_SUFFIX;
1858    
1859    /**
1860     * A named preference that controls whether javadoc keywords are rendered in underline.
1861     * <p>
1862     * Value is of type <code>Boolean</code>.
1863     * </p>
1864     *
1865     * @since 3.1
1866     */

1867    public final static String JavaDoc EDITOR_JAVADOC_KEYWORD_UNDERLINE= IJavaColorConstants.JAVADOC_KEYWORD + EDITOR_UNDERLINE_SUFFIX;
1868
1869    /**
1870     * A named preference that holds the color used to render javadoc tags.
1871     * <p>
1872     * Value is of type <code>String</code>. A RGB color value encoded as a string
1873     * using class <code>PreferenceConverter</code>
1874     * </p>
1875     *
1876     * @see org.eclipse.jface.resource.StringConverter
1877     * @see org.eclipse.jface.preference.PreferenceConverter
1878     */

1879    public final static String JavaDoc EDITOR_JAVADOC_TAG_COLOR= IJavaColorConstants.JAVADOC_TAG;
1880
1881    /**
1882     * A named preference that controls whether javadoc tags are rendered in bold.
1883     * <p>
1884     * Value is of type <code>Boolean</code>.
1885     * </p>
1886     */

1887    public final static String JavaDoc EDITOR_JAVADOC_TAG_BOLD= IJavaColorConstants.JAVADOC_TAG + EDITOR_BOLD_SUFFIX;
1888
1889    /**
1890     * A named preference that controls whether javadoc tags are rendered in italic.
1891     * <p>
1892     * Value is of type <code>Boolean</code>.
1893     * </p>
1894     *
1895     * @since 3.0
1896     */

1897    public final static String JavaDoc EDITOR_JAVADOC_TAG_ITALIC= IJavaColorConstants.JAVADOC_TAG + EDITOR_ITALIC_SUFFIX;
1898    
1899    /**
1900     * A named preference that controls whether javadoc tags are rendered in strikethrough.
1901     * <p>
1902     * Value is of type <code>Boolean</code>.
1903     * </p>
1904     *
1905     * @since 3.1
1906     */

1907    public final static String JavaDoc EDITOR_JAVADOC_TAG_STRIKETHROUGH= IJavaColorConstants.JAVADOC_TAG + EDITOR_STRIKETHROUGH_SUFFIX;
1908    
1909    /**
1910     * A named preference that controls whether javadoc tags are rendered in underline.
1911     * <p>
1912     * Value is of type <code>Boolean</code>.
1913     * </p>
1914     *
1915     * @since 3.1
1916     */

1917    public final static String JavaDoc EDITOR_JAVADOC_TAG_UNDERLINE= IJavaColorConstants.JAVADOC_TAG + EDITOR_UNDERLINE_SUFFIX;
1918
1919    /**
1920     * A named preference that holds the color used to render javadoc links.
1921     * <p>
1922     * Value is of type <code>String</code>. A RGB color value encoded as a string
1923     * using class <code>PreferenceConverter</code>
1924     * </p>
1925     *
1926     * @see org.eclipse.jface.resource.StringConverter
1927     * @see org.eclipse.jface.preference.PreferenceConverter
1928     */

1929    public final static String JavaDoc EDITOR_JAVADOC_LINKS_COLOR= IJavaColorConstants.JAVADOC_LINK;
1930
1931    /**
1932     * A named preference that controls whether javadoc links are rendered in bold.
1933     * <p>
1934     * Value is of type <code>Boolean</code>.
1935     * </p>
1936     */

1937    public final static String JavaDoc EDITOR_JAVADOC_LINKS_BOLD= IJavaColorConstants.JAVADOC_LINK + EDITOR_BOLD_SUFFIX;
1938        
1939    /**
1940     * A named preference that controls whether javadoc links are rendered in italic.
1941     * <p>
1942     * Value is of type <code>Boolean</code>.
1943     * </p>
1944     *
1945     * @since 3.0
1946     */

1947    public final static String JavaDoc EDITOR_JAVADOC_LINKS_ITALIC= IJavaColorConstants.JAVADOC_LINK + EDITOR_ITALIC_SUFFIX;
1948    
1949    /**
1950     * A named preference that controls whether javadoc links are rendered in strikethrough.
1951     * <p>
1952     * Value is of type <code>Boolean</code>.
1953     * </p>
1954     *
1955     * @since 3.1
1956     */

1957    public final static String JavaDoc EDITOR_JAVADOC_LINKS_STRIKETHROUGH= IJavaColorConstants.JAVADOC_LINK + EDITOR_STRIKETHROUGH_SUFFIX;
1958    
1959    /**
1960     * A named preference that controls whether javadoc links are rendered in underline.
1961     * <p>
1962     * Value is of type <code>Boolean</code>.
1963     * </p>
1964     *
1965     * @since 3.1
1966     */

1967    public final static String JavaDoc EDITOR_JAVADOC_LINKS_UNDERLINE= IJavaColorConstants.JAVADOC_LINK + EDITOR_UNDERLINE_SUFFIX;
1968        
1969    /**
1970     * A named preference that holds the color used to render javadoc default text.
1971     * <p>
1972     * Value is of type <code>String</code>. A RGB color value encoded as a string
1973     * using class <code>PreferenceConverter</code>
1974     * </p>
1975     *
1976     * @see org.eclipse.jface.resource.StringConverter
1977     * @see org.eclipse.jface.preference.PreferenceConverter
1978     */

1979    public final static String JavaDoc EDITOR_JAVADOC_DEFAULT_COLOR= IJavaColorConstants.JAVADOC_DEFAULT;
1980
1981    /**
1982     * A named preference that controls whether javadoc default text is rendered in bold.
1983     * <p>
1984     * Value is of type <code>Boolean</code>.
1985     * </p>
1986     */

1987    public final static String JavaDoc EDITOR_JAVADOC_DEFAULT_BOLD= IJavaColorConstants.JAVADOC_DEFAULT + EDITOR_BOLD_SUFFIX;
1988
1989    /**
1990     * A named preference that controls whether javadoc default text is rendered in italic.
1991     * <p>
1992     * Value is of type <code>Boolean</code>.
1993     * </p>
1994     *
1995     * @since 3.0
1996     */

1997    public final static String JavaDoc EDITOR_JAVADOC_DEFAULT_ITALIC= IJavaColorConstants.JAVADOC_DEFAULT + EDITOR_ITALIC_SUFFIX;
1998    /**
1999     * A named preference that controls whether javadoc default text is rendered in strikethrough.
2000     * <p>
2001     * Value is of type <code>Boolean</code>.
2002     * </p>
2003     *
2004     * @since 3.1
2005     */

2006    public final static String JavaDoc EDITOR_JAVADOC_DEFAULT_STRIKETHROUGH= IJavaColorConstants.JAVADOC_DEFAULT + EDITOR_STRIKETHROUGH_SUFFIX;
2007    
2008    /**
2009     * A named preference that controls whether javadoc default text is rendered in underline.
2010     * <p>
2011     * Value is of type <code>Boolean</code>.
2012     * </p>
2013     *
2014     * @since 3.1
2015     */

2016    public final static String JavaDoc EDITOR_JAVADOC_DEFAULT_UNDERLINE= IJavaColorConstants.JAVADOC_DEFAULT + EDITOR_UNDERLINE_SUFFIX;
2017
2018    /**
2019     * A named preference that holds the color used for 'linked-mode' underline.
2020     * <p>
2021     * Value is of type <code>String</code>. A RGB color value encoded as a string
2022     * using class <code>PreferenceConverter</code>
2023     * </p>
2024     *
2025     * @see org.eclipse.jface.resource.StringConverter
2026     * @see org.eclipse.jface.preference.PreferenceConverter
2027     * @since 2.1
2028     * @deprecated As of 3.1, replaced by {@link AbstractDecoratedTextEditorPreferenceConstants#EDITOR_HYPERLINK_COLOR}
2029     */

2030    public final static String JavaDoc EDITOR_LINK_COLOR= "linkColor"; //$NON-NLS-1$
2031

2032    /**
2033     * A named preference that controls whether hover tool tips in the editor are turned on or off.
2034     * <p>
2035     * Value is of type <code>Boolean</code>.
2036     * </p>
2037     */

2038    public static final String JavaDoc EDITOR_SHOW_HOVER= "org.eclipse.jdt.ui.editor.showHover"; //$NON-NLS-1$
2039

2040
2041    /**
2042     * A named preference that defines the hover shown when no control key is
2043     * pressed.
2044     * <p>Value is of type <code>String</code>: possible values are <code>
2045     * EDITOR_NO_HOVER_CONFIGURED_ID</code> or
2046     * <code>EDITOR_DEFAULT_HOVER_CONFIGURED_ID</code> or the hover id of a hover
2047     * contributed as <code>javaEditorTextHovers</code>.
2048     * </p>
2049     * @see #EDITOR_NO_HOVER_CONFIGURED_ID
2050     * @see #EDITOR_DEFAULT_HOVER_CONFIGURED_ID
2051     * @see JavaUI
2052     * @since 2.1
2053     * @deprecated As of 3.0, replaced by {@link #EDITOR_TEXT_HOVER_MODIFIERS}
2054     */

2055    public static final String JavaDoc EDITOR_NONE_HOVER= "noneHover"; //$NON-NLS-1$
2056

2057    /**
2058     * A named preference that defines the hover shown when the
2059     * <code>CTRL</code> modifier key is pressed.
2060     * <p>Value is of type <code>String</code>: possible values are <code>
2061     * EDITOR_NO_HOVER_CONFIGURED_ID</code> or
2062     * <code>EDITOR_DEFAULT_HOVER_CONFIGURED_ID</code> or the hover id of a
2063     * hover contributed as <code>javaEditorTextHovers</code>.
2064     * </p>
2065     * @see #EDITOR_NO_HOVER_CONFIGURED_ID
2066     * @see #EDITOR_DEFAULT_HOVER_CONFIGURED_ID
2067     * @see JavaUI
2068     * @since 2.1
2069     * @deprecated As of 3.0, replaced by {@link #EDITOR_TEXT_HOVER_MODIFIERS}
2070     */

2071    public static final String JavaDoc EDITOR_CTRL_HOVER= "ctrlHover"; //$NON-NLS-1$
2072

2073    /**
2074     * A named preference that defines the hover shown when the
2075     * <code>SHIFT</code> modifier key is pressed.
2076     * <p>Value is of type <code>String</code>: possible values are <code>
2077     * EDITOR_NO_HOVER_CONFIGURED_ID</code> or
2078     * <code>EDITOR_DEFAULT_HOVER_CONFIGURED_ID</code> or the hover id of a
2079     * hover contributed as <code>javaEditorTextHovers</code>.
2080     * </p>
2081     * @see #EDITOR_NO_HOVER_CONFIGURED_ID
2082     * @see #EDITOR_DEFAULT_HOVER_CONFIGURED_ID
2083     * @see JavaUI ID_*_HOVER
2084     * @since 2.1
2085     * @deprecated As of 3.0, replaced by {@link #EDITOR_TEXT_HOVER_MODIFIERS}
2086     */

2087    public static final String JavaDoc EDITOR_SHIFT_HOVER= "shiftHover"; //$NON-NLS-1$
2088

2089    /**
2090     * A named preference that defines the hover shown when the
2091     * <code>CTRL + ALT</code> modifier keys is pressed.
2092     * <p>Value is of type <code>String</code>: possible values are <code>
2093     * EDITOR_NO_HOVER_CONFIGURED_ID</code> or
2094     * <code>EDITOR_DEFAULT_HOVER_CONFIGURED_ID</code> or the hover id of a
2095     * hover contributed as <code>javaEditorTextHovers</code>.
2096     * </p>
2097     * @see #EDITOR_NO_HOVER_CONFIGURED_ID
2098     * @see #EDITOR_DEFAULT_HOVER_CONFIGURED_ID
2099     * @see JavaUI ID_*_HOVER
2100     * @since 2.1
2101     * @deprecated As of 3.0, replaced by {@link #EDITOR_TEXT_HOVER_MODIFIERS}
2102     */

2103    public static final String JavaDoc EDITOR_CTRL_ALT_HOVER= "ctrlAltHover"; //$NON-NLS-1$
2104

2105    /**
2106     * A named preference that defines the hover shown when the
2107     * <code>CTRL + ALT + SHIFT</code> modifier keys is pressed.
2108     * <p>Value is of type <code>String</code>: possible values are <code>
2109     * EDITOR_NO_HOVER_CONFIGURED_ID</code> or
2110     * <code>EDITOR_DEFAULT_HOVER_CONFIGURED_ID</code> or the hover id of a
2111     * hover contributed as <code>javaEditorTextHovers</code>.
2112     * </p>
2113     * @see #EDITOR_NO_HOVER_CONFIGURED_ID
2114     * @see #EDITOR_DEFAULT_HOVER_CONFIGURED_ID
2115     * @see JavaUI ID_*_HOVER
2116     * @since 2.1
2117     * @deprecated As of 3.0, replaced by {@link #EDITOR_TEXT_HOVER_MODIFIERS}
2118     */

2119    public static final String JavaDoc EDITOR_CTRL_ALT_SHIFT_HOVER= "ctrlAltShiftHover"; //$NON-NLS-1$
2120

2121    /**
2122     * A named preference that defines the hover shown when the
2123     * <code>CTRL + SHIFT</code> modifier keys is pressed.
2124     * <p>Value is of type <code>String</code>: possible values are <code>
2125     * EDITOR_NO_HOVER_CONFIGURED_ID</code> or
2126     * <code>EDITOR_DEFAULT_HOVER_CONFIGURED_ID</code> or the hover id of a
2127     * hover contributed as <code>javaEditorTextHovers</code>.
2128     * </p>
2129     * @see #EDITOR_NO_HOVER_CONFIGURED_ID
2130     * @see #EDITOR_DEFAULT_HOVER_CONFIGURED_ID
2131     * @see JavaUI ID_*_HOVER
2132     * @since 2.1
2133     * @deprecated As of 3.0, replaced by {@link #EDITOR_TEXT_HOVER_MODIFIERS}
2134     */

2135    public static final String JavaDoc EDITOR_CTRL_SHIFT_HOVER= "ctrlShiftHover"; //$NON-NLS-1$
2136

2137    /**
2138     * A named preference that defines the hover shown when the
2139     * <code>ALT</code> modifier key is pressed.
2140     * <p>Value is of type <code>String</code>: possible values are <code>
2141     * EDITOR_NO_HOVER_CONFIGURED_ID</code>,
2142     * <code>EDITOR_DEFAULT_HOVER_CONFIGURED_ID</code> or the hover id of a
2143     * hover contributed as <code>javaEditorTextHovers</code>.
2144     * </p>
2145     * @see #EDITOR_NO_HOVER_CONFIGURED_ID
2146     * @see #EDITOR_DEFAULT_HOVER_CONFIGURED_ID
2147     * @see JavaUI ID_*_HOVER
2148     * @deprecated As of 3.0, replaced by {@link #EDITOR_TEXT_HOVER_MODIFIERS}
2149     * @since 2.1
2150     */

2151    public static final String JavaDoc EDITOR_ALT_SHIFT_HOVER= "altShiftHover"; //$NON-NLS-1$
2152

2153    /**
2154     * A string value used by the named preferences for hover configuration to
2155     * describe that no hover should be shown for the given key modifiers.
2156     * @deprecated As of 3.0, replaced by {@link #EDITOR_TEXT_HOVER_MODIFIERS}
2157     * @since 2.1
2158     */

2159    public static final String JavaDoc EDITOR_NO_HOVER_CONFIGURED_ID= "noHoverConfiguredId"; //$NON-NLS-1$
2160

2161    /**
2162     * A string value used by the named preferences for hover configuration to
2163     * describe that the default hover should be shown for the given key
2164     * modifiers. The default hover is described by the
2165     * <code>EDITOR_DEFAULT_HOVER</code> property.
2166     * @since 2.1
2167     * @deprecated As of 3.0, replaced by {@link #EDITOR_TEXT_HOVER_MODIFIERS}
2168     */

2169    public static final String JavaDoc EDITOR_DEFAULT_HOVER_CONFIGURED_ID= "defaultHoverConfiguredId"; //$NON-NLS-1$
2170

2171    /**
2172     * A named preference that defines the hover named the 'default hover'.
2173     * Value is of type <code>String</code>: possible values are <code>
2174     * EDITOR_NO_HOVER_CONFIGURED_ID</code> or the hover id of a hover
2175     * contributed as <code>javaEditorTextHovers</code>.
2176     * </p>
2177     * @since 2.1
2178     * @deprecated As of 3.0, replaced by {@link #EDITOR_TEXT_HOVER_MODIFIERS}
2179     */

2180    public static final String JavaDoc EDITOR_DEFAULT_HOVER= "defaultHover"; //$NON-NLS-1$
2181

2182    /**
2183     * A named preference that controls if segmented view (show selected element only) is turned on or off.
2184     * <p>
2185     * Value is of type <code>Boolean</code>.
2186     * </p>
2187     */

2188    public static final String JavaDoc EDITOR_SHOW_SEGMENTS= "org.eclipse.jdt.ui.editor.showSegments"; //$NON-NLS-1$
2189

2190    /**
2191     * A named preference that controls if browser like links are turned on or off.
2192     * <p>
2193     * Value is of type <code>Boolean</code>.
2194     * </p>
2195     *
2196     * @since 2.1
2197     * @deprecated As of 3.1, replaced by {@link AbstractDecoratedTextEditorPreferenceConstants#EDITOR_HYPERLINKS_ENABLED}
2198     */

2199    public static final String JavaDoc EDITOR_BROWSER_LIKE_LINKS= "browserLikeLinks"; //$NON-NLS-1$
2200

2201    /**
2202     * A named preference that controls the key modifier for browser like links.
2203     * <p>
2204     * Value is of type <code>String</code>.
2205     * </p>
2206     *
2207     * @since 2.1
2208     * @deprecated As of 3.1, replaced by {@link AbstractDecoratedTextEditorPreferenceConstants#EDITOR_HYPERLINK_KEY_MODIFIER}
2209     */

2210    public static final String JavaDoc EDITOR_BROWSER_LIKE_LINKS_KEY_MODIFIER= "browserLikeLinksKeyModifier"; //$NON-NLS-1$
2211

2212    /**
2213     * A named preference that controls the key modifier mask for browser like links.
2214     * The value is only used if the value of <code>EDITOR_BROWSER_LIKE_LINKS</code>
2215     * cannot be resolved to valid SWT modifier bits.
2216     * <p>
2217     * Value is of type <code>String</code>.
2218     * </p>
2219     *
2220     * @see #EDITOR_BROWSER_LIKE_LINKS_KEY_MODIFIER
2221     * @since 2.1.1
2222     * @deprecated As of 3.1, replaced by {@link AbstractDecoratedTextEditorPreferenceConstants#EDITOR_HYPERLINK_KEY_MODIFIER_MASK}
2223     */

2224    public static final String JavaDoc EDITOR_BROWSER_LIKE_LINKS_KEY_MODIFIER_MASK= "browserLikeLinksKeyModifierMask"; //$NON-NLS-1$
2225

2226    /**
2227     * A named preference that controls whether occurrences are marked in the editor.
2228     * <p>
2229     * Value is of type <code>Boolean</code>.
2230     * </p>
2231     *
2232     * @since 3.0
2233     */

2234    public static final String JavaDoc EDITOR_MARK_OCCURRENCES= "markOccurrences"; //$NON-NLS-1$
2235

2236    /**
2237     * A named preference that controls whether occurrences are sticky in the editor.
2238     * <p>
2239     * Value is of type <code>Boolean</code>.
2240     * </p>
2241     *
2242     * @since 3.0
2243     */

2244    public static final String JavaDoc EDITOR_STICKY_OCCURRENCES= "stickyOccurrences"; //$NON-NLS-1$
2245

2246    /**
2247     * A named preference that controls whether type occurrences are marked.
2248     * Only valid if {@link #EDITOR_MARK_OCCURRENCES} is <code>true</code>.
2249     * <p>
2250     * Value is of type <code>Boolean</code>.
2251     * </p>
2252     *
2253     * @since 3.0
2254     */

2255    public static final String JavaDoc EDITOR_MARK_TYPE_OCCURRENCES= "markTypeOccurrences"; //$NON-NLS-1$
2256

2257    /**
2258     * A named preference that controls whether method occurrences are marked.
2259     * Only valid if {@link #EDITOR_MARK_OCCURRENCES} is <code>true</code>.
2260     * <p>
2261     * Value is of type <code>Boolean</code>.
2262     * </p>
2263     *
2264     * @since 3.0
2265     */

2266    public static final String JavaDoc EDITOR_MARK_METHOD_OCCURRENCES= "markMethodOccurrences"; //$NON-NLS-1$
2267
/**
2268     * A named preference that controls whether non-constant field occurrences are marked.
2269     * Only valid if {@link #EDITOR_MARK_OCCURRENCES} is <code>true</code>.
2270     * <p>
2271     * Value is of type <code>Boolean</code>.
2272     * </p>
2273     *
2274     * @since 3.0
2275     */

2276    public static final String JavaDoc EDITOR_MARK_FIELD_OCCURRENCES= "markFieldOccurrences"; //$NON-NLS-1$
2277
/**
2278     * A named preference that controls whether constant (static final) occurrences are marked.
2279     * Only valid if {@link #EDITOR_MARK_OCCURRENCES} is <code>true</code>.
2280     * <p>
2281     * Value is of type <code>Boolean</code>.
2282     * </p>
2283     *
2284     * @since 3.0
2285     */

2286    public static final String JavaDoc EDITOR_MARK_CONSTANT_OCCURRENCES= "markConstantOccurrences"; //$NON-NLS-1$
2287

2288    /**
2289     * A named preference that controls whether local variable occurrences are marked.
2290     * Only valid if {@link #EDITOR_MARK_OCCURRENCES} is <code>true</code>.
2291     * <p>
2292     * Value is of type <code>Boolean</code>.
2293     * </p>
2294     *
2295     * @since 3.0
2296     */

2297    public static final String JavaDoc EDITOR_MARK_LOCAL_VARIABLE_OCCURRENCES= "markLocalVariableOccurrences"; //$NON-NLS-1$
2298

2299    /**
2300     * A named preference that controls whether exception occurrences are marked.
2301     * Only valid if {@link #EDITOR_MARK_OCCURRENCES} is <code>true</code>.
2302     * <p>
2303     * Value is of type <code>Boolean</code>.
2304     * </p>
2305     *
2306     * @since 3.0
2307     */

2308    public static final String JavaDoc EDITOR_MARK_EXCEPTION_OCCURRENCES= "markExceptionOccurrences"; //$NON-NLS-1$
2309

2310    /**
2311     * A named preference that controls whether method exit points are marked.
2312     * Only valid if {@link #EDITOR_MARK_OCCURRENCES} is <code>true</code>.
2313     * <p>
2314     * Value is of type <code>Boolean</code>.
2315     * </p>
2316     *
2317     * @since 3.0
2318     */

2319    public static final String JavaDoc EDITOR_MARK_METHOD_EXIT_POINTS= "markMethodExitPoints"; //$NON-NLS-1$
2320

2321    /**
2322     * A named preference that controls whether targets for of <code>break</code> and <code>continue</code> statements are marked.
2323     * Only valid if {@link #EDITOR_MARK_OCCURRENCES} is <code>true</code>.
2324     * <p>
2325     * Value is of type <code>Boolean</code>.
2326     * </p>
2327     *
2328     * @since 3.2
2329     */

2330    public static final String JavaDoc EDITOR_MARK_BREAK_CONTINUE_TARGETS= "markBreakContinueTargets"; //$NON-NLS-1$
2331

2332    /**
2333     * A named preference that controls whether method exit points are marked.
2334     * Only valid if {@link #EDITOR_MARK_OCCURRENCES} is <code>true</code>.
2335     * <p>
2336     * Value is of type <code>Boolean</code>.
2337     * </p>
2338     *
2339     * @since 3.1
2340     */

2341    public static final String JavaDoc EDITOR_MARK_IMPLEMENTORS= "markImplementors"; //$NON-NLS-1$
2342

2343    /**
2344     * A named preference prefix for semantic highlighting preferences.
2345     *
2346     * @since 3.0
2347     */

2348    public static final String JavaDoc EDITOR_SEMANTIC_HIGHLIGHTING_PREFIX="semanticHighlighting."; //$NON-NLS-1$
2349

2350    /**
2351     * A named preference that controls if semantic highlighting is enabled.
2352     * <p>
2353     * Value is of type <code>Boolean</code>:<code>true</code> if enabled.
2354     * </p>
2355     *
2356     * @since 3.0
2357     * @deprecated As of 3.1, this preference is not used or set any longer; see
2358     * {@link SemanticHighlightings#affectsEnablement(IPreferenceStore, org.eclipse.jface.util.PropertyChangeEvent)}
2359     */

2360    public static final String JavaDoc EDITOR_SEMANTIC_HIGHLIGHTING_ENABLED=EDITOR_SEMANTIC_HIGHLIGHTING_PREFIX + "enabled"; //$NON-NLS-1$
2361

2362    /**
2363     * A named preference suffix that controls a semantic highlighting's color.
2364     * <p>
2365     * Value is of type <code>String</code>. A RGB color value encoded as a string
2366     * using class <code>PreferenceConverter</code>
2367     * </p>
2368     *
2369     * @see org.eclipse.jface.resource.StringConverter
2370     * @see org.eclipse.jface.preference.PreferenceConverter
2371     * @since 3.0
2372     */

2373    public static final String JavaDoc EDITOR_SEMANTIC_HIGHLIGHTING_COLOR_SUFFIX=".color"; //$NON-NLS-1$
2374

2375    /**
2376     * A named preference suffix that controls if semantic highlighting has the text attribute bold.
2377     * <p>
2378     * Value is of type <code>Boolean</code>: <code>true</code> if bold.
2379     * </p>
2380     *
2381     * @since 3.0
2382     */

2383    public static final String JavaDoc EDITOR_SEMANTIC_HIGHLIGHTING_BOLD_SUFFIX=".bold"; //$NON-NLS-1$
2384

2385    /**
2386     * A named preference suffix that controls if semantic highlighting has the text attribute italic.
2387     * <p>
2388     * Value is of type <code>Boolean</code>: <code>true</code> if italic.
2389     * </p>
2390     *
2391     * @since 3.0
2392     */

2393    public static final String JavaDoc EDITOR_SEMANTIC_HIGHLIGHTING_ITALIC_SUFFIX=".italic"; //$NON-NLS-1$
2394

2395    /**
2396     * A named preference suffix that controls if semantic highlighting has the text attribute strikethrough.
2397     * <p>
2398     * Value is of type <code>Boolean</code>: <code>true</code> if strikethrough.
2399     * </p>
2400     *
2401     * @since 3.1
2402     */

2403    public static final String JavaDoc EDITOR_SEMANTIC_HIGHLIGHTING_STRIKETHROUGH_SUFFIX=".strikethrough"; //$NON-NLS-1$
2404

2405    /**
2406     * A named preference suffix that controls if semantic highlighting has the text attribute underline.
2407     * <p>
2408     * Value is of type <code>Boolean</code>: <code>true</code> if underline.
2409     * </p>
2410     *
2411     * @since 3.1
2412     */

2413    public static final String JavaDoc EDITOR_SEMANTIC_HIGHLIGHTING_UNDERLINE_SUFFIX=".underline"; //$NON-NLS-1$
2414

2415    /**
2416     * A named preference suffix that controls if semantic highlighting is enabled.
2417     * <p>
2418     * Value is of type <code>Boolean</code>: <code>true</code> if enabled.
2419     * </p>
2420     *
2421     * @since 3.0
2422     */

2423    public static final String JavaDoc EDITOR_SEMANTIC_HIGHLIGHTING_ENABLED_SUFFIX=".enabled"; //$NON-NLS-1$
2424

2425    /**
2426     * A named preference that controls disabling of the overwrite mode.
2427     * <p>
2428     * Value is of type <code>Boolean</code>.
2429     * </p>
2430     *
2431     * @since 3.0
2432     * @deprecated as of 3.1 replaced by {@link AbstractDecoratedTextEditorPreferenceConstants#EDITOR_DISABLE_OVERWRITE_MODE}
2433     */

2434    public static final String JavaDoc EDITOR_DISABLE_OVERWRITE_MODE= "disable_overwrite_mode"; //$NON-NLS-1$
2435

2436    /**
2437     * A named preference that controls the "smart semicolon" smart typing handler.
2438     * <p>
2439     * Value is of type <code>Boolean</code>.
2440     * </p>
2441     *
2442     * @since 3.0
2443     */

2444    public static final String JavaDoc EDITOR_SMART_SEMICOLON= "smart_semicolon"; //$NON-NLS-1$
2445

2446    /**
2447     * A named preference that controls the smart backspace behavior.
2448     * <p>
2449     * Value is of type <code>Boolean</code>.
2450     *
2451     * @since 3.0
2452     */

2453    public static final String JavaDoc EDITOR_SMART_BACKSPACE= "smart_backspace"; //$NON-NLS-1$
2454

2455    /**
2456     * A named preference that controls the "smart opening brace" smart typing handler.
2457     * <p>
2458     * Value is of type <code>Boolean</code>.
2459     * </p>
2460     *
2461     * @since 3.0
2462     */

2463    public static final String JavaDoc EDITOR_SMART_OPENING_BRACE= "smart_opening_brace"; //$NON-NLS-1$
2464

2465    /**
2466     * A named preference that controls the smart tab behavior.
2467     * <p>
2468     * Value is of type <code>Boolean</code>.
2469     *
2470     * @since 3.0
2471     */

2472    public static final String JavaDoc EDITOR_SMART_TAB= "smart_tab"; //$NON-NLS-1$
2473

2474    /**
2475     * A named preference that controls whether Java comments should be
2476     * spell checked.
2477     * <p>
2478     * Value is of type <code>Boolean</code>.
2479     * </p>
2480     *
2481     * @deprecated since 3.1, use {@link org.eclipse.ui.texteditor.spelling.SpellingService#PREFERENCE_SPELLING_ENABLED}
2482     * and {@link org.eclipse.ui.texteditor.spelling.SpellingService#PREFERENCE_SPELLING_ENGINE}
2483     * @since 3.0
2484     */

2485    public final static String JavaDoc SPELLING_CHECK_SPELLING= "spelling_check_spelling"; //$NON-NLS-1$
2486

2487    /**
2488     * A named preference that controls whether words containing digits should
2489     * be skipped during spell checking.
2490     * <p>
2491     * Value is of type <code>Boolean</code>.
2492     * </p>
2493     *
2494     * @since 3.0
2495     */

2496    public final static String JavaDoc SPELLING_IGNORE_DIGITS= "spelling_ignore_digits"; //$NON-NLS-1$
2497

2498    /**
2499     * A named preference that controls whether mixed case words should be
2500     * skipped during spell checking.
2501     * <p>
2502     * Value is of type <code>Boolean</code>.
2503     * </p>
2504     *
2505     * @since 3.0
2506     */

2507    public final static String JavaDoc SPELLING_IGNORE_MIXED= "spelling_ignore_mixed"; //$NON-NLS-1$
2508

2509    /**
2510     * A named preference that controls whether sentence capitalization should
2511     * be ignored during spell checking.
2512     * <p>
2513     * Value is of type <code>Boolean</code>.
2514     * </p>
2515     *
2516     * @since 3.0
2517     */

2518    public final static String JavaDoc SPELLING_IGNORE_SENTENCE= "spelling_ignore_sentence"; //$NON-NLS-1$
2519

2520    /**
2521     * A named preference that controls whether upper case words should be
2522     * skipped during spell checking.
2523     * <p>
2524     * Value is of type <code>Boolean</code>.
2525     * </p>
2526     *
2527     * @since 3.0
2528     */

2529    public final static String JavaDoc SPELLING_IGNORE_UPPER= "spelling_ignore_upper"; //$NON-NLS-1$
2530

2531    /**
2532     * A named preference that controls whether URLs should be ignored during
2533     * spell checking.
2534     * <p>
2535     * Value is of type <code>Boolean</code>.
2536     * </p>
2537     *
2538     * @since 3.0
2539     */

2540    public final static String JavaDoc SPELLING_IGNORE_URLS= "spelling_ignore_urls"; //$NON-NLS-1$
2541

2542    /**
2543     * A named preference that controls whether single letters
2544     * should be ignored during spell checking.
2545     * <p>
2546     * Value is of type <code>Boolean</code>.
2547     * </p>
2548     *
2549     * @since 3.3
2550     */

2551    public final static String JavaDoc SPELLING_IGNORE_SINGLE_LETTERS= "spelling_ignore_single_letters"; //$NON-NLS-1$
2552

2553    /**
2554     * A named preference that controls whether '&' in
2555     * Java properties files are ignored.
2556     * <p>
2557     * Value is of type <code>Boolean</code>.
2558     * </p>
2559     *
2560     * @since 3.3
2561     */

2562    public final static String JavaDoc SPELLING_IGNORE_AMPERSAND_IN_PROPERTIES= "spelling_ignore_ampersand_in_properties"; //$NON-NLS-1$
2563

2564    /**
2565     * A named preference that controls whether non-letters at word boundaries
2566     * should be ignored during spell checking.
2567     * <p>
2568     * Value is of type <code>Boolean</code>.
2569     * </p>
2570     *
2571     * @since 3.3
2572     */

2573    public final static String JavaDoc SPELLING_IGNORE_NON_LETTERS= "spelling_ignore_non_letters"; //$NON-NLS-1$
2574

2575    /**
2576     * A named preference that controls the locale used for spell checking.
2577     * <p>
2578     * Value is of type <code>String</code>.
2579     * </p>
2580     *
2581     * @since 3.0
2582     */

2583    public final static String JavaDoc SPELLING_LOCALE= "spelling_locale"; //$NON-NLS-1$
2584

2585    /**
2586     * A named preference that controls the number of proposals offered during
2587     * spell checking.
2588     * <p>
2589     * Value is of type <code>Integer</code>.
2590     * </p>
2591     *
2592     * @since 3.0
2593     */

2594    public final static String JavaDoc SPELLING_PROPOSAL_THRESHOLD= "spelling_proposal_threshold"; //$NON-NLS-1$
2595

2596    /**
2597     * A named preference that specifies the workspace user dictionary.
2598     * <p>
2599     * Value is of type <code>Integer</code>.
2600     * </p>
2601     *
2602     * @since 3.0
2603     */

2604    public final static String JavaDoc SPELLING_USER_DICTIONARY= "spelling_user_dictionary"; //$NON-NLS-1$
2605

2606    /**
2607     * A named preference that specifies encoding of the workspace user dictionary.
2608     * <p>
2609     * Value is of type <code>String</code>.
2610     * </p>
2611     *
2612     * @since 3.3
2613     */

2614    public final static String JavaDoc SPELLING_USER_DICTIONARY_ENCODING= "spelling_user_dictionary_encoding"; //$NON-NLS-1$
2615

2616    /**
2617     * A named preference that specifies whether spelling dictionaries are available to content assist.
2618     *
2619     * <strong>Note:</strong> This is currently not supported because the spelling engine
2620     * cannot return word proposals but only correction proposals.
2621     * <p>
2622     * Value is of type <code>Boolean</code>.
2623     * </p>
2624     *
2625     * @since 3.0
2626     */

2627    public final static String JavaDoc SPELLING_ENABLE_CONTENTASSIST= "spelling_enable_contentassist"; //$NON-NLS-1$
2628

2629    /**
2630     * A named preference that controls whether code snippets are formatted
2631     * in Javadoc comments.
2632     * <p>
2633     * Value is of type <code>Boolean</code>.
2634     * </p>
2635     *
2636     * @since 3.0
2637     * @deprecated As of 3.1, replaced by {@link org.eclipse.jdt.core.formatter.DefaultCodeFormatterConstants#FORMATTER_COMMENT_FORMAT_SOURCE}
2638     */

2639    public final static String JavaDoc FORMATTER_COMMENT_FORMATSOURCE= "comment_format_source_code"; //$NON-NLS-1$
2640

2641    /**
2642     * A named preference that controls whether description of Javadoc
2643     * parameters are indented.
2644     * <p>
2645     * Value is of type <code>Boolean</code>.
2646     * </p>
2647     *
2648     * @since 3.0
2649     * @deprecated As of 3.1, replaced by {@link org.eclipse.jdt.core.formatter.DefaultCodeFormatterConstants#FORMATTER_COMMENT_INDENT_PARAMETER_DESCRIPTION}
2650     */

2651    public final static String JavaDoc FORMATTER_COMMENT_INDENTPARAMETERDESCRIPTION= "comment_indent_parameter_description"; //$NON-NLS-1$
2652

2653    /**
2654     * A named preference that controls whether the header comment of
2655     * a Java source file is formatted.
2656     * <p>
2657     * Value is of type <code>Boolean</code>.
2658     * </p>
2659     *
2660     * @since 3.0
2661     * @deprecated As of 3.1, replaced by {@link org.eclipse.jdt.core.formatter.DefaultCodeFormatterConstants#FORMATTER_COMMENT_FORMAT_HEADER}
2662     */

2663    public final static String JavaDoc FORMATTER_COMMENT_FORMATHEADER= "comment_format_header"; //$NON-NLS-1$
2664

2665    /**
2666     * A named preference that controls whether Javadoc root tags
2667     * are indented.
2668     * <p>
2669     * Value is of type <code>Boolean</code>.
2670     * </p>
2671     *
2672     * @since 3.0
2673     * @deprecated As of 3.1, replaced by {@link org.eclipse.jdt.core.formatter.DefaultCodeFormatterConstants#FORMATTER_COMMENT_INDENT_ROOT_TAGS}
2674     */

2675    public final static String JavaDoc FORMATTER_COMMENT_INDENTROOTTAGS= "comment_indent_root_tags"; //$NON-NLS-1$
2676

2677    /**
2678     * A named preference that controls whether Javadoc comments
2679     * are formatted by the content formatter.
2680     * <p>
2681     * Value is of type <code>Boolean</code>.
2682     * </p>
2683     *
2684     * @since 3.0
2685     * @deprecated As of 3.1, replaced by {@link org.eclipse.jdt.core.formatter.DefaultCodeFormatterConstants#FORMATTER_COMMENT_FORMAT}
2686     */

2687    public final static String JavaDoc FORMATTER_COMMENT_FORMAT= "comment_format_comments"; //$NON-NLS-1$
2688

2689    /**
2690     * A named preference that controls whether a new line is inserted
2691     * after Javadoc root tag parameters.
2692     * <p>
2693     * Value is of type <code>Boolean</code>.
2694     * </p>
2695     *
2696     * @since 3.0
2697     * @deprecated As of 3.1, replaced by {@link org.eclipse.jdt.core.formatter.DefaultCodeFormatterConstants#FORMATTER_COMMENT_INSERT_NEW_LINE_FOR_PARAMETER}
2698     */

2699    public final static String JavaDoc FORMATTER_COMMENT_NEWLINEFORPARAMETER= "comment_new_line_for_parameter"; //$NON-NLS-1$
2700

2701    /**
2702     * A named preference that controls whether an empty line is inserted before
2703     * the Javadoc root tag block.
2704     * <p>
2705     * Value is of type <code>Boolean</code>.
2706     * </p>
2707     *
2708     * @since 3.0
2709     * @deprecated As of 3.1, replaced by {@link org.eclipse.jdt.core.formatter.DefaultCodeFormatterConstants#FORMATTER_COMMENT_INSERT_EMPTY_LINE_BEFORE_ROOT_TAGS}
2710     */

2711    public final static String JavaDoc FORMATTER_COMMENT_SEPARATEROOTTAGS= "comment_separate_root_tags"; //$NON-NLS-1$
2712

2713    /**
2714     * A named preference that controls whether blank lines are cleared during formatting.
2715     * <p>
2716     * Value is of type <code>Boolean</code>.
2717     * </p>
2718     *
2719     * @since 3.0
2720     * @deprecated As of 3.1, replaced by {@link org.eclipse.jdt.core.formatter.DefaultCodeFormatterConstants#FORMATTER_COMMENT_CLEAR_BLANK_LINES}
2721     */

2722    public final static String JavaDoc FORMATTER_COMMENT_CLEARBLANKLINES= "comment_clear_blank_lines"; //$NON-NLS-1$
2723

2724    /**
2725     * A named preference that controls the line length of comments.
2726     * <p>
2727     * Value is of type <code>Integer</code>. The value must be at least 4 for reasonable formatting.
2728     * </p>
2729     *
2730     * @since 3.0
2731     * @deprecated As of 3.1, replaced by {@link org.eclipse.jdt.core.formatter.DefaultCodeFormatterConstants#FORMATTER_COMMENT_LINE_LENGTH}
2732     */

2733    public final static String JavaDoc FORMATTER_COMMENT_LINELENGTH= "comment_line_length"; //$NON-NLS-1$
2734

2735    /**
2736     * A named preference that controls whether HTML tags are formatted.
2737     * <p>
2738     * Value is of type <code>Boolean</code>.
2739     * </p>
2740     *
2741     * @since 3.0
2742     * @deprecated As of 3.1, replaced by {@link org.eclipse.jdt.core.formatter.DefaultCodeFormatterConstants#FORMATTER_COMMENT_FORMAT_HTML}
2743     */

2744    public final static String JavaDoc FORMATTER_COMMENT_FORMATHTML= "comment_format_html"; //$NON-NLS-1$
2745

2746    /**
2747     * A named preference that controls if the Java code assist gets auto activated.
2748     * <p>
2749     * Value is of type <code>Boolean</code>.
2750     * </p>
2751     */

2752    public final static String JavaDoc CODEASSIST_AUTOACTIVATION= "content_assist_autoactivation"; //$NON-NLS-1$
2753

2754    /**
2755     * A name preference that holds the auto activation delay time in milliseconds.
2756     * <p>
2757     * Value is of type <code>Integer</code>.
2758     * </p>
2759     */

2760    public final static String JavaDoc CODEASSIST_AUTOACTIVATION_DELAY= "content_assist_autoactivation_delay"; //$NON-NLS-1$
2761

2762    /**
2763     * A named preference that controls if code assist contains only visible proposals.
2764     * <p>
2765     * Value is of type <code>Boolean</code>. if <code>true</code> code assist only contains visible members. If
2766     * <code>false</code> all members are included.
2767     * </p>
2768     */

2769    public final static String JavaDoc CODEASSIST_SHOW_VISIBLE_PROPOSALS= "content_assist_show_visible_proposals"; //$NON-NLS-1$
2770

2771    /**
2772     * A named preference that controls if the Java code assist inserts a
2773     * proposal automatically if only one proposal is available.
2774     * <p>
2775     * Value is of type <code>Boolean</code>.
2776     * </p>
2777     * @since 2.1
2778     */

2779    public final static String JavaDoc CODEASSIST_AUTOINSERT= "content_assist_autoinsert"; //$NON-NLS-1$
2780

2781    /**
2782     * A named preference that controls if the Java code assist adds import
2783     * statements.
2784     * <p>
2785     * Value is of type <code>Boolean</code>.
2786     * </p>
2787     * @since 2.1
2788     */

2789    public final static String JavaDoc CODEASSIST_ADDIMPORT= "content_assist_add_import"; //$NON-NLS-1$
2790

2791    /**
2792     * A named preference that controls if the Java code assist only inserts
2793     * completions. If set to false the proposals can also _replace_ code.
2794     * <p>
2795     * Value is of type <code>Boolean</code>.
2796     * </p>
2797     * @since 2.1
2798     */

2799    public final static String JavaDoc CODEASSIST_INSERT_COMPLETION= "content_assist_insert_completion"; //$NON-NLS-1$
2800

2801    /**
2802     * A named preference that controls whether code assist proposals filtering is case sensitive or not.
2803     * <p>
2804     * Value is of type <code>Boolean</code>.
2805     * </p>
2806     */

2807    public final static String JavaDoc CODEASSIST_CASE_SENSITIVITY= "content_assist_case_sensitivity"; //$NON-NLS-1$
2808

2809    /**
2810     * A named preference that defines if code assist proposals are sorted in alphabetical order.
2811     * <p>
2812     * Value is of type <code>Boolean</code>. If <code>true</code> that are sorted in alphabetical
2813     * order. If <code>false</code> that are unsorted.
2814     * </p>
2815     * @deprecated use {@link #CODEASSIST_SORTER} instead
2816     */

2817    public final static String JavaDoc CODEASSIST_ORDER_PROPOSALS= "content_assist_order_proposals"; //$NON-NLS-1$
2818

2819    /**
2820     * A named preference that controls if argument names are filled in when a method is selected from as list
2821     * of code assist proposal.
2822     * <p>
2823     * Value is of type <code>Boolean</code>.
2824     * </p>
2825     */

2826    public final static String JavaDoc CODEASSIST_FILL_ARGUMENT_NAMES= "content_assist_fill_method_arguments"; //$NON-NLS-1$
2827

2828    /**
2829     * A named preference that controls if method arguments are guessed when a
2830     * method is selected from as list of code assist proposal.
2831     * <p>
2832     * Value is of type <code>Boolean</code>.
2833     * </p>
2834     * @since 2.1
2835     */

2836    public final static String JavaDoc CODEASSIST_GUESS_METHOD_ARGUMENTS= "content_assist_guess_method_arguments"; //$NON-NLS-1$
2837

2838    /**
2839     * A named preference that holds the characters that auto activate code assist in Java code.
2840     * <p>
2841     * Value is of type <code>String</code>. All characters that trigger auto code assist in Java code.
2842     * </p>
2843     */

2844    public final static String JavaDoc CODEASSIST_AUTOACTIVATION_TRIGGERS_JAVA= "content_assist_autoactivation_triggers_java"; //$NON-NLS-1$
2845

2846    /**
2847     * A named preference that holds the characters that auto activate code assist in Javadoc.
2848     * <p>
2849     * Value is of type <code>String</code>. All characters that trigger auto code assist in Javadoc.
2850     * </p>
2851     */

2852    public final static String JavaDoc CODEASSIST_AUTOACTIVATION_TRIGGERS_JAVADOC= "content_assist_autoactivation_triggers_javadoc"; //$NON-NLS-1$
2853

2854    /**
2855     * A named preference that holds the background color used in the code assist selection dialog.
2856     * <p>
2857     * Value is of type <code>String</code>. A RGB color value encoded as a string
2858     * using class <code>PreferenceConverter</code>
2859     * </p>
2860     *
2861     * @see org.eclipse.jface.resource.StringConverter
2862     * @see org.eclipse.jface.preference.PreferenceConverter
2863     */

2864    public final static String JavaDoc CODEASSIST_PROPOSALS_BACKGROUND= "content_assist_proposals_background"; //$NON-NLS-1$
2865

2866    /**
2867     * A named preference that holds the foreground color used in the code assist selection dialog.
2868     * <p>
2869     * Value is of type <code>String</code>. A RGB color value encoded as a string
2870     * using class <code>PreferenceConverter</code>
2871     * </p>
2872     *
2873     * @see org.eclipse.jface.resource.StringConverter
2874     * @see org.eclipse.jface.preference.PreferenceConverter
2875     */

2876    public final static String JavaDoc CODEASSIST_PROPOSALS_FOREGROUND= "content_assist_proposals_foreground"; //$NON-NLS-1$
2877

2878    /**
2879     * A named preference that holds the background color used for parameter hints.
2880     * <p>
2881     * Value is of type <code>String</code>. A RGB color value encoded as a string
2882     * using class <code>PreferenceConverter</code>
2883     * </p>
2884     *
2885     * @see org.eclipse.jface.resource.StringConverter
2886     * @see org.eclipse.jface.preference.PreferenceConverter
2887     */

2888    public final static String JavaDoc CODEASSIST_PARAMETERS_BACKGROUND= "content_assist_parameters_background"; //$NON-NLS-1$
2889

2890    /**
2891     * A named preference that holds the foreground color used in the code assist selection dialog.
2892     * <p>
2893     * Value is of type <code>String</code>. A RGB color value encoded as a string
2894     * using class <code>PreferenceConverter</code>
2895     * </p>
2896     *
2897     * @see org.eclipse.jface.resource.StringConverter
2898     * @see org.eclipse.jface.preference.PreferenceConverter
2899     */

2900    public final static String JavaDoc CODEASSIST_PARAMETERS_FOREGROUND= "content_assist_parameters_foreground"; //$NON-NLS-1$
2901

2902    /**
2903     * A named preference that holds the background color used in the code
2904     * assist selection dialog to mark replaced code.
2905     * <p>
2906     * Value is of type <code>String</code>. A RGB color value encoded as a string
2907     * using class <code>PreferenceConverter</code>
2908     * </p>
2909     *
2910     * @see org.eclipse.jface.resource.StringConverter
2911     * @see org.eclipse.jface.preference.PreferenceConverter
2912     * @since 2.1
2913     */

2914    public final static String JavaDoc CODEASSIST_REPLACEMENT_BACKGROUND= "content_assist_completion_replacement_background"; //$NON-NLS-1$
2915

2916    /**
2917     * A named preference that holds the foreground color used in the code
2918     * assist selection dialog to mark replaced code.
2919     * <p>
2920     * Value is of type <code>String</code>. A RGB color value encoded as a string
2921     * using class <code>PreferenceConverter</code>
2922     * </p>
2923     *
2924     * @see org.eclipse.jface.resource.StringConverter
2925     * @see org.eclipse.jface.preference.PreferenceConverter
2926     * @since 2.1
2927     */

2928    public final static String JavaDoc CODEASSIST_REPLACEMENT_FOREGROUND= "content_assist_completion_replacement_foreground"; //$NON-NLS-1$
2929

2930    /**
2931     * A named preference that holds the favorite static members.
2932     * <p>
2933     * Value is of type <code>String</code>: semicolon separated list of favorites.
2934     * </p>
2935     *
2936     * @see org.eclipse.jface.resource.StringConverter
2937     * @see org.eclipse.jface.preference.PreferenceConverter
2938     * @since 3.3
2939     */

2940    public final static String JavaDoc CODEASSIST_FAVORITE_STATIC_MEMBERS= "content_assist_favorite_static_members"; //$NON-NLS-1$
2941

2942
2943    /**
2944     * A named preference that controls the behavior of the refactoring wizard for showing the error page.
2945     * <p>
2946     * Value is of type <code>String</code>. Valid values are:
2947     * <code>REFACTOR_FATAL_SEVERITY</code>,
2948     * <code>REFACTOR_ERROR_SEVERITY</code>,
2949     * <code>REFACTOR_WARNING_SEVERITY</code>
2950     * <code>REFACTOR_INFO_SEVERITY</code>,
2951     * <code>REFACTOR_OK_SEVERITY</code>.
2952     * </p>
2953     *
2954     * @see #REFACTOR_FATAL_SEVERITY
2955     * @see #REFACTOR_ERROR_SEVERITY
2956     * @see #REFACTOR_WARNING_SEVERITY
2957     * @see #REFACTOR_INFO_SEVERITY
2958     * @see #REFACTOR_OK_SEVERITY
2959     *
2960     * @deprecated Use method {@link org.eclipse.ltk.core.refactoring.RefactoringCore#getConditionCheckingFailedSeverity()}.
2961     */

2962    public static final String JavaDoc REFACTOR_ERROR_PAGE_SEVERITY_THRESHOLD= "Refactoring.ErrorPage.severityThreshold"; //$NON-NLS-1$
2963

2964    /**
2965     * A string value used by the named preference <code>REFACTOR_ERROR_PAGE_SEVERITY_THRESHOLD</code>.
2966     *
2967     * @see #REFACTOR_ERROR_PAGE_SEVERITY_THRESHOLD
2968     * @deprecated Use constant {@link org.eclipse.ltk.core.refactoring.RefactoringStatus#FATAL}
2969     */

2970    public static final String JavaDoc REFACTOR_FATAL_SEVERITY= "4"; //$NON-NLS-1$
2971

2972    /**
2973     * A string value used by the named preference <code>REFACTOR_ERROR_PAGE_SEVERITY_THRESHOLD</code>.
2974     *
2975     * @see #REFACTOR_ERROR_PAGE_SEVERITY_THRESHOLD
2976     * @deprecated Use constant {@link org.eclipse.ltk.core.refactoring.RefactoringStatus#ERROR}
2977     */

2978    public static final String JavaDoc REFACTOR_ERROR_SEVERITY= "3"; //$NON-NLS-1$
2979

2980    /**
2981     * A string value used by the named preference <code>REFACTOR_ERROR_PAGE_SEVERITY_THRESHOLD</code>.
2982     *
2983     * @see #REFACTOR_ERROR_PAGE_SEVERITY_THRESHOLD
2984     * @deprecated Use constant {@link org.eclipse.ltk.core.refactoring.RefactoringStatus#WARNING}
2985     */

2986    public static final String JavaDoc REFACTOR_WARNING_SEVERITY= "2"; //$NON-NLS-1$
2987

2988    /**
2989     * A string value used by the named preference <code>REFACTOR_ERROR_PAGE_SEVERITY_THRESHOLD</code>.
2990     *
2991     * @see #REFACTOR_ERROR_PAGE_SEVERITY_THRESHOLD
2992     * @deprecated Use constant {@link org.eclipse.ltk.core.refactoring.RefactoringStatus#INFO}
2993     */

2994    public static final String JavaDoc REFACTOR_INFO_SEVERITY= "1"; //$NON-NLS-1$
2995

2996    /**
2997     * A string value used by the named preference <code>REFACTOR_ERROR_PAGE_SEVERITY_THRESHOLD</code>.
2998     *
2999     * @see #REFACTOR_ERROR_PAGE_SEVERITY_THRESHOLD
3000     * @deprecated Use constant {@link org.eclipse.ltk.core.refactoring.RefactoringStatus#OK}
3001     */

3002    public static final String JavaDoc REFACTOR_OK_SEVERITY= "0"; //$NON-NLS-1$
3003

3004    /**
3005     * A named preference that controls whether all dirty editors are automatically saved before a refactoring is
3006     * executed.
3007     * <p>
3008     * Value is of type <code>Boolean</code>.
3009     * </p>
3010     */

3011    public static final String JavaDoc REFACTOR_SAVE_ALL_EDITORS= "Refactoring.savealleditors"; //$NON-NLS-1$
3012

3013    /**
3014     * A named preference that controls whether certain refactorings use a lightweight UI when
3015     * started from a Java editor.
3016     * <p>
3017     * Value is of type <code>Boolean</code>.
3018     * </p>
3019     * <p>
3020     * Note: this is work in progress and may change any time
3021     * </p>
3022     * @since 3.3
3023     */

3024    public static final String JavaDoc REFACTOR_LIGHTWEIGHT= "Refactor.lightweight"; //$NON-NLS-1$
3025

3026    /**
3027     * A named preference that controls a reduced search menu is used in the Java editors.
3028     * <p>
3029     * Value is of type <code>Boolean</code>.
3030     * </p>
3031     * @since 3.0
3032     */

3033    public static final String JavaDoc SEARCH_USE_REDUCED_MENU= "Search.usereducemenu"; //$NON-NLS-1$
3034

3035    /**
3036     * A named preference that controls if the Java Browsing views are linked to the active editor.
3037     * <p>
3038     * Value is of type <code>Boolean</code>.
3039     * </p>
3040     *
3041     */

3042    public static final String JavaDoc BROWSING_LINK_VIEW_TO_EDITOR= "org.eclipse.jdt.ui.browsing.linktoeditor"; //$NON-NLS-1$
3043

3044    /**
3045     * A named preference that controls the layout of the Java Browsing views vertically. Boolean value.
3046     * <p>
3047     * Value is of type <code>Boolean</code>. If <code>true</code> the views are stacked vertical.
3048     * If <code>false</code> they are stacked horizontal.
3049     * </p>
3050     */

3051    public static final String JavaDoc BROWSING_STACK_VERTICALLY= "org.eclipse.jdt.ui.browsing.stackVertically"; //$NON-NLS-1$
3052

3053    
3054    /**
3055     * A named preference that controls if templates are formatted when applied.
3056     * <p>
3057     * Value is of type <code>Boolean</code>.
3058     * </p>
3059     *
3060     * @since 2.1
3061     */

3062    public static final String JavaDoc TEMPLATES_USE_CODEFORMATTER= "org.eclipse.jdt.ui.template.format"; //$NON-NLS-1$
3063

3064    /**
3065     * A named preference that controls which profile is used by the code formatter.
3066     * <p>
3067     * Value is of type <code>String</code>.
3068     * </p>
3069     *
3070     * @since 3.0
3071     */

3072    public static final String JavaDoc FORMATTER_PROFILE= "formatter_profile"; //$NON-NLS-1$
3073

3074    /**
3075     * A named preference that controls whether annotation roll over is used or not.
3076     * <p>
3077     * Value is of type <code>Boolean</code>. If <code>true</code> the annotation ruler column
3078     * uses a roll over to display multiple annotations
3079     * </p>
3080     *
3081     * @since 3.0
3082     */

3083    public static final String JavaDoc EDITOR_ANNOTATION_ROLL_OVER= "editor_annotation_roll_over"; //$NON-NLS-1$
3084

3085    /**
3086     * A named preference that controls if content assist inserts the common
3087     * prefix of all proposals before presenting choices.
3088     * <p>
3089     * Value is of type <code>Boolean</code>.
3090     * </p>
3091     *
3092     * @since 3.0
3093     */

3094    public final static String JavaDoc CODEASSIST_PREFIX_COMPLETION= "content_assist_prefix_completion"; //$NON-NLS-1$
3095

3096    /**
3097     * A named preference that controls which completion proposal categories
3098     * have been excluded from the default proposal list.
3099     * <p>
3100     * Value is of type <code>String</code>, a "\0"-separated list of identifiers.
3101     * </p>
3102     *
3103     * @since 3.2
3104     */

3105    public static final String JavaDoc CODEASSIST_EXCLUDED_CATEGORIES= "content_assist_disabled_computers"; //$NON-NLS-1$
3106

3107    /**
3108     * A named preference that controls which the order of the specific code assist commands.
3109     * <p>
3110     * Value is of type <code>String</code>, a "\0"-separated list of identifiers.
3111     * </p>
3112     *
3113     * @since 3.2
3114     */

3115    public static final String JavaDoc CODEASSIST_CATEGORY_ORDER= "content_assist_category_order"; //$NON-NLS-1$
3116

3117    /**
3118     * A named preference that controls whether folding is enabled in the Java editor.
3119     * <p>
3120     * Value is of type <code>Boolean</code>.
3121     * </p>
3122     *
3123     * @since 3.0
3124     */

3125    public static final String JavaDoc EDITOR_FOLDING_ENABLED= "editor_folding_enabled"; //$NON-NLS-1$
3126

3127    /**
3128     * A named preference that stores the configured folding provider.
3129     * <p>
3130     * Value is of type <code>String</code>.
3131     * </p>
3132     *
3133     * @since 3.0
3134     */

3135    public static final String JavaDoc EDITOR_FOLDING_PROVIDER= "editor_folding_provider"; //$NON-NLS-1$
3136

3137    /**
3138     * A named preference that stores the value for Javadoc folding for the default folding provider.
3139     * <p>
3140     * Value is of type <code>Boolean</code>.
3141     * </p>
3142     *
3143     * @since 3.0
3144     */

3145    public static final String JavaDoc EDITOR_FOLDING_JAVADOC= "editor_folding_default_javadoc"; //$NON-NLS-1$
3146

3147    /**
3148     * A named preference that stores the value for inner type folding for the default folding provider.
3149     * <p>
3150     * Value is of type <code>Boolean</code>.
3151     * </p>
3152     *
3153     * @since 3.0
3154     */

3155    public static final String JavaDoc EDITOR_FOLDING_INNERTYPES= "editor_folding_default_innertypes"; //$NON-NLS-1$
3156

3157    /**
3158     * A named preference that stores the value for method folding for the default folding provider.
3159     * <p>
3160     * Value is of type <code>Boolean</code>.
3161     * </p>
3162     *
3163     * @since 3.0
3164     */

3165    public static final String JavaDoc EDITOR_FOLDING_METHODS= "editor_folding_default_methods"; //$NON-NLS-1$
3166

3167    /**
3168     * A named preference that stores the value for imports folding for the default folding provider.
3169     * <p>
3170     * Value is of type <code>Boolean</code>.
3171     * </p>
3172     *
3173     * @since 3.0
3174     */

3175    public static final String JavaDoc EDITOR_FOLDING_IMPORTS= "editor_folding_default_imports"; //$NON-NLS-1$
3176

3177    /**
3178     * A named preference that stores the value for header comment folding for the default folding provider.
3179     * <p>
3180     * Value is of type <code>Boolean</code>.
3181     * </p>
3182     *
3183     * @since 3.1
3184     */

3185    public static final String JavaDoc EDITOR_FOLDING_HEADERS= "editor_folding_default_headers"; //$NON-NLS-1$
3186

3187
3188    //---------- Properties File Editor ----------
3189

3190    /**
3191     * The symbolic font name for the Java properties file editor text font
3192     * (value <code>"org.eclipse.jdt.ui.PropertiesFileEditor.textfont"</code>).
3193     *
3194     * @since 3.1
3195     */

3196    public static final String JavaDoc PROPERTIES_FILE_EDITOR_TEXT_FONT= "org.eclipse.jdt.ui.PropertiesFileEditor.textfont"; //$NON-NLS-1$
3197

3198    /**
3199     * A named preference that holds the color used to render keys in a properties file.
3200     * <p>
3201     * Value is of type <code>String</code>. A RGB color value encoded as a string
3202     * using class <code>PreferenceConverter</code>
3203     * </p>
3204     *
3205     * @see org.eclipse.jface.resource.StringConverter
3206     * @see org.eclipse.jface.preference.PreferenceConverter
3207     * @since 3.1
3208     */

3209    public static final String JavaDoc PROPERTIES_FILE_COLORING_KEY= IJavaColorConstants.PROPERTIES_FILE_COLORING_KEY;
3210    
3211    /**
3212     * A named preference that controls whether keys in a properties file are rendered in bold.
3213     * <p>
3214     * Value is of type <code>Boolean</code>.
3215     * </p>
3216     *
3217     * @since 3.1
3218     */

3219    public static final String JavaDoc PROPERTIES_FILE_COLORING_KEY_BOLD= PROPERTIES_FILE_COLORING_KEY + EDITOR_BOLD_SUFFIX;
3220
3221    /**
3222     * A named preference that controls whether keys in a properties file are rendered in italic.
3223     * <p>
3224     * Value is of type <code>Boolean</code>.
3225     * </p>
3226     *
3227     * @since 3.1
3228     */

3229    public static final String JavaDoc PROPERTIES_FILE_COLORING_KEY_ITALIC= PROPERTIES_FILE_COLORING_KEY + EDITOR_ITALIC_SUFFIX;
3230    
3231    /**
3232     * A named preference that controls whether keys in a properties file are rendered in strikethrough.
3233     * <p>
3234     * Value is of type <code>Boolean</code>.
3235     * </p>
3236     *
3237     * @since 3.1
3238     */

3239    public static final String JavaDoc PROPERTIES_FILE_COLORING_KEY_STRIKETHROUGH= PROPERTIES_FILE_COLORING_KEY + EDITOR_STRIKETHROUGH_SUFFIX;
3240    
3241    /**
3242     * A named preference that controls whether keys in a properties file are rendered in underline.
3243     * <p>
3244     * Value is of type <code>Boolean</code>.
3245     * </p>
3246     *
3247     * @since 3.1
3248     */

3249    public static final String JavaDoc PROPERTIES_FILE_COLORING_KEY_UNDERLINE= PROPERTIES_FILE_COLORING_KEY + EDITOR_UNDERLINE_SUFFIX;
3250    
3251    /**
3252     * A named preference that holds the color used to render comments in a properties file.
3253     * <p>
3254     * Value is of type <code>String</code>. A RGB color value encoded as a string
3255     * using class <code>PreferenceConverter</code>
3256     * </p>
3257     *
3258     * @see org.eclipse.jface.resource.StringConverter
3259     * @see org.eclipse.jface.preference.PreferenceConverter
3260     * @since 3.1
3261     */

3262    public static final String JavaDoc PROPERTIES_FILE_COLORING_COMMENT= IJavaColorConstants.PROPERTIES_FILE_COLORING_COMMENT;
3263
3264    /**
3265     * A named preference that controls whether comments in a properties file are rendered in bold.
3266     * <p>
3267     * Value is of type <code>Boolean</code>.
3268     * </p>
3269     *
3270     * @since 3.1
3271     */

3272    public static final String JavaDoc PROPERTIES_FILE_COLORING_COMMENT_BOLD= PROPERTIES_FILE_COLORING_COMMENT + EDITOR_BOLD_SUFFIX;
3273
3274    /**
3275     * A named preference that controls whether comments in a properties file are rendered in italic.
3276     * <p>
3277     * Value is of type <code>Boolean</code>.
3278     * </p>
3279     *
3280     * @since 3.1
3281     */

3282    public static final String JavaDoc PROPERTIES_FILE_COLORING_COMMENT_ITALIC= PROPERTIES_FILE_COLORING_COMMENT + EDITOR_ITALIC_SUFFIX;
3283
3284    /**
3285     * A named preference that controls whether comments in a properties file are rendered in strikethrough.
3286     * <p>
3287     * Value is of type <code>Boolean</code>.
3288     * </p>
3289     *
3290     * @since 3.1
3291     */

3292    public static final String JavaDoc PROPERTIES_FILE_COLORING_COMMENT_STRIKETHROUGH= PROPERTIES_FILE_COLORING_COMMENT + EDITOR_STRIKETHROUGH_SUFFIX;
3293    
3294    /**
3295     * A named preference that controls whether comments in a properties file are rendered in underline.
3296     * <p>
3297     * Value is of type <code>Boolean</code>.
3298     * </p>
3299     *
3300     * @since 3.1
3301     */

3302    public static final String JavaDoc PROPERTIES_FILE_COLORING_COMMENT_UNDERLINE= PROPERTIES_FILE_COLORING_COMMENT + EDITOR_UNDERLINE_SUFFIX;
3303    
3304    /**
3305     * A named preference that holds the color used to render values in a properties file.
3306     * <p>
3307     * Value is of type <code>String</code>. A RGB color value encoded as a string
3308     * using class <code>PreferenceConverter</code>
3309     * </p>
3310     *
3311     * @see org.eclipse.jface.resource.StringConverter
3312     * @see org.eclipse.jface.preference.PreferenceConverter
3313     * @since 3.1
3314     */

3315    public static final String JavaDoc PROPERTIES_FILE_COLORING_VALUE= IJavaColorConstants.PROPERTIES_FILE_COLORING_VALUE;
3316
3317    /**
3318     * A named preference that controls whether values in a properties file are rendered in bold.
3319     * <p>
3320     * Value is of type <code>Boolean</code>.
3321     * </p>
3322     *
3323     * @since 3.1
3324     */

3325    public static final String JavaDoc PROPERTIES_FILE_COLORING_VALUE_BOLD= PROPERTIES_FILE_COLORING_VALUE + EDITOR_BOLD_SUFFIX;
3326
3327    /**
3328     * A named preference that controls whether values in a properties file are rendered in italic.
3329     * <p>
3330     * Value is of type <code>Boolean</code>.
3331     * </p>
3332     *
3333     * @since 3.1
3334     */

3335    public static final String JavaDoc PROPERTIES_FILE_COLORING_VALUE_ITALIC= PROPERTIES_FILE_COLORING_VALUE + EDITOR_ITALIC_SUFFIX;
3336    
3337    /**
3338     * A named preference that controls whether values in a properties file are rendered in strikethrough.
3339     * <p>
3340     * Value is of type <code>Boolean</code>.
3341     * </p>
3342     *
3343     * @since 3.1
3344     */

3345    public static final String JavaDoc PROPERTIES_FILE_COLORING_VALUE_STRIKETHROUGH= PROPERTIES_FILE_COLORING_VALUE + EDITOR_STRIKETHROUGH_SUFFIX;
3346    
3347    /**
3348     * A named preference that controls whether values in a properties file are rendered in underline.
3349     * <p>
3350     * Value is of type <code>Boolean</code>.
3351     * </p>
3352     *
3353     * @since 3.1
3354     */

3355    public static final String JavaDoc PROPERTIES_FILE_COLORING_VALUE_UNDERLINE= PROPERTIES_FILE_COLORING_VALUE + EDITOR_UNDERLINE_SUFFIX;
3356    
3357    /**
3358     * A named preference that holds the color used to render assignments in a properties file.
3359     * <p>
3360     * Value is of type <code>String</code>. A RGB color value encoded as a string
3361     * using class <code>PreferenceConverter</code>
3362     * </p>
3363     *
3364     * @see org.eclipse.jface.resource.StringConverter
3365     * @see org.eclipse.jface.preference.PreferenceConverter
3366     * @since 3.1
3367     */

3368    public static final String JavaDoc PROPERTIES_FILE_COLORING_ASSIGNMENT= IJavaColorConstants.PROPERTIES_FILE_COLORING_ASSIGNMENT;
3369    
3370    /**
3371     * A named preference that controls whether assignments in a properties file are rendered in bold.
3372     * <p>
3373     * Value is of type <code>Boolean</code>.
3374     * </p>
3375     *
3376     * @since 3.1
3377     */

3378    public static final String JavaDoc PROPERTIES_FILE_COLORING_ASSIGNMENT_BOLD= PROPERTIES_FILE_COLORING_ASSIGNMENT + EDITOR_BOLD_SUFFIX;
3379    
3380    /**
3381     * A named preference that controls whether assignments in a properties file are rendered in italic.
3382     * <p>
3383     * Value is of type <code>Boolean</code>.
3384     * </p>
3385     *
3386     * @since 3.1
3387     */

3388    public static final String JavaDoc PROPERTIES_FILE_COLORING_ASSIGNMENT_ITALIC= PROPERTIES_FILE_COLORING_ASSIGNMENT + EDITOR_ITALIC_SUFFIX;
3389    
3390    /**
3391     * A named preference that controls whether assignments in a properties file are rendered in strikethrough.
3392     * <p>
3393     * Value is of type <code>Boolean</code>.
3394     * </p>
3395     *
3396     * @since 3.1
3397     */

3398    public static final String JavaDoc PROPERTIES_FILE_COLORING_ASSIGNMENT_STRIKETHROUGH= PROPERTIES_FILE_COLORING_ASSIGNMENT + EDITOR_STRIKETHROUGH_SUFFIX;
3399    
3400    /**
3401     * A named preference that controls whether assignments in a properties file are rendered in underline.
3402     * <p>
3403     * Value is of type <code>Boolean</code>.
3404     * </p>
3405     *
3406     * @since 3.1
3407     */

3408    public static final String JavaDoc PROPERTIES_FILE_COLORING_ASSIGNMENT_UNDERLINE= PROPERTIES_FILE_COLORING_ASSIGNMENT + EDITOR_UNDERLINE_SUFFIX;
3409
3410    /**
3411     * A named preference that holds the color used to render arguments in a properties file.
3412     * <p>
3413     * Value is of type <code>String</code>. A RGB color value encoded as a string
3414     * using class <code>PreferenceConverter</code>
3415     * </p>
3416     *
3417     * @see org.eclipse.jface.resource.StringConverter
3418     * @see org.eclipse.jface.preference.PreferenceConverter
3419     * @since 3.1
3420     */

3421    public static final String JavaDoc PROPERTIES_FILE_COLORING_ARGUMENT= IJavaColorConstants.PROPERTIES_FILE_COLORING_ARGUMENT;
3422
3423    /**
3424     * A named preference that controls whether arguments in a properties file are rendered in bold.
3425     * <p>
3426     * Value is of type <code>Boolean</code>.
3427     * </p>
3428     *
3429     * @since 3.1
3430     */

3431    public static final String JavaDoc PROPERTIES_FILE_COLORING_ARGUMENT_BOLD= PROPERTIES_FILE_COLORING_ARGUMENT + EDITOR_BOLD_SUFFIX;
3432    
3433    /**
3434     * A named preference that controls whether arguments in a properties file are rendered in italic.
3435     * <p>
3436     * Value is of type <code>Boolean</code>.
3437     * </p>
3438     *
3439     * @since 3.1
3440     */

3441    public static final String JavaDoc PROPERTIES_FILE_COLORING_ARGUMENT_ITALIC= PROPERTIES_FILE_COLORING_ARGUMENT + EDITOR_ITALIC_SUFFIX;
3442    
3443    /**
3444     * A named preference that controls whether arguments in a properties file are rendered in strikethrough.
3445     * <p>
3446     * Value is of type <code>Boolean</code>.
3447     * </p>
3448     *
3449     * @since 3.1
3450     */

3451    public static final String JavaDoc PROPERTIES_FILE_COLORING_ARGUMENT_STRIKETHROUGH= PROPERTIES_FILE_COLORING_ARGUMENT + EDITOR_STRIKETHROUGH_SUFFIX;
3452    
3453    /**
3454     * A named preference that controls whether arguments in a properties file are rendered in underline.
3455     * <p>
3456     * Value is of type <code>Boolean</code>.
3457     * </p>
3458     *
3459     * @since 3.1
3460     */

3461    public static final String JavaDoc PROPERTIES_FILE_COLORING_ARGUMENT_UNDERLINE= PROPERTIES_FILE_COLORING_ARGUMENT + EDITOR_UNDERLINE_SUFFIX;
3462
3463    /**
3464     * A named preference that stores the content assist LRU history
3465     * <p>
3466     * Value is an XML encoded version of the history.
3467     * </p>
3468     *
3469     * @see org.eclipse.jdt.internal.ui.text.java.ContentAssistHistory#load(org.eclipse.core.runtime.Preferences, String)
3470     * @since 3.2
3471     */

3472    public static final String JavaDoc CODEASSIST_LRU_HISTORY= "content_assist_lru_history"; //$NON-NLS-1$
3473

3474    /**
3475     * A named preference that stores the content assist sorter id.
3476     * <p>
3477     * Value is a {@link String}.
3478     * </p>
3479     *
3480     * @see ProposalSorterRegistry
3481     * @since 3.2
3482     */

3483    public static final String JavaDoc CODEASSIST_SORTER= "content_assist_sorter"; //$NON-NLS-1$
3484

3485    /**
3486     * A named preference that holds the source hover background color.
3487     * <p>
3488     * Value is of type <code>String</code>. A RGB color value encoded as a string
3489     * using class <code>PreferenceConverter</code>
3490     * </p>
3491     *
3492     * @see org.eclipse.jface.resource.StringConverter
3493     * @see org.eclipse.jface.preference.PreferenceConverter
3494     * @since 3.3
3495     */

3496    public final static String JavaDoc EDITOR_SOURCE_HOVER_BACKGROUND_COLOR= "sourceHoverBackgroundColor"; //$NON-NLS-1$
3497

3498    /**
3499     * A named preference that tells whether to use the system
3500     * default color ({@link SWT#COLOR_INFO_BACKGROUND}) for
3501     * the source hover background color.
3502     * <p>
3503     * Value is of type <code>Boolean</code>.
3504     * </p>
3505     *
3506     * @see org.eclipse.jface.resource.StringConverter
3507     * @see org.eclipse.jface.preference.PreferenceConverter
3508     * @since 3.3
3509     */

3510    public final static String JavaDoc EDITOR_SOURCE_HOVER_BACKGROUND_COLOR_SYSTEM_DEFAULT= "sourceHoverBackgroundColor.SystemDefault"; //$NON-NLS-1$
3511

3512    /**
3513     * Initializes the given preference store with the default values.
3514     *
3515     * @param store the preference store to be initialized
3516     *
3517     * @since 2.1
3518     */

3519    public static void initializeDefaultValues(IPreferenceStore store) {
3520        ColorRegistry registry= null;
3521        if (PlatformUI.isWorkbenchRunning())
3522            registry= PlatformUI.getWorkbench().getThemeManager().getCurrentTheme().getColorRegistry();
3523        
3524        store.setDefault(PreferenceConstants.EDITOR_SHOW_SEGMENTS, false);
3525
3526        // JavaBasePreferencePage
3527
store.setDefault(PreferenceConstants.OPEN_TYPE_HIERARCHY, PreferenceConstants.OPEN_TYPE_HIERARCHY_IN_VIEW_PART);
3528        store.setDefault(PreferenceConstants.DOUBLE_CLICK, PreferenceConstants.DOUBLE_CLICK_EXPANDS);
3529        store.setDefault(PreferenceConstants.UPDATE_JAVA_VIEWS, PreferenceConstants.UPDATE_WHILE_EDITING);
3530        store.setToDefault(PreferenceConstants.UPDATE_JAVA_VIEWS); // clear preference, update on save not supported anymore
3531

3532        store.setDefault(PreferenceConstants.LINK_BROWSING_PROJECTS_TO_EDITOR, true);
3533        store.setDefault(PreferenceConstants.LINK_BROWSING_PACKAGES_TO_EDITOR, true);
3534        store.setDefault(PreferenceConstants.LINK_BROWSING_TYPES_TO_EDITOR, true);
3535        store.setDefault(PreferenceConstants.LINK_BROWSING_MEMBERS_TO_EDITOR, true);
3536
3537        store.setDefault(PreferenceConstants.SEARCH_USE_REDUCED_MENU, true);
3538        
3539        // AppearancePreferencePage
3540
store.setDefault(PreferenceConstants.APPEARANCE_COMPRESS_PACKAGE_NAMES, false);
3541        store.setDefault(PreferenceConstants.APPEARANCE_METHOD_RETURNTYPE, false);
3542        store.setDefault(PreferenceConstants.APPEARANCE_METHOD_TYPEPARAMETERS, true);
3543        store.setDefault(PreferenceConstants.APPEARANCE_CATEGORY, true);
3544        store.setDefault(PreferenceConstants.SHOW_CU_CHILDREN, true);
3545        store.setDefault(PreferenceConstants.BROWSING_STACK_VERTICALLY, false);
3546        store.setDefault(PreferenceConstants.APPEARANCE_PKG_NAME_PATTERN_FOR_PKG_VIEW, ""); //$NON-NLS-1$
3547
store.setDefault(PreferenceConstants.APPEARANCE_FOLD_PACKAGES_IN_PACKAGE_EXPLORER, true);
3548
3549        // ImportOrganizePreferencePage
3550
store.setDefault(PreferenceConstants.ORGIMPORTS_IMPORTORDER, "java;javax;org;com"); //$NON-NLS-1$
3551
store.setDefault(PreferenceConstants.ORGIMPORTS_ONDEMANDTHRESHOLD, 99);
3552        store.setDefault(PreferenceConstants.ORGIMPORTS_STATIC_ONDEMANDTHRESHOLD, 99);
3553        store.setDefault(PreferenceConstants.ORGIMPORTS_IGNORELOWERCASE, true);
3554
3555        // TypeFilterPreferencePage
3556
store.setDefault(PreferenceConstants.TYPEFILTER_ENABLED, ""); //$NON-NLS-1$
3557
store.setDefault(PreferenceConstants.TYPEFILTER_DISABLED, ""); //$NON-NLS-1$
3558

3559        // ClasspathVariablesPreferencePage
3560
// CodeFormatterPreferencePage
3561
// CompilerPreferencePage
3562
// no initialization needed
3563

3564        // RefactoringPreferencePage
3565
store.setDefault(PreferenceConstants.REFACTOR_ERROR_PAGE_SEVERITY_THRESHOLD, PreferenceConstants.REFACTOR_WARNING_SEVERITY);
3566        store.setDefault(PreferenceConstants.REFACTOR_SAVE_ALL_EDITORS, false);
3567        store.setDefault(PreferenceConstants.REFACTOR_LIGHTWEIGHT, true);
3568
3569        // TemplatePreferencePage
3570
store.setDefault(PreferenceConstants.TEMPLATES_USE_CODEFORMATTER, true);
3571        
3572        // CodeGenerationPreferencePage
3573
// compatibility code
3574
if (store.getBoolean(PreferenceConstants.CODEGEN_USE_GETTERSETTER_PREFIX)) {
3575            String JavaDoc prefix= store.getString(PreferenceConstants.CODEGEN_GETTERSETTER_PREFIX);
3576            if (prefix.length() > 0) {
3577                JavaCore.getPlugin().getPluginPreferences().setValue(JavaCore.CODEASSIST_FIELD_PREFIXES, prefix);
3578                store.setToDefault(PreferenceConstants.CODEGEN_USE_GETTERSETTER_PREFIX);
3579                store.setToDefault(PreferenceConstants.CODEGEN_GETTERSETTER_PREFIX);
3580            }
3581        }
3582        if (store.getBoolean(PreferenceConstants.CODEGEN_USE_GETTERSETTER_SUFFIX)) {
3583            String JavaDoc suffix= store.getString(PreferenceConstants.CODEGEN_GETTERSETTER_SUFFIX);
3584            if (suffix.length() > 0) {
3585                JavaCore.getPlugin().getPluginPreferences().setValue(JavaCore.CODEASSIST_FIELD_SUFFIXES, suffix);
3586                store.setToDefault(PreferenceConstants.CODEGEN_USE_GETTERSETTER_SUFFIX);
3587                store.setToDefault(PreferenceConstants.CODEGEN_GETTERSETTER_SUFFIX);
3588            }
3589        }
3590        store.setDefault(PreferenceConstants.CODEGEN_KEYWORD_THIS, false);
3591        store.setDefault(PreferenceConstants.CODEGEN_IS_FOR_GETTERS, true);
3592        store.setDefault(PreferenceConstants.CODEGEN_EXCEPTION_VAR_NAME, "e"); //$NON-NLS-1$
3593
store.setDefault(PreferenceConstants.CODEGEN_ADD_COMMENTS, false);
3594        store.setDefault(PreferenceConstants.CODEGEN_USE_OVERRIDE_ANNOTATION, true);
3595
3596        // MembersOrderPreferencePage
3597
store.setDefault(PreferenceConstants.APPEARANCE_MEMBER_SORT_ORDER, "T,SF,SI,SM,F,I,C,M"); //$NON-NLS-1$
3598
store.setDefault(PreferenceConstants.APPEARANCE_VISIBILITY_SORT_ORDER, "B,V,R,D"); //$NON-NLS-1$
3599
store.setDefault(PreferenceConstants.APPEARANCE_ENABLE_VISIBILITY_SORT_ORDER, false);
3600
3601        // JavaEditorPreferencePage
3602
store.setDefault(PreferenceConstants.EDITOR_MATCHING_BRACKETS, true);
3603        setDefaultAndFireEvent(
3604                store,
3605                PreferenceConstants.EDITOR_MATCHING_BRACKETS_COLOR,
3606                findRGB(registry, IJavaThemeConstants.EDITOR_MATCHING_BRACKETS_COLOR, new RGB(192, 192,192)));
3607
3608        store.setDefault(PreferenceConstants.EDITOR_CORRECTION_INDICATION, true);
3609        store.setDefault(PreferenceConstants.EDITOR_SYNC_OUTLINE_ON_CURSOR_MOVE, true);
3610
3611        store.setDefault(PreferenceConstants.EDITOR_EVALUTE_TEMPORARY_PROBLEMS, true);
3612
3613        PreferenceConverter.setDefault(store, PreferenceConstants.EDITOR_LINKED_POSITION_COLOR, new RGB(121, 121, 121));
3614
3615        store.setDefault(PreferenceConstants.EDITOR_TAB_WIDTH, 4);
3616        store.setDefault(PreferenceConstants.EDITOR_SPACES_FOR_TABS, false);
3617
3618        setDefaultAndFireEvent(
3619                store,
3620                PreferenceConstants.EDITOR_MULTI_LINE_COMMENT_COLOR,
3621                findRGB(registry, IJavaThemeConstants.EDITOR_MULTI_LINE_COMMENT_COLOR, new RGB(63, 127, 95)));
3622        
3623        store.setDefault(PreferenceConstants.EDITOR_MULTI_LINE_COMMENT_BOLD, false);
3624        store.setDefault(PreferenceConstants.EDITOR_MULTI_LINE_COMMENT_ITALIC, false);
3625
3626        setDefaultAndFireEvent(
3627                store,
3628                PreferenceConstants.EDITOR_SINGLE_LINE_COMMENT_COLOR,
3629                findRGB(registry, IJavaThemeConstants.EDITOR_SINGLE_LINE_COMMENT_COLOR, new RGB(63, 127, 95)));
3630        
3631        store.setDefault(PreferenceConstants.EDITOR_SINGLE_LINE_COMMENT_BOLD, false);
3632        store.setDefault(PreferenceConstants.EDITOR_SINGLE_LINE_COMMENT_ITALIC, false);
3633
3634        setDefaultAndFireEvent(
3635                store,
3636                PreferenceConstants.EDITOR_JAVA_KEYWORD_COLOR,
3637                findRGB(registry, IJavaThemeConstants.EDITOR_JAVA_KEYWORD_COLOR, new RGB(127, 0, 85)));
3638        store.setDefault(PreferenceConstants.EDITOR_JAVA_KEYWORD_BOLD, true);
3639        store.setDefault(PreferenceConstants.EDITOR_JAVA_KEYWORD_ITALIC, false);
3640
3641        PreferenceConverter.setDefault(store, PreferenceConstants.EDITOR_JAVA_ANNOTATION_COLOR, new RGB(100, 100, 100));
3642        store.setDefault(PreferenceConstants.EDITOR_JAVA_ANNOTATION_BOLD, false);
3643        store.setDefault(PreferenceConstants.EDITOR_JAVA_ANNOTATION_ITALIC, false);
3644
3645        setDefaultAndFireEvent(
3646                store,
3647                PreferenceConstants.EDITOR_STRING_COLOR,
3648                findRGB(registry, IJavaThemeConstants.EDITOR_STRING_COLOR, new RGB(42, 0, 255)));
3649        
3650        store.setDefault(PreferenceConstants.EDITOR_STRING_BOLD, false);
3651        store.setDefault(PreferenceConstants.EDITOR_STRING_ITALIC, false);
3652
3653        setDefaultAndFireEvent(
3654                store,
3655                PreferenceConstants.EDITOR_JAVA_DEFAULT_COLOR,
3656                findRGB(registry, IJavaThemeConstants.EDITOR_JAVA_DEFAULT_COLOR, new RGB(0, 0, 0)));
3657        store.setDefault(PreferenceConstants.EDITOR_JAVA_DEFAULT_BOLD, false);
3658        store.setDefault(PreferenceConstants.EDITOR_JAVA_DEFAULT_ITALIC, false);
3659
3660        setDefaultAndFireEvent(store, PreferenceConstants.EDITOR_JAVA_METHOD_NAME_COLOR, new RGB(0, 0, 0));
3661        store.setDefault(PreferenceConstants.EDITOR_JAVA_METHOD_NAME_BOLD, false);
3662        store.setDefault(PreferenceConstants.EDITOR_JAVA_METHOD_NAME_ITALIC, false);
3663
3664        setDefaultAndFireEvent(
3665                store,
3666                PreferenceConstants.EDITOR_JAVA_KEYWORD_RETURN_COLOR,
3667                findRGB(registry, IJavaThemeConstants.EDITOR_JAVA_KEYWORD_RETURN_COLOR, new RGB(127, 0, 85)));
3668        store.setDefault(PreferenceConstants.EDITOR_JAVA_KEYWORD_RETURN_BOLD, true);
3669        store.setDefault(PreferenceConstants.EDITOR_JAVA_KEYWORD_RETURN_ITALIC, false);
3670
3671        setDefaultAndFireEvent(
3672                store,
3673                PreferenceConstants.EDITOR_JAVA_OPERATOR_COLOR,
3674                findRGB(registry, IJavaThemeConstants.EDITOR_JAVA_OPERATOR_COLOR, new RGB(0, 0, 0)));
3675        store.setDefault(PreferenceConstants.EDITOR_JAVA_OPERATOR_BOLD, false);
3676        store.setDefault(PreferenceConstants.EDITOR_JAVA_OPERATOR_ITALIC, false);
3677
3678        setDefaultAndFireEvent(
3679                store,
3680                PreferenceConstants.EDITOR_JAVA_BRACKET_COLOR,
3681                findRGB(registry, IJavaThemeConstants.EDITOR_JAVA_BRACKET_COLOR, new RGB(0, 0, 0)));
3682        store.setDefault(PreferenceConstants.EDITOR_JAVA_BRACKET_BOLD, false);
3683        store.setDefault(PreferenceConstants.EDITOR_JAVA_BRACKET_ITALIC, false);
3684
3685        setDefaultAndFireEvent(
3686                store,
3687                PreferenceConstants.EDITOR_TASK_TAG_COLOR,
3688                findRGB(registry, IJavaThemeConstants.EDITOR_TASK_TAG_COLOR, new RGB(127, 159, 191)));
3689        store.setDefault(PreferenceConstants.EDITOR_TASK_TAG_BOLD, true);
3690        store.setDefault(PreferenceConstants.EDITOR_TASK_TAG_ITALIC, false);
3691
3692        setDefaultAndFireEvent(
3693                store,
3694                PreferenceConstants.EDITOR_JAVADOC_KEYWORD_COLOR,
3695                findRGB(registry, IJavaThemeConstants.EDITOR_JAVADOC_KEYWORD_COLOR, new RGB(127, 159, 191)));
3696        store.setDefault(PreferenceConstants.EDITOR_JAVADOC_KEYWORD_BOLD, true);
3697        store.setDefault(PreferenceConstants.EDITOR_JAVADOC_KEYWORD_ITALIC, false);
3698
3699        setDefaultAndFireEvent(
3700                store,
3701                PreferenceConstants.EDITOR_JAVADOC_TAG_COLOR,
3702                findRGB(registry, IJavaThemeConstants.EDITOR_JAVADOC_TAG_COLOR, new RGB(127, 127, 159)));
3703        store.setDefault(PreferenceConstants.EDITOR_JAVADOC_TAG_BOLD, false);
3704        store.setDefault(PreferenceConstants.EDITOR_JAVADOC_TAG_ITALIC, false);
3705
3706        setDefaultAndFireEvent(
3707                store,
3708                PreferenceConstants.EDITOR_JAVADOC_LINKS_COLOR,
3709                findRGB(registry, IJavaThemeConstants.EDITOR_JAVADOC_LINKS_COLOR, new RGB(63, 63, 191)));
3710        store.setDefault(PreferenceConstants.EDITOR_JAVADOC_LINKS_BOLD, false);
3711        store.setDefault(PreferenceConstants.EDITOR_JAVADOC_LINKS_ITALIC, false);
3712
3713        setDefaultAndFireEvent(
3714                store,
3715                PreferenceConstants.EDITOR_JAVADOC_DEFAULT_COLOR,
3716                findRGB(registry, IJavaThemeConstants.EDITOR_JAVADOC_DEFAULT_COLOR, new RGB(63, 95, 191)));
3717        store.setDefault(PreferenceConstants.EDITOR_JAVADOC_DEFAULT_BOLD, false);
3718        store.setDefault(PreferenceConstants.EDITOR_JAVADOC_DEFAULT_ITALIC, false);
3719
3720        store.setDefault(PreferenceConstants.CODEASSIST_AUTOACTIVATION, true);
3721        store.setDefault(PreferenceConstants.CODEASSIST_AUTOACTIVATION_DELAY, 200);
3722
3723        store.setDefault(PreferenceConstants.CODEASSIST_AUTOINSERT, true);
3724        setDefaultAndFireEvent(
3725                store,
3726                PreferenceConstants.CODEASSIST_PROPOSALS_BACKGROUND,
3727                findRGB(registry, IJavaThemeConstants.CODEASSIST_PROPOSALS_BACKGROUND, new RGB(255, 255, 255)));
3728        setDefaultAndFireEvent(
3729                store,
3730                PreferenceConstants.CODEASSIST_PROPOSALS_FOREGROUND,
3731                findRGB(registry, IJavaThemeConstants.CODEASSIST_PROPOSALS_FOREGROUND, new RGB(0, 0, 0)));
3732        setDefaultAndFireEvent(
3733                store,
3734                PreferenceConstants.CODEASSIST_PARAMETERS_BACKGROUND,
3735                findRGB(registry, IJavaThemeConstants.CODEASSIST_PARAMETERS_BACKGROUND, new RGB(255, 255, 255)));
3736        setDefaultAndFireEvent(
3737                store,
3738                PreferenceConstants.CODEASSIST_PARAMETERS_FOREGROUND,
3739                findRGB(registry, IJavaThemeConstants.CODEASSIST_PARAMETERS_FOREGROUND, new RGB(0, 0, 0)));
3740        setDefaultAndFireEvent(
3741                store,
3742                PreferenceConstants.CODEASSIST_REPLACEMENT_BACKGROUND,
3743                findRGB(registry, IJavaThemeConstants.CODEASSIST_REPLACEMENT_BACKGROUND, new RGB(255, 255, 0)));
3744        setDefaultAndFireEvent(
3745                store,
3746                PreferenceConstants.CODEASSIST_REPLACEMENT_FOREGROUND,
3747                findRGB(registry, IJavaThemeConstants.CODEASSIST_REPLACEMENT_FOREGROUND, new RGB(255, 0, 0)));
3748        store.setDefault(PreferenceConstants.CODEASSIST_AUTOACTIVATION_TRIGGERS_JAVA, "."); //$NON-NLS-1$
3749
store.setDefault(PreferenceConstants.CODEASSIST_AUTOACTIVATION_TRIGGERS_JAVADOC, "@#"); //$NON-NLS-1$
3750
store.setDefault(PreferenceConstants.CODEASSIST_SHOW_VISIBLE_PROPOSALS, true);
3751        store.setDefault(PreferenceConstants.CODEASSIST_CASE_SENSITIVITY, false);
3752        store.setDefault(PreferenceConstants.CODEASSIST_ADDIMPORT, true);
3753        store.setDefault(PreferenceConstants.CODEASSIST_INSERT_COMPLETION, true);
3754        store.setDefault(PreferenceConstants.CODEASSIST_FILL_ARGUMENT_NAMES, true);
3755        store.setDefault(PreferenceConstants.CODEASSIST_GUESS_METHOD_ARGUMENTS, false);
3756        store.setDefault(PreferenceConstants.CODEASSIST_PREFIX_COMPLETION, false);
3757        store.setDefault(PreferenceConstants.CODEASSIST_EXCLUDED_CATEGORIES, "org.eclipse.jdt.ui.spellingProposalCategory\0org.eclipse.jdt.ui.textProposalCategory\0"); //$NON-NLS-1$
3758
store.setDefault(PreferenceConstants.CODEASSIST_CATEGORY_ORDER, "org.eclipse.jdt.ui.spellingProposalCategory:65545\0org.eclipse.jdt.ui.javaTypeProposalCategory:65540\0org.eclipse.jdt.ui.javaNoTypeProposalCategory:65539\0org.eclipse.jdt.ui.textProposalCategory:65541\0org.eclipse.jdt.ui.templateProposalCategory:2\0"); //$NON-NLS-1$
3759
store.setDefault(PreferenceConstants.CODEASSIST_LRU_HISTORY, ""); //$NON-NLS-1$
3760
store.setDefault(PreferenceConstants.CODEASSIST_SORTER, "org.eclipse.jdt.ui.RelevanceSorter"); //$NON-NLS-1$
3761
store.setDefault(PreferenceConstants.CODEASSIST_FAVORITE_STATIC_MEMBERS, ""); //$NON-NLS-1$
3762

3763        store.setDefault(PreferenceConstants.EDITOR_SUB_WORD_NAVIGATION, true);
3764        store.setDefault(PreferenceConstants.EDITOR_SMART_PASTE, true);
3765        store.setDefault(PreferenceConstants.EDITOR_IMPORTS_ON_PASTE, true);
3766        store.setDefault(PreferenceConstants.EDITOR_CLOSE_STRINGS, true);
3767        store.setDefault(PreferenceConstants.EDITOR_CLOSE_BRACKETS, true);
3768        store.setDefault(PreferenceConstants.EDITOR_CLOSE_BRACES, true);
3769        store.setDefault(PreferenceConstants.EDITOR_CLOSE_JAVADOCS, true);
3770        store.setDefault(PreferenceConstants.EDITOR_WRAP_STRINGS, true);
3771        store.setDefault(PreferenceConstants.EDITOR_ESCAPE_STRINGS, false);
3772        store.setDefault(PreferenceConstants.EDITOR_ADD_JAVADOC_TAGS, true);
3773        store.setDefault(PreferenceConstants.EDITOR_FORMAT_JAVADOCS, false);
3774        
3775        int sourceHoverModifier= SWT.MOD2;
3776        String JavaDoc sourceHoverModifierName= Action.findModifierString(sourceHoverModifier); // Shift
3777
int nlsHoverModifier= SWT.MOD1 + SWT.MOD3;
3778        String JavaDoc nlsHoverModifierName= Action.findModifierString(SWT.MOD1) + "+" + Action.findModifierString(SWT.MOD3); // Ctrl + Alt //$NON-NLS-1$
3779
store.setDefault(PreferenceConstants.EDITOR_TEXT_HOVER_MODIFIERS, "org.eclipse.jdt.ui.BestMatchHover;0;org.eclipse.jdt.ui.JavaSourceHover;" + sourceHoverModifierName + ";org.eclipse.jdt.ui.NLSStringHover;" + nlsHoverModifierName); //$NON-NLS-1$ //$NON-NLS-2$
3780
store.setDefault(PreferenceConstants.EDITOR_TEXT_HOVER_MODIFIER_MASKS, "org.eclipse.jdt.ui.BestMatchHover;0;org.eclipse.jdt.ui.JavaSourceHover;" + sourceHoverModifier + ";org.eclipse.jdt.ui.NLSStringHover;" + nlsHoverModifier); //$NON-NLS-1$ //$NON-NLS-2$
3781

3782        store.setDefault(PreferenceConstants.EDITOR_SMART_TAB, true);
3783        store.setDefault(PreferenceConstants.EDITOR_SMART_BACKSPACE, true);
3784        store.setDefault(PreferenceConstants.EDITOR_ANNOTATION_ROLL_OVER, false);
3785        
3786        store.setDefault(EDITOR_SOURCE_HOVER_BACKGROUND_COLOR_SYSTEM_DEFAULT, true);
3787        
3788        store.setDefault(PreferenceConstants.FORMATTER_PROFILE, FormatterProfileManager.DEFAULT_PROFILE);
3789        
3790        // mark occurrences
3791
store.setDefault(PreferenceConstants.EDITOR_MARK_OCCURRENCES, true);
3792        store.setDefault(PreferenceConstants.EDITOR_STICKY_OCCURRENCES, true);
3793        store.setDefault(PreferenceConstants.EDITOR_MARK_TYPE_OCCURRENCES, true);
3794        store.setDefault(PreferenceConstants.EDITOR_MARK_METHOD_OCCURRENCES, true);
3795        store.setDefault(PreferenceConstants.EDITOR_MARK_CONSTANT_OCCURRENCES, true);
3796        store.setDefault(PreferenceConstants.EDITOR_MARK_FIELD_OCCURRENCES, true);
3797        store.setDefault(PreferenceConstants.EDITOR_MARK_LOCAL_VARIABLE_OCCURRENCES, true);
3798        store.setDefault(PreferenceConstants.EDITOR_MARK_EXCEPTION_OCCURRENCES, true);
3799        store.setDefault(PreferenceConstants.EDITOR_MARK_METHOD_EXIT_POINTS, true);
3800        store.setDefault(PreferenceConstants.EDITOR_MARK_BREAK_CONTINUE_TARGETS, true);
3801        store.setDefault(PreferenceConstants.EDITOR_MARK_IMPLEMENTORS, true);
3802        
3803        
3804        // spell checking
3805
store.setDefault(PreferenceConstants.SPELLING_LOCALE, "en_US"); //$NON-NLS-1$
3806
String JavaDoc isInitializedKey= "spelling_locale_initialized"; //$NON-NLS-1$
3807
if (!store.getBoolean(isInitializedKey)) {
3808            store.setValue(isInitializedKey, true);
3809            Locale JavaDoc locale= SpellCheckEngine.getDefaultLocale();
3810            locale= SpellCheckEngine.findClosestLocale(locale);
3811            if (locale != null)
3812                store.setValue(PreferenceConstants.SPELLING_LOCALE, locale.toString());
3813        }
3814        store.setDefault(PreferenceConstants.SPELLING_IGNORE_DIGITS, true);
3815        store.setDefault(PreferenceConstants.SPELLING_IGNORE_MIXED, true);
3816        store.setDefault(PreferenceConstants.SPELLING_IGNORE_SENTENCE, true);
3817        store.setDefault(PreferenceConstants.SPELLING_IGNORE_UPPER, true);
3818        store.setDefault(PreferenceConstants.SPELLING_IGNORE_URLS, true);
3819        store.setDefault(PreferenceConstants.SPELLING_IGNORE_SINGLE_LETTERS, true);
3820        store.setDefault(PreferenceConstants.SPELLING_IGNORE_AMPERSAND_IN_PROPERTIES, true);
3821        store.setDefault(JavaSpellingEngine.SPELLING_IGNORE_JAVA_STRINGS, true);
3822        store.setDefault(PreferenceConstants.SPELLING_IGNORE_NON_LETTERS, true);
3823        store.setDefault(PreferenceConstants.SPELLING_USER_DICTIONARY, ""); //$NON-NLS-1$
3824

3825        // Note: For backwards compatibility we must use the property and not the workspace default
3826
store.setDefault(PreferenceConstants.SPELLING_USER_DICTIONARY_ENCODING, System.getProperty("file.encoding")); //$NON-NLS-1$
3827

3828        store.setDefault(PreferenceConstants.SPELLING_PROPOSAL_THRESHOLD, 20);
3829        store.setDefault(SpellingEngine.SPELLING_PROBLEMS_THRESHOLD, 100);
3830        /*
3831         * XXX: This is currently disabled because the spelling engine
3832         * cannot return word proposals but only correction proposals.
3833         */

3834        store.setToDefault(PreferenceConstants.SPELLING_ENABLE_CONTENTASSIST);
3835        
3836        
3837        // folding
3838
store.setDefault(PreferenceConstants.EDITOR_FOLDING_ENABLED, true);
3839        store.setDefault(PreferenceConstants.EDITOR_FOLDING_PROVIDER, "org.eclipse.jdt.ui.text.defaultFoldingProvider"); //$NON-NLS-1$
3840
store.setDefault(PreferenceConstants.EDITOR_FOLDING_JAVADOC, false);
3841        store.setDefault(PreferenceConstants.EDITOR_FOLDING_INNERTYPES, false);
3842        store.setDefault(PreferenceConstants.EDITOR_FOLDING_METHODS, false);
3843        store.setDefault(PreferenceConstants.EDITOR_FOLDING_IMPORTS, true);
3844        store.setDefault(PreferenceConstants.EDITOR_FOLDING_HEADERS, true);
3845        
3846        // properties file editor
3847
setDefaultAndFireEvent(
3848                store,
3849                PreferenceConstants.PROPERTIES_FILE_COLORING_KEY,
3850                findRGB(registry, IJavaThemeConstants.PROPERTIES_FILE_COLORING_KEY, new RGB(0, 0, 0)));
3851        store.setDefault(PreferenceConstants.PROPERTIES_FILE_COLORING_KEY_BOLD, false);
3852        store.setDefault(PreferenceConstants.PROPERTIES_FILE_COLORING_KEY_ITALIC, false);
3853        
3854        setDefaultAndFireEvent(
3855                store,
3856                PreferenceConstants.PROPERTIES_FILE_COLORING_VALUE,
3857                findRGB(registry, IJavaThemeConstants.PROPERTIES_FILE_COLORING_VALUE, new RGB(42, 0, 255)));
3858        store.setDefault(PreferenceConstants.PROPERTIES_FILE_COLORING_VALUE_BOLD, false);
3859        store.setDefault(PreferenceConstants.PROPERTIES_FILE_COLORING_VALUE_ITALIC, false);
3860        
3861        setDefaultAndFireEvent(
3862                store,
3863                PreferenceConstants.PROPERTIES_FILE_COLORING_ASSIGNMENT,
3864                findRGB(registry, IJavaThemeConstants.PROPERTIES_FILE_COLORING_ASSIGNMENT, new RGB(0, 0, 0)));
3865        store.setDefault(PreferenceConstants.PROPERTIES_FILE_COLORING_ASSIGNMENT_BOLD, false);
3866        store.setDefault(PreferenceConstants.PROPERTIES_FILE_COLORING_ASSIGNMENT_ITALIC, false);
3867        
3868        setDefaultAndFireEvent(
3869                store,
3870                PreferenceConstants.PROPERTIES_FILE_COLORING_ARGUMENT,
3871                findRGB(registry, IJavaThemeConstants.PROPERTIES_FILE_COLORING_ARGUMENT, new RGB(127, 0, 85)));
3872        store.setDefault(PreferenceConstants.PROPERTIES_FILE_COLORING_ARGUMENT_BOLD, true);
3873        store.setDefault(PreferenceConstants.PROPERTIES_FILE_COLORING_ARGUMENT_ITALIC, false);
3874        
3875        setDefaultAndFireEvent(
3876                store,
3877                PreferenceConstants.PROPERTIES_FILE_COLORING_COMMENT,
3878                findRGB(registry, IJavaThemeConstants.PROPERTIES_FILE_COLORING_COMMENT, new RGB(63, 127, 95)));
3879        store.setDefault(PreferenceConstants.PROPERTIES_FILE_COLORING_COMMENT_BOLD, false);
3880        store.setDefault(PreferenceConstants.PROPERTIES_FILE_COLORING_COMMENT_ITALIC, false);
3881        
3882        // semantic highlighting
3883
SemanticHighlightings.initDefaults(store);
3884
3885        // do more complicated stuff
3886
NewJavaProjectPreferencePage.initDefaults(store);
3887
3888        // reset preferences that are not settable by editor any longer
3889
// see AbstractDecoratedTextEditorPreferenceConstants
3890
store.setToDefault(EDITOR_SMART_HOME_END); // global
3891
store.setToDefault(EDITOR_LINE_NUMBER_RULER); // global
3892
store.setToDefault(EDITOR_LINE_NUMBER_RULER_COLOR); // global
3893
store.setToDefault(EDITOR_OVERVIEW_RULER); // removed -> true
3894
store.setToDefault(AbstractDecoratedTextEditorPreferenceConstants.EDITOR_USE_CUSTOM_CARETS); // accessibility
3895

3896        store.setToDefault(PreferenceConstants.EDITOR_CURRENT_LINE); // global
3897
store.setToDefault(PreferenceConstants.EDITOR_CURRENT_LINE_COLOR); // global
3898

3899        store.setToDefault(PreferenceConstants.EDITOR_PRINT_MARGIN); // global
3900
store.setToDefault(PreferenceConstants.EDITOR_PRINT_MARGIN_COLUMN); // global
3901
store.setToDefault(PreferenceConstants.EDITOR_PRINT_MARGIN_COLOR); // global
3902

3903        store.setToDefault(PreferenceConstants.EDITOR_FOREGROUND_COLOR); // global
3904
store.setToDefault(PreferenceConstants.EDITOR_FOREGROUND_DEFAULT_COLOR); // global
3905
store.setToDefault(PreferenceConstants.EDITOR_BACKGROUND_COLOR); // global
3906
store.setToDefault(PreferenceConstants.EDITOR_BACKGROUND_DEFAULT_COLOR); // global
3907
store.setToDefault(PreferenceConstants.EDITOR_FIND_SCOPE_COLOR); // global
3908
store.setToDefault(AbstractDecoratedTextEditorPreferenceConstants.EDITOR_SELECTION_FOREGROUND_DEFAULT_COLOR); // global
3909
store.setToDefault(AbstractDecoratedTextEditorPreferenceConstants.EDITOR_SELECTION_BACKGROUND_DEFAULT_COLOR); // global
3910

3911        store.setToDefault(PreferenceConstants.EDITOR_DISABLE_OVERWRITE_MODE); // global
3912

3913        store.setToDefault(PreferenceConstants.EDITOR_SEMANTIC_HIGHLIGHTING_ENABLED); // removed
3914

3915        store.setToDefault(PreferenceConstants.EDITOR_SHOW_TEXT_HOVER_AFFORDANCE); // global
3916

3917        
3918        //Code Clean Up
3919
CleanUpConstants.initDefaults(store);
3920    }
3921
3922    /**
3923     * Returns the JDT-UI preference store.
3924     *
3925     * @return the JDT-UI preference store
3926     */

3927    public static IPreferenceStore getPreferenceStore() {
3928        return JavaPlugin.getDefault().getPreferenceStore();
3929    }
3930    
3931    /**
3932     * Encodes a JRE library to be used in the named preference <code>NEWPROJECT_JRELIBRARY_LIST</code>.
3933     *
3934     * @param description a string value describing the JRE library. The description is used
3935     * to identify the JDR library in the UI
3936     * @param entries an array of classpath entries to be encoded
3937     *
3938     * @return the encoded string.
3939    */

3940    public static String JavaDoc encodeJRELibrary(String JavaDoc description, IClasspathEntry[] entries) {
3941        return NewJavaProjectPreferencePage.encodeJRELibrary(description, entries);
3942    }
3943    
3944    /**
3945     * Decodes an encoded JRE library and returns its description string.
3946     * @param encodedLibrary the encoded library
3947     * @return the description of an encoded JRE library
3948     *
3949     * @see #encodeJRELibrary(String, IClasspathEntry[])
3950     */

3951    public static String JavaDoc decodeJRELibraryDescription(String JavaDoc encodedLibrary) {
3952        return NewJavaProjectPreferencePage.decodeJRELibraryDescription(encodedLibrary);
3953    }
3954    
3955    /**
3956     * Decodes an encoded JRE library and returns its class path entries.
3957     * @param encodedLibrary the encoded library
3958     * @return the array of classpath entries of an encoded JRE library.
3959     *
3960     * @see #encodeJRELibrary(String, IClasspathEntry[])
3961     */

3962    public static IClasspathEntry[] decodeJRELibraryClasspathEntries(String JavaDoc encodedLibrary) {
3963        return NewJavaProjectPreferencePage.decodeJRELibraryClasspathEntries(encodedLibrary);
3964    }
3965    
3966    /**
3967     * Returns the current configuration for the JRE to be used as default in new Java projects.
3968     * This is a convenience method to access the named preference <code>NEWPROJECT_JRELIBRARY_LIST
3969     * </code> with the index defined by <code> NEWPROJECT_JRELIBRARY_INDEX</code>.
3970     *
3971     * @return the current default set of class path entries
3972     *
3973     * @see #NEWPROJECT_JRELIBRARY_LIST
3974     * @see #NEWPROJECT_JRELIBRARY_INDEX
3975     */

3976    public static IClasspathEntry[] getDefaultJRELibrary() {
3977        return NewJavaProjectPreferencePage.getDefaultJRELibrary();
3978    }
3979
3980    /**
3981     * Returns the value for the given key in the given context.
3982     * @param key The preference key
3983     * @param project The current context or <code>null</code> if no context is available and the
3984     * workspace setting should be taken. Note that passing <code>null</code> should
3985     * be avoided.
3986     * @return Returns the current value for the string.
3987     * @since 3.1
3988     */

3989    public static String JavaDoc getPreference(String JavaDoc key, IJavaProject project) {
3990        String JavaDoc val;
3991        if (project != null) {
3992            val= new ProjectScope(project.getProject()).getNode(JavaUI.ID_PLUGIN).get(key, null);
3993            if (val != null) {
3994                return val;
3995            }
3996        }
3997        val= new InstanceScope().getNode(JavaUI.ID_PLUGIN).get(key, null);
3998        if (val != null) {
3999            return val;
4000        }
4001        return new DefaultScope().getNode(JavaUI.ID_PLUGIN).get(key, null);
4002    }
4003
4004    /**
4005     * Sets the default value and fires a property
4006     * change event if necessary.
4007     *
4008     * @param store the preference store
4009     * @param key the preference key
4010     * @param newValue the new value
4011     * @since 3.3
4012     */

4013    private static void setDefaultAndFireEvent(IPreferenceStore store, String JavaDoc key, RGB newValue) {
4014        RGB oldValue= null;
4015        if (store.isDefault(key))
4016            oldValue= PreferenceConverter.getDefaultColor(store, key);
4017        
4018        PreferenceConverter.setDefault(store, key, newValue);
4019        
4020        if (oldValue != null && !oldValue.equals(newValue))
4021            store.firePropertyChangeEvent(key, oldValue, newValue);
4022    }
4023
4024    /**
4025     * Returns the RGB for the given key in the given color registry.
4026     *
4027     * @param registry the color registry
4028     * @param key the key for the constant in the registry
4029     * @param defaultRGB the default RGB if no entry is found
4030     * @return RGB the RGB
4031     * @since 3.3
4032     */

4033    private static RGB findRGB(ColorRegistry registry, String JavaDoc key, RGB defaultRGB) {
4034        if (registry == null)
4035            return defaultRGB;
4036            
4037        RGB rgb= registry.getRGB(key);
4038        if (rgb != null)
4039            return rgb;
4040        
4041        return defaultRGB;
4042    }
4043
4044}
4045
4046
Popular Tags