KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > jdt > internal > debug > ui > IJDIPreferencesConstants


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.internal.debug.ui;
12
13 import org.eclipse.jdt.debug.ui.IJavaDebugUIConstants;
14  
15 /**
16  * Defines constants which are used to refer to values in the plugin's preference store.
17  */

18 public interface IJDIPreferencesConstants {
19     
20     /**
21      * Boolean preference controlling whether to suspend
22      * execution when an uncaught Java exceptions encountered
23      * (while debugging).
24      */

25     public static final String JavaDoc PREF_SUSPEND_ON_UNCAUGHT_EXCEPTIONS= IJavaDebugUIConstants.PLUGIN_ID + ".javaDebug.SuspendOnUncaughtExceptions"; //$NON-NLS-1$
26

27     /**
28      * Boolean preference controlling whether to suspend
29      * execution when a compilation error is encountered
30      * (while debugging).
31      */

32     public static final String JavaDoc PREF_SUSPEND_ON_COMPILATION_ERRORS= IJavaDebugUIConstants.PLUGIN_ID + ".suspend_on_compilation_errors"; //$NON-NLS-1$
33

34     /**
35      * Boolean preference controlling whether synthetic
36      * methods are to be filtered when stepping (and step
37      * filters are enabled).
38      */

39     public static final String JavaDoc PREF_FILTER_SYNTHETICS = IJavaDebugUIConstants.PLUGIN_ID + ".filter_synthetics"; //$NON-NLS-1$
40

41     /**
42      * Boolean preference controlling whether static
43      * initializers are to be filtered when stepping (and step
44      * filters are enabled).
45      */

46     public static final String JavaDoc PREF_FILTER_STATIC_INITIALIZERS = IJavaDebugUIConstants.PLUGIN_ID + ".filter_statics"; //$NON-NLS-1$
47

48     /**
49      * Boolean preference controlling whether constructors
50      * are to be filtered when stepping (and step
51      * filters are enabled).
52      */

53     public static final String JavaDoc PREF_FILTER_CONSTRUCTORS = IJavaDebugUIConstants.PLUGIN_ID + ".filter_constructors"; //$NON-NLS-1$
54

55     /**
56      * Boolean preference controlling whether a step landing in a filtered
57      * location proceeds through to an un-filtered location, or returns.
58      *
59      * @since 3.3
60      */

61     public static final String JavaDoc PREF_STEP_THRU_FILTERS = IJavaDebugUIConstants.PLUGIN_ID + ".step_thru_filters"; //$NON-NLS-1$
62

63     /**
64      * List of active step filters. A String containing a comma
65      * separated list of fully qualified type names/patterns.
66      */

67     public static final String JavaDoc PREF_ACTIVE_FILTERS_LIST = IJavaDebugUIConstants.PLUGIN_ID + ".active_filters"; //$NON-NLS-1$
68

69     /**
70      * List of inactive step filters. A String containing a comma
71      * separated list of fully qualified type names/patterns.
72      */

73     public static final String JavaDoc PREF_INACTIVE_FILTERS_LIST = IJavaDebugUIConstants.PLUGIN_ID + ".inactive_filters"; //$NON-NLS-1$
74

75     /**
76      * Boolean preference controlling whether to alert
77      * with a dialog when hot code replace fails.
78      */

79     public static final String JavaDoc PREF_ALERT_HCR_FAILED = IJavaDebugUIConstants.PLUGIN_ID + ".javaDebug.alertHCRFailed"; //$NON-NLS-1$
80

81     /**
82      * Boolean preference controlling whether to alert
83      * with a dialog when hot code replace is not supported.
84      */

85     public static final String JavaDoc PREF_ALERT_HCR_NOT_SUPPORTED = IJavaDebugUIConstants.PLUGIN_ID + ".javaDebug.alertHCRNotSupported"; //$NON-NLS-1$
86

87     /**
88      * Boolean preference controlling whether to alert
89      * with a dialog when hot code replace results in
90      * obsolete methods.
91      */

92     public static final String JavaDoc PREF_ALERT_OBSOLETE_METHODS = IJavaDebugUIConstants.PLUGIN_ID + "javaDebug.alertObsoleteMethods"; //$NON-NLS-1$
93

94     /**
95      * Boolean preference controlling whether the debugger shows
96      * qualifed names. When <code>true</code> the debugger
97      * will show qualified names in newly opened views.
98      *
99      * @since 2.0
100      */

101     public static final String JavaDoc PREF_SHOW_QUALIFIED_NAMES= IJavaDebugUIConstants.PLUGIN_ID + ".show_qualified_names"; //$NON-NLS-1$
102

103     /**
104      * List of defined detail formatters.A String containing a comma
105      * separated list of fully qualified type names, the associated
106      * code snippet and an 'enabled' flag.
107      */

108     public static final String JavaDoc PREF_DETAIL_FORMATTERS_LIST= IJavaDebugUIConstants.PLUGIN_ID + ".detail_formatters"; //$NON-NLS-1$
109

110     /**
111      * Boolean preference indicating whether (non-final) static varibles should be shown
112      * in variable views. A view may over-ride this preference, and if so, stores
113      * its preference, prefixed by view id.
114      *
115      * @since 2.1
116      */

117     public static final String JavaDoc PREF_SHOW_STATIC_VARIALBES= IJavaDebugUIConstants.PLUGIN_ID + ".show_static_variables"; //$NON-NLS-1$
118

119     /**
120      * Boolean preference indicating whether constant (final static) varibles should be shown
121      * in variable views. A view may over-ride this preference, and if so, stores
122      * its preference, prefixed by view id.
123      *
124      * @since 2.1
125      */

126     public static final String JavaDoc PREF_SHOW_CONSTANTS= IJavaDebugUIConstants.PLUGIN_ID + ".show_constants"; //$NON-NLS-1$
127

128     /**
129      * Boolean preference indicating whether null array entries should be shown
130      * in variable views. A view may over-ride this preference, and if so, stores
131      * its preference, prefixed by view id.
132      *
133      * @since 3.0
134      */

135     public static final String JavaDoc PREF_SHOW_NULL_ARRAY_ENTRIES = IJavaDebugUIConstants.PLUGIN_ID + ".show_null_entries"; //$NON-NLS-1$
136

137     /**
138      * Boolean preference indicating whether hex values should be shown for primitives
139      * in variable views. A view may over-ride this preference, and if so, stores
140      * its preference, prefixed by view id.
141      *
142      * @since 2.1
143      */

144     public static final String JavaDoc PREF_SHOW_HEX = IJavaDebugUIConstants.PLUGIN_ID + ".show_hex"; //$NON-NLS-1$
145

146     /**
147      * Boolean preference indicating whether char values should be shown for primitives
148      * in variable views. A view may over-ride this preference, and if so, stores
149      * its preference, prefixed by view id.
150      *
151      * @since 2.1
152      */

153     public static final String JavaDoc PREF_SHOW_CHAR = IJavaDebugUIConstants.PLUGIN_ID + ".show_char"; //$NON-NLS-1$
154

155     /**
156      * Boolean preference indicating whether unsigned values should be shown for primitives
157      * in variable views. A view may over-ride this preference, and if so, stores
158      * its preference, prefixed by view id.
159      *
160      * @since 2.1
161      */

162     public static final String JavaDoc PREF_SHOW_UNSIGNED = IJavaDebugUIConstants.PLUGIN_ID + ".show_unsigned"; //$NON-NLS-1$
163

164     /**
165      * String preference indication when and where variable details should appear.
166      * Valid values include:
167      * <ul>
168      * <li><code>INLINE_ALL</code> to show inline details for all variables
169      * <li><code>INLINE_FORMATTERS</code> to show inline details for variables with formatters
170      * <li><code>DETAIL_PANE</code> to show details only in the detail pane
171      * </ul>
172      */

173     public static final String JavaDoc PREF_SHOW_DETAILS = IJavaDebugUIConstants.PLUGIN_ID + ".show_details"; //$NON-NLS-1$
174
/**
175      * "Show detail" preference values.
176      */

177     public static final String JavaDoc INLINE_ALL="INLINE_ALL"; //$NON-NLS-1$
178
public static final String JavaDoc INLINE_FORMATTERS="INLINE_FORMATTERS"; //$NON-NLS-1$
179
public static final String JavaDoc DETAIL_PANE="DETAIL_PANE"; //$NON-NLS-1$
180

181     /**
182      * Common dialog settings
183      */

184     public static final String JavaDoc DIALOG_ORIGIN_X = "DIALOG_ORIGIN_X"; //$NON-NLS-1$
185
public static final String JavaDoc DIALOG_ORIGIN_Y = "DIALOG_ORIGIN_Y"; //$NON-NLS-1$
186
public static final String JavaDoc DIALOG_WIDTH = "DIALOG_WIDTH"; //$NON-NLS-1$
187
public static final String JavaDoc DIALOG_HEIGHT = "DIALOG_HEIGHT"; //$NON-NLS-1$
188

189
190     /**
191      * Boolean preference controlling whether to alert
192      * with a dialog when unable to install a breakpoint
193      * (line info not available, ...)
194      */

195     public static final String JavaDoc PREF_ALERT_UNABLE_TO_INSTALL_BREAKPOINT = IJavaDebugUIConstants.PLUGIN_ID + ".prompt_unable_to_install_breakpoint"; //$NON-NLS-1$
196

197     public static final String JavaDoc PREF_THREAD_MONITOR_IN_DEADLOCK_COLOR= "org.eclipse.jdt.debug.ui.InDeadlockColor"; //$NON-NLS-1$
198

199     /**
200      * @since 3.2
201      */

202     public static final String JavaDoc PREF_OPEN_INSPECT_POPUP_ON_EXCEPTION = IJavaDebugUIConstants.PLUGIN_ID + ".open_inspect_popup_on_exception"; //$NON-NLS-1$
203

204     /**
205      * Boolean preference controlling whether the java stack trace
206      * console should be formatted when ever a paste occurs.
207      * @since 3.3
208      */

209     public static final String JavaDoc PREF_AUTO_FORMAT_JSTCONSOLE = IJavaDebugUIConstants.PLUGIN_ID + ".auto_format_jstconsole"; //$NON-NLS-1$;
210
}
211
Popular Tags