KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > netbeans > editor > ext > ExtSettingsNames


1 /*
2  * The contents of this file are subject to the terms of the Common Development
3  * and Distribution License (the License). You may not use this file except in
4  * compliance with the License.
5  *
6  * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
7  * or http://www.netbeans.org/cddl.txt.
8  *
9  * When distributing Covered Code, include this CDDL Header Notice in each file
10  * and include the License file at http://www.netbeans.org/cddl.txt.
11  * If applicable, add the following below the CDDL Header, with the fields
12  * enclosed by brackets [] replaced by your own identifying information:
13  * "Portions Copyrighted [year] [name of copyright owner]"
14  *
15  * The Original Software is NetBeans. The Initial Developer of the Original
16  * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
17  * Microsystems, Inc. All Rights Reserved.
18  */

19
20 package org.netbeans.editor.ext;
21
22 import org.netbeans.editor.SettingsNames;
23
24 /**
25 * Names of the extended editor settings.
26 *
27 * @author Miloslav Metelka
28 * @version 1.00
29 */

30
31 public class ExtSettingsNames extends SettingsNames {
32
33     /** List of the action names that should be shown in the popup menu.
34     * Null name means separator.
35     * Values: java.util.List containing java.lang.String instances
36     */

37     public static final String JavaDoc POPUP_MENU_ACTION_NAME_LIST = "popup-menu-action-name-list"; // NOI18N
38

39     /** List of the action names that should be shown in the popup menu
40      * when JEditorPane is shown in the dialogs. It corresponds
41      * Null name means separator.
42      * Values: java.util.List containing java.lang.String instances
43      */

44     public static final String JavaDoc DIALOG_POPUP_MENU_ACTION_NAME_LIST
45     = "dialog-popup-menu-action-name-list"; // NOI18N
46

47     /** Whether popup menu will be displayed on mouse right-click or not.
48      * It's set to true by default.
49      * Values: java.lang.Boolean
50      */

51     public static final String JavaDoc POPUP_MENU_ENABLED = "popup-menu-enabled"; // NOI18N
52

53     /** Highlight the row where the caret currently is. The ExtCaret must be used.
54     * Values: java.lang.Boolean
55     */

56     public static final String JavaDoc HIGHLIGHT_CARET_ROW = "highlight-caret-row"; // NOI18N
57

58     /** Highlight the matching brace (if the caret currently stands after the brace).
59     * The ExtCaret must be used.
60     * Values: java.lang.Boolean
61     */

62     public static final String JavaDoc HIGHLIGHT_MATCH_BRACE = "highlight-match-brace"; // NOI18N
63

64     /** Coloring used to highlight the row where the caret resides */
65     public static final String JavaDoc HIGHLIGHT_CARET_ROW_COLORING = "highlight-caret-row"; // NOI18N
66

67     /** Coloring used to highlight the matching brace */
68     public static final String JavaDoc HIGHLIGHT_MATCH_BRACE_COLORING = "highlight-match-brace"; // NOI18N
69

70     /** Delay (milliseconds) after which the matching brace
71     * will be updated. This is intended to eliminate flicker
72     * if the user holds the arrow key pressed.
73     */

74     public static final String JavaDoc HIGHLIGHT_MATCH_BRACE_DELAY = "highlight-match-brace-delay"; // NOI18N
75

76     /** Whether the fast and simple matching should be used for higlighting
77     * the matching brace. Its disadvantage is that it doesn't ignore the comments
78     * and string and character constants in the search.
79     */

80     public static final String JavaDoc CARET_SIMPLE_MATCH_BRACE = "caret-simple-match-brace"; // NOI18N
81

82     /** Whether the code completion window should popup automatically.
83     * Values: java.lang.Boolean
84     */

85     public static final String JavaDoc COMPLETION_AUTO_POPUP = "completion-auto-popup"; // NOI18N
86

87     /** Whether the code completion query search will be case sensitive
88     * Values: java.lang.Boolean
89     */

90     public static final String JavaDoc COMPLETION_CASE_SENSITIVE = "completion-case-sensitive"; // NOI18N
91

92     /** Whether the code completion sorting will be natural
93     * Values: java.lang.Boolean
94     */

95     public static final String JavaDoc COMPLETION_NATURAL_SORT = "completion-natural-sort"; // NOI18N
96

97     /** Whether perform instant substitution, if the search result contains only one item
98     * Values: java.lang.Boolean
99     */

100     public static final String JavaDoc COMPLETION_INSTANT_SUBSTITUTION = "completion-instant-substitution"; // NOI18N
101

102     /** The delay after which the completion window is shown automatically.
103     * Values: java.lang.Integer
104     */

105     public static final String JavaDoc COMPLETION_AUTO_POPUP_DELAY = "completion-auto-popup-delay"; // NOI18N
106

107     /** The delay after which the completion window is refreshed.
108     * Values: java.lang.Integer
109     */

110     public static final String JavaDoc COMPLETION_REFRESH_DELAY = "completion-refresh-delay"; // NOI18N
111

112     /** The minimum size of the completion pane component.
113     * Values: java.awt.Dimension
114     */

115     public static final String JavaDoc COMPLETION_PANE_MIN_SIZE = "completion-pane-min-size"; // NOI18N
116

117     /** The maximum size of the completion pane component.
118     * Values: java.awt.Dimension
119     */

120     public static final String JavaDoc COMPLETION_PANE_MAX_SIZE = "completion-pane-max-size"; // NOI18N
121

122     /** Acceptor sensitive to characters that cause that
123      * that the current line will be reformatted immediately.
124      */

125     public static final String JavaDoc INDENT_HOT_CHARS_ACCEPTOR = "indent-hot-chars-acceptor"; // NOI18N
126

127     /** Whether lines should be indented on an indent hot key if there is non whitespace before
128      * the typed hot key. See editor issue #10771.
129      * Values: java.lang.Boolean
130      */

131     public static final String JavaDoc REINDENT_WITH_TEXT_BEFORE = "reindent-with-text-before"; // NOI18N
132

133     /** Whether the fast import should offer packages instead of classes
134      * Values: java.lang.Integer
135      */

136     public static final String JavaDoc FAST_IMPORT_SELECTION = "fast-import-selection"; // NOI18N
137

138     /** Whether the fast import should offer packages instead of classes
139      * Values: java.lang.Boolean
140      * @deprecated replaced by FAST_IMPORT_SELECTION
141      */

142     public static final String JavaDoc FAST_IMPORT_PACKAGE = "fast-import-package"; // NOI18N
143

144     /** Background color of javaDoc popup window
145      * Values: java.awt.Color
146      */

147     public static final String JavaDoc JAVADOC_BG_COLOR = "javadoc-bg-color"; //NOI18N
148

149     /** The delay after which the javaDoc window is shown automatically.
150     * Values: java.lang.Integer
151     */

152     public static final String JavaDoc JAVADOC_AUTO_POPUP_DELAY = "javadoc-auto-popup-delay"; //NOI18N
153

154     /** The preferred size of javaDoc popup window
155     * Values: java.awt.Dimension
156     */

157     public static final String JavaDoc JAVADOC_PREFERRED_SIZE = "javadoc-preferred-size"; //NOI18N
158

159     /** Whether the javaDoc window should popup automatically.
160     * Values: java.lang.Boolean
161     */

162     public static final String JavaDoc JAVADOC_AUTO_POPUP = "javadoc-auto-popup"; // NOI18N
163

164     /** Whether show deprecated members in code completion popup window
165     * Values: java.lang.Boolean
166     */

167     public static final String JavaDoc SHOW_DEPRECATED_MEMBERS = "show-deprecated-members"; // NOI18N
168

169     /** Two levels of performing auto update of Code Completion DB
170      * ALWAYS - PD is updated automatically after mounting a new filesystem
171      * NEVER - PD is never updated after mounting a new filesystem
172      */

173     public static final String JavaDoc ALWAYS = "pd_always";//NOI18N
174
public static final String JavaDoc NEVER = "pd_never";//NOI18N
175

176 }
177
Popular Tags