KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > jdt > internal > ui > text > spelling > engine > ISpellCheckPreferenceKeys


1 /*******************************************************************************
2  * Copyright (c) 2000, 2005 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
12 package org.eclipse.jdt.internal.ui.text.spelling.engine;
13
14 /**
15  * Preference keys for the comment spell-checker.
16  *
17  * @since 3.0
18  */

19 public interface ISpellCheckPreferenceKeys {
20
21     /**
22      * A named preference that controls whether words containing digits should
23      * be skipped during spell-checking.
24      * <p>
25      * Value is of type <code>Boolean</code>.
26      * </p>
27      */

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

30     /**
31      * A named preference that controls whether mixed case words should be
32      * skipped during spell-checking.
33      * <p>
34      * Value is of type <code>Boolean</code>.
35      * </p>
36      */

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

39     /**
40      * A named preference that controls whether sentence capitalization should
41      * be ignored during spell-checking.
42      * <p>
43      * Value is of type <code>Boolean</code>.
44      * </p>
45      */

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

48     /**
49      * A named preference that controls whether upper case words should be
50      * skipped during spell-checking.
51      * <p>
52      * Value is of type <code>Boolean</code>.
53      * </p>
54      */

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

57     /**
58      * A named preference that controls whether urls should be ignored during
59      * spell-checking.
60      * <p>
61      * Value is of type <code>Boolean</code>.
62      * </p>
63      */

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

66     /**
67      * A named preference that controls the locale used for spell-checking.
68      * <p>
69      * Value is of type <code>String</code>.
70      * </p>
71      */

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

74     /**
75      * A named preference that controls the number of proposals offered during
76      * spell-checking.
77      * <p>
78      * Value is of type <code>Integer</code>.
79      * </p>
80      */

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

83     /**
84      * A named preference that specifies the workspace user dictionary.
85      * <p>
86      * Value is of type <code>String</code>.
87      * </p>
88      */

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

91     /**
92      * A named preference that specifies whether spelling dictionaries are available to content assist.
93      * <p>
94      * Value is of type <code>Boolean</code>.
95      * </p>
96      */

97     public final static String JavaDoc SPELLING_ENABLE_CONTENTASSIST= "spelling_enable_contentassist"; //$NON-NLS-1$
98
}
99
Popular Tags