KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > ui > internal > IWorkbenchConstants


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
12 package org.eclipse.ui.internal;
13
14 import org.eclipse.ui.PlatformUI;
15
16 /**
17  * General constants used by the workbench.
18  */

19 public interface IWorkbenchConstants {
20
21     /**
22      * @deprecated
23      */

24     public static final String JavaDoc ACCELERATOR_CONFIGURATION_ID = "acceleratorConfigurationId"; //$NON-NLS-1$
25

26     public static final String JavaDoc DEFAULT_PRESENTATION_ID = "org.eclipse.ui.presentations.default"; //$NON-NLS-1$
27

28     /**
29      * @deprecated
30      */

31     public static final String JavaDoc DEFAULT_ACCELERATOR_CONFIGURATION_ID = "org.eclipse.ui.defaultAcceleratorConfiguration"; //$NON-NLS-1$
32

33     /**
34      * @deprecated
35      */

36     public static final String JavaDoc DEFAULT_ACCELERATOR_SCOPE_ID = "org.eclipse.ui.globalScope"; //$NON-NLS-1$
37

38     //mappings for type/extension to an editor - backward compatibility only.
39
public final static String JavaDoc EDITOR_FILE_NAME = "editors.xml"; //$NON-NLS-1$
40

41     public final static String JavaDoc RESOURCE_TYPE_FILE_NAME = "resourcetypes.xml"; //$NON-NLS-1$
42

43     // Filename containing the workbench's preferences
44
public static final String JavaDoc PREFERENCE_BUNDLE_FILE_NAME = "workbench.ini"; //$NON-NLS-1$
45

46     // Identifier for visible view parts.
47
public static final String JavaDoc WORKBENCH_VISIBLE_VIEW_ID = "Workbench.visibleViewID"; //$NON-NLS-1$
48

49     // Identifier of workbench info properties page
50
public static final String JavaDoc WORKBENCH_PROPERTIES_PAGE_INFO = PlatformUI.PLUGIN_ID
51             + ".propertypages.info.file"; //$NON-NLS-1$
52

53     // Various editor.
54
public static final String JavaDoc OLE_EDITOR_ID = PlatformUI.PLUGIN_ID
55             + ".OleEditor"; //$NON-NLS-1$
56

57     // Default view category.
58
public static final String JavaDoc DEFAULT_CATEGORY_ID = PlatformUI.PLUGIN_ID;
59
60     // Persistance tags.
61
public static final String JavaDoc TRUE = "true"; //$NON-NLS-1$
62

63     public static final String JavaDoc FALSE = "false"; //$NON-NLS-1$
64

65     public static final String JavaDoc TAG_WORKBENCH_ADVISOR = "workbenchAdvisor"; //$NON-NLS-1$
66

67     public static final String JavaDoc TAG_WORKBENCH_WINDOW_ADVISOR = "workbenchWindowAdvisor"; //$NON-NLS-1$
68

69     public static final String JavaDoc TAG_ACTION_BAR_ADVISOR = "actionBarAdvisor"; //$NON-NLS-1$
70

71     public static final String JavaDoc TAG_ID = "id"; //$NON-NLS-1$
72

73     public static final String JavaDoc TAG_FOCUS = "focus"; //$NON-NLS-1$
74

75     public static final String JavaDoc TAG_EDITOR = "editor"; //$NON-NLS-1$
76

77     public static final String JavaDoc TAG_DEFAULT_EDITOR = "defaultEditor"; //$NON-NLS-1$
78

79     public static final String JavaDoc TAG_DELETED_EDITOR = "deletedEditor"; //$NON-NLS-1$
80

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

83     public static final String JavaDoc TAG_WORKBOOK = "workbook"; //$NON-NLS-1$
84

85     public static final String JavaDoc TAG_ACTIVE_WORKBOOK = "activeWorkbook"; //$NON-NLS-1$
86

87     public static final String JavaDoc TAG_AREA = "editorArea"; //$NON-NLS-1$
88

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

91     public static final String JavaDoc TAG_AREA_HIDDEN = "editorAreaHidden"; //$NON-NLS-1$
92

93     public static final String JavaDoc TAG_AREA_TRIM_STATE = "editorAreaTrimState"; //$NON-NLS-1$
94

95     public static final String JavaDoc TAG_INPUT = "input"; //$NON-NLS-1$
96

97     public static final String JavaDoc TAG_FACTORY_ID = "factoryID"; //$NON-NLS-1$
98

99     public static final String JavaDoc TAG_EDITOR_STATE = "editorState"; //$NON-NLS-1$
100

101     public static final String JavaDoc TAG_TITLE = "title"; //$NON-NLS-1$
102

103     public static final String JavaDoc TAG_X = "x"; //$NON-NLS-1$
104

105     public static final String JavaDoc TAG_Y = "y"; //$NON-NLS-1$
106

107     public static final String JavaDoc TAG_FLOAT = "float"; //$NON-NLS-1$
108

109     public static final String JavaDoc TAG_ITEM_WRAP_INDEX = "wrapIndex"; //$NON-NLS-1$
110

111     public static final String JavaDoc TAG_TOOLBAR_LAYOUT = "toolbarLayout"; //$NON-NLS-1$
112

113     public static final String JavaDoc TAG_WIDTH = "width"; //$NON-NLS-1$
114

115     public static final String JavaDoc TAG_HEIGHT = "height"; //$NON-NLS-1$
116

117     public static final String JavaDoc TAG_MINIMIZED = "minimized"; //$NON-NLS-1$
118

119     public static final String JavaDoc TAG_MAXIMIZED = "maximized"; //$NON-NLS-1$
120

121     public static final String JavaDoc TAG_FOLDER = "folder"; //$NON-NLS-1$
122

123     public static final String JavaDoc TAG_INFO = "info"; //$NON-NLS-1$
124

125     public static final String JavaDoc TAG_PART = "part"; //$NON-NLS-1$
126

127     public static final String JavaDoc TAG_PART_NAME = "partName"; //$NON-NLS-1$
128

129     public static final String JavaDoc TAG_PROPERTIES = "properties"; //$NON-NLS-1$
130

131     public static final String JavaDoc TAG_PROPERTY = "property"; //$NON-NLS-1$
132

133     public static final String JavaDoc TAG_RELATIVE = "relative"; //$NON-NLS-1$
134

135     public static final String JavaDoc TAG_RELATIONSHIP = "relationship"; //$NON-NLS-1$
136

137     public static final String JavaDoc TAG_RATIO = "ratio"; //$NON-NLS-1$
138

139     public static final String JavaDoc TAG_RATIO_LEFT = "ratioLeft"; //$NON-NLS-1$
140

141     public static final String JavaDoc TAG_RATIO_RIGHT = "ratioRight"; //$NON-NLS-1$
142

143     public static final String JavaDoc TAG_ACTIVE_PAGE_ID = "activePageID"; //$NON-NLS-1$
144

145     public static final String JavaDoc TAG_EXPANDED = "expanded"; //$NON-NLS-1$
146

147     public static final String JavaDoc TAG_PAGE = "page"; //$NON-NLS-1$
148

149     public static final String JavaDoc TAG_INTRO = "intro"; //$NON-NLS-1$
150

151     public static final String JavaDoc TAG_STANDBY = "standby"; //$NON-NLS-1$
152

153     public static final String JavaDoc TAG_LABEL = "label"; //$NON-NLS-1$
154

155     public static final String JavaDoc TAG_CONTENT = "content"; //$NON-NLS-1$
156

157     public static final String JavaDoc TAG_CLASS = "class"; //$NON-NLS-1$
158

159     public static final String JavaDoc TAG_FILE = "file"; //$NON-NLS-1$
160

161     public static final String JavaDoc TAG_DESCRIPTOR = "descriptor"; //$NON-NLS-1$
162

163     public static final String JavaDoc TAG_MAIN_WINDOW = "mainWindow"; //$NON-NLS-1$
164

165     public static final String JavaDoc TAG_DETACHED_WINDOW = "detachedWindow"; //$NON-NLS-1$
166

167     public static final String JavaDoc TAG_HIDDEN_WINDOW = "hiddenWindow"; //$NON-NLS-1$
168

169     public static final String JavaDoc TAG_WORKBENCH = "workbench"; //$NON-NLS-1$
170

171     public static final String JavaDoc TAG_WINDOW = "window"; //$NON-NLS-1$
172

173     public static final String JavaDoc TAG_VERSION = "version"; //$NON-NLS-1$
174

175     public static final String JavaDoc TAG_PROGRESS_COUNT = "progressCount"; //$NON-NLS-1$
176

177     public static final String JavaDoc TAG_PERSPECTIVES = "perspectives"; //$NON-NLS-1$
178

179     public static final String JavaDoc TAG_PERSPECTIVE = "perspective"; //$NON-NLS-1$
180

181     public static final String JavaDoc TAG_ACTIVE_PERSPECTIVE = "activePerspective"; //$NON-NLS-1$
182

183     public static final String JavaDoc TAG_ACTIVE_PART = "activePart"; //$NON-NLS-1$
184

185     public static final String JavaDoc TAG_ACTION_SET = "actionSet"; //$NON-NLS-1$
186

187     public static final String JavaDoc TAG_ALWAYS_ON_ACTION_SET = "alwaysOnActionSet"; //$NON-NLS-1$
188

189     public static final String JavaDoc TAG_ALWAYS_OFF_ACTION_SET = "alwaysOffActionSet"; //$NON-NLS-1$
190

191     public static final String JavaDoc TAG_SHOW_VIEW_ACTION = "show_view_action"; //$NON-NLS-1$
192

193     public static final String JavaDoc TAG_SHOW_IN_TIME = "show_in_time"; //$NON-NLS-1$
194

195     public static final String JavaDoc TAG_TIME = "time"; //$NON-NLS-1$
196

197     public static final String JavaDoc TAG_NEW_WIZARD_ACTION = "new_wizard_action"; //$NON-NLS-1$
198

199     public static final String JavaDoc TAG_PERSPECTIVE_ACTION = "perspective_action"; //$NON-NLS-1$
200

201     public static final String JavaDoc TAG_VIEW = "view"; //$NON-NLS-1$
202

203     public static final String JavaDoc TAG_LAYOUT = "layout"; //$NON-NLS-1$
204

205     public static final String JavaDoc TAG_EXTENSION = "extension"; //$NON-NLS-1$
206

207     public static final String JavaDoc TAG_NAME = "name"; //$NON-NLS-1$
208

209     public static final String JavaDoc TAG_IMAGE = "image"; //$NON-NLS-1$
210

211     public static final String JavaDoc TAG_LAUNCHER = "launcher"; //$NON-NLS-1$
212

213     public static final String JavaDoc TAG_PLUGIN = "plugin"; //$NON-NLS-1$
214

215     /** deprecated - use TAG_OPEN_MODE */
216     public static final String JavaDoc TAG_INTERNAL = "internal"; //$NON-NLS-1$
217

218     /** deprecated - use TAG_OPEN_MODE */
219     public static final String JavaDoc TAG_OPEN_IN_PLACE = "open_in_place"; //$NON-NLS-1$
220

221     public static final String JavaDoc TAG_PROGRAM_NAME = "program_name"; //$NON-NLS-1$
222

223     public static final String JavaDoc TAG_FAST_VIEWS = "fastViews"; //$NON-NLS-1$
224

225     public static final String JavaDoc TAG_FAST_VIEW_BAR = "fastViewBar"; //$NON-NLS-1$
226

227     public static final String JavaDoc TAG_FAST_VIEW_BARS = "fastViewBars"; //$NON-NLS-1$
228

229     public static final String JavaDoc TAG_GLOBAL_FAST_VIEWS = "globalFastViews"; //$NON-NLS-1$
230

231     public static final String JavaDoc TAG_FAST_GROUPS = "fastGroups"; //$NON-NLS-1$
232

233     public static final String JavaDoc TAG_FIXED = "fixed";//$NON-NLS-1$
234

235     public static final String JavaDoc TAG_CLOSEABLE = "closeable";//$NON-NLS-1$
236

237     public static final String JavaDoc TAG_MOVEABLE = "moveable";//$NON-NLS-1$
238

239     public static final String JavaDoc TAG_APPEARANCE = "appearance"; //$NON-NLS-1$
240

241     public static final String JavaDoc TAG_PRESENTATION = "presentation"; //$NON-NLS-1$
242

243     public static final String JavaDoc TAG_STANDALONE = "standalone";//$NON-NLS-1$
244

245     public static final String JavaDoc TAG_SHOW_TITLE = "showTitle";//$NON-NLS-1$
246

247     public static final String JavaDoc TAG_VIEW_STATE = "viewState"; //$NON-NLS-1$
248

249     public static final String JavaDoc TAG_SINGLETON = "singleton"; //$NON-NLS-1$
250

251     public static final String JavaDoc TAG_EDITOR_REUSE_THRESHOLD = "editorReuseThreshold"; //$NON-NLS-1$
252

253     public static final String JavaDoc TAG_PERSISTABLE = "persistable"; //$NON-NLS-1$
254

255     public static final String JavaDoc TAG_MRU_LIST = "mruList"; //$NON-NLS-1$
256

257     public static final String JavaDoc TAG_PERSPECTIVE_HISTORY = "perspHistory"; //$NON-NLS-1$
258

259     public static final String JavaDoc TAG_WORKING_SET_MANAGER = "workingSetManager"; //$NON-NLS-1$
260

261     public static final String JavaDoc TAG_WORKING_SETS = "workingSets"; //$NON-NLS-1$
262

263     public static final String JavaDoc TAG_WORKING_SET = "workingSet"; //$NON-NLS-1$
264

265     public static final String JavaDoc TAG_ITEM = "item"; //$NON-NLS-1$
266

267     public static final String JavaDoc TAG_EDIT_PAGE_ID = "editPageId"; //$NON-NLS-1$
268

269     public static final String JavaDoc TAG_COOLBAR_LAYOUT = "coolbarLayout"; //$NON-NLS-1$
270

271     public static final String JavaDoc TAG_ITEM_SIZE = "itemSize"; //$NON-NLS-1$
272

273     public static final String JavaDoc TAG_ITEM_X = "x"; //$NON-NLS-1$
274

275     public static final String JavaDoc TAG_ITEM_Y = "y"; //$NON-NLS-1$
276

277     public static final String JavaDoc TAG_ITEM_TYPE = "itemType"; //$NON-NLS-1$
278

279     public static final String JavaDoc TAG_TYPE_SEPARATOR = "typeSeparator"; //$NON-NLS-1$
280

281     public static final String JavaDoc TAG_TYPE_GROUPMARKER = "typeGroupMarker"; //$NON-NLS-1$
282

283     public static final String JavaDoc TAG_TYPE_TOOLBARCONTRIBUTION = "typeToolBarContribution"; //$NON-NLS-1$
284

285     public static final String JavaDoc TAG_TYPE_PLACEHOLDER = "typePlaceholder"; //$NON-NLS-1$
286

287     public static final String JavaDoc TAG_COOLITEM = "coolItem"; //$NON-NLS-1$
288

289     public static final String JavaDoc TAG_INDEX = "index"; //$NON-NLS-1$
290

291     public static final String JavaDoc TAG_PINNED = "pinned"; //$NON-NLS-1$
292

293     public static final String JavaDoc TAG_PATH = "path";//$NON-NLS-1$
294

295     public static final String JavaDoc TAG_TOOLTIP = "tooltip";//$NON-NLS-1$
296

297     public static final String JavaDoc TAG_VIEWS = "views";//$NON-NLS-1$
298

299     public static final String JavaDoc TAG_POSITION = "position";//$NON-NLS-1$
300

301     public static final String JavaDoc TAG_NAVIGATION_HISTORY = "navigationHistory";//$NON-NLS-1$
302

303     public static final String JavaDoc TAG_STICKY_STATE = "stickyState"; //$NON-NLS-1$
304

305     public static final String JavaDoc TAG_ACTIVE = "active";//$NON-NLS-1$
306

307     public static final String JavaDoc TAG_REMOVED = "removed";//$NON-NLS-1$
308

309     public static final String JavaDoc TAG_HISTORY_LABEL = "historyLabel";//$NON-NLS-1$
310

311     public static final String JavaDoc TAG_LOCKED = "locked";//$NON-NLS-1$
312

313     public static final String JavaDoc TAG_OPEN_MODE = "openMode"; //$NON-NLS-1$
314

315     public static final String JavaDoc TAG_STARTUP = "startup"; //$NON-NLS-1$
316

317     public static final String JavaDoc TAG_FAST_VIEW_SIDE = "fastViewLocation"; //$NON-NLS-1$
318

319     public static final String JavaDoc TAG_FAST_VIEW_DATA = "fastViewData"; //$NON-NLS-1$
320

321     public static final String JavaDoc TAG_FAST_VIEW_ORIENTATION = "orientation"; //$NON-NLS-1$
322

323     public static final String JavaDoc TAG_FAST_VIEW_SEL_ID = "selectedTabId"; //$NON-NLS-1$
324

325     public static final String JavaDoc TAG_FAST_VIEW_STYLE = "style"; //$NON-NLS-1$
326

327     public static final String JavaDoc TAG_THEME = "theme";//$NON-NLS-1$
328

329     public static final String JavaDoc TAG_VIEW_LAYOUT_REC = "viewLayoutRec"; //$NON-NLS-1$
330

331     public static final String JavaDoc TAG_PERSPECTIVE_BAR = "perspectiveBar"; //$NON-NLS-1$
332

333     public static final String JavaDoc TAG_TRIM = "trimLayout"; //$NON-NLS-1$
334

335     public static final String JavaDoc TAG_TRIM_AREA = "trimArea"; //$NON-NLS-1$
336

337     public static final String JavaDoc TAG_TRIM_ITEM = "trimItem"; //$NON-NLS-1$
338

339     //Fonts
340
public static final String JavaDoc SMALL_FONT = "org.eclipse.ui.smallFont"; //$NON-NLS-1$
341

342     //Colors
343
public static final String JavaDoc COLOR_HIGHLIGHT = "org.eclipse.ui.highlight"; //$NON-NLS-1$
344

345 }
346
Popular Tags