001: /*******************************************************************************
002: * Copyright (c) 2000, 2007 IBM Corporation and others.
003: * All rights reserved. This program and the accompanying materials
004: * are made available under the terms of the Eclipse Public License v1.0
005: * which accompanies this distribution, and is available at
006: * http://www.eclipse.org/legal/epl-v10.html
007: *
008: * Contributors:
009: * IBM Corporation - initial API and implementation
010: *******************************************************************************/package org.eclipse.ui.internal;
011:
012: import org.eclipse.ui.PlatformUI;
013:
014: /**
015: * General constants used by the workbench.
016: */
017: public interface IWorkbenchConstants {
018:
019: /**
020: * @deprecated
021: */
022: public static final String ACCELERATOR_CONFIGURATION_ID = "acceleratorConfigurationId"; //$NON-NLS-1$
023:
024: public static final String DEFAULT_PRESENTATION_ID = "org.eclipse.ui.presentations.default"; //$NON-NLS-1$
025:
026: /**
027: * @deprecated
028: */
029: public static final String DEFAULT_ACCELERATOR_CONFIGURATION_ID = "org.eclipse.ui.defaultAcceleratorConfiguration"; //$NON-NLS-1$
030:
031: /**
032: * @deprecated
033: */
034: public static final String DEFAULT_ACCELERATOR_SCOPE_ID = "org.eclipse.ui.globalScope"; //$NON-NLS-1$
035:
036: //mappings for type/extension to an editor - backward compatibility only.
037: public final static String EDITOR_FILE_NAME = "editors.xml"; //$NON-NLS-1$
038:
039: public final static String RESOURCE_TYPE_FILE_NAME = "resourcetypes.xml"; //$NON-NLS-1$
040:
041: // Filename containing the workbench's preferences
042: public static final String PREFERENCE_BUNDLE_FILE_NAME = "workbench.ini"; //$NON-NLS-1$
043:
044: // Identifier for visible view parts.
045: public static final String WORKBENCH_VISIBLE_VIEW_ID = "Workbench.visibleViewID"; //$NON-NLS-1$
046:
047: // Identifier of workbench info properties page
048: public static final String WORKBENCH_PROPERTIES_PAGE_INFO = PlatformUI.PLUGIN_ID
049: + ".propertypages.info.file"; //$NON-NLS-1$
050:
051: // Various editor.
052: public static final String OLE_EDITOR_ID = PlatformUI.PLUGIN_ID
053: + ".OleEditor"; //$NON-NLS-1$
054:
055: // Default view category.
056: public static final String DEFAULT_CATEGORY_ID = PlatformUI.PLUGIN_ID;
057:
058: // Persistance tags.
059: public static final String TRUE = "true"; //$NON-NLS-1$
060:
061: public static final String FALSE = "false"; //$NON-NLS-1$
062:
063: public static final String TAG_WORKBENCH_ADVISOR = "workbenchAdvisor"; //$NON-NLS-1$
064:
065: public static final String TAG_WORKBENCH_WINDOW_ADVISOR = "workbenchWindowAdvisor"; //$NON-NLS-1$
066:
067: public static final String TAG_ACTION_BAR_ADVISOR = "actionBarAdvisor"; //$NON-NLS-1$
068:
069: public static final String TAG_ID = "id"; //$NON-NLS-1$
070:
071: public static final String TAG_FOCUS = "focus"; //$NON-NLS-1$
072:
073: public static final String TAG_EDITOR = "editor"; //$NON-NLS-1$
074:
075: public static final String TAG_DEFAULT_EDITOR = "defaultEditor"; //$NON-NLS-1$
076:
077: public static final String TAG_DELETED_EDITOR = "deletedEditor"; //$NON-NLS-1$
078:
079: public static final String TAG_EDITORS = "editors"; //$NON-NLS-1$
080:
081: public static final String TAG_WORKBOOK = "workbook"; //$NON-NLS-1$
082:
083: public static final String TAG_ACTIVE_WORKBOOK = "activeWorkbook"; //$NON-NLS-1$
084:
085: public static final String TAG_AREA = "editorArea"; //$NON-NLS-1$
086:
087: public static final String TAG_AREA_VISIBLE = "editorAreaVisible"; //$NON-NLS-1$
088:
089: public static final String TAG_AREA_HIDDEN = "editorAreaHidden"; //$NON-NLS-1$
090:
091: public static final String TAG_AREA_TRIM_STATE = "editorAreaTrimState"; //$NON-NLS-1$
092:
093: public static final String TAG_INPUT = "input"; //$NON-NLS-1$
094:
095: public static final String TAG_FACTORY_ID = "factoryID"; //$NON-NLS-1$
096:
097: public static final String TAG_EDITOR_STATE = "editorState"; //$NON-NLS-1$
098:
099: public static final String TAG_TITLE = "title"; //$NON-NLS-1$
100:
101: public static final String TAG_X = "x"; //$NON-NLS-1$
102:
103: public static final String TAG_Y = "y"; //$NON-NLS-1$
104:
105: public static final String TAG_FLOAT = "float"; //$NON-NLS-1$
106:
107: public static final String TAG_ITEM_WRAP_INDEX = "wrapIndex"; //$NON-NLS-1$
108:
109: public static final String TAG_TOOLBAR_LAYOUT = "toolbarLayout"; //$NON-NLS-1$
110:
111: public static final String TAG_WIDTH = "width"; //$NON-NLS-1$
112:
113: public static final String TAG_HEIGHT = "height"; //$NON-NLS-1$
114:
115: public static final String TAG_MINIMIZED = "minimized"; //$NON-NLS-1$
116:
117: public static final String TAG_MAXIMIZED = "maximized"; //$NON-NLS-1$
118:
119: public static final String TAG_FOLDER = "folder"; //$NON-NLS-1$
120:
121: public static final String TAG_INFO = "info"; //$NON-NLS-1$
122:
123: public static final String TAG_PART = "part"; //$NON-NLS-1$
124:
125: public static final String TAG_PART_NAME = "partName"; //$NON-NLS-1$
126:
127: public static final String TAG_PROPERTIES = "properties"; //$NON-NLS-1$
128:
129: public static final String TAG_PROPERTY = "property"; //$NON-NLS-1$
130:
131: public static final String TAG_RELATIVE = "relative"; //$NON-NLS-1$
132:
133: public static final String TAG_RELATIONSHIP = "relationship"; //$NON-NLS-1$
134:
135: public static final String TAG_RATIO = "ratio"; //$NON-NLS-1$
136:
137: public static final String TAG_RATIO_LEFT = "ratioLeft"; //$NON-NLS-1$
138:
139: public static final String TAG_RATIO_RIGHT = "ratioRight"; //$NON-NLS-1$
140:
141: public static final String TAG_ACTIVE_PAGE_ID = "activePageID"; //$NON-NLS-1$
142:
143: public static final String TAG_EXPANDED = "expanded"; //$NON-NLS-1$
144:
145: public static final String TAG_PAGE = "page"; //$NON-NLS-1$
146:
147: public static final String TAG_INTRO = "intro"; //$NON-NLS-1$
148:
149: public static final String TAG_STANDBY = "standby"; //$NON-NLS-1$
150:
151: public static final String TAG_LABEL = "label"; //$NON-NLS-1$
152:
153: public static final String TAG_CONTENT = "content"; //$NON-NLS-1$
154:
155: public static final String TAG_CLASS = "class"; //$NON-NLS-1$
156:
157: public static final String TAG_FILE = "file"; //$NON-NLS-1$
158:
159: public static final String TAG_DESCRIPTOR = "descriptor"; //$NON-NLS-1$
160:
161: public static final String TAG_MAIN_WINDOW = "mainWindow"; //$NON-NLS-1$
162:
163: public static final String TAG_DETACHED_WINDOW = "detachedWindow"; //$NON-NLS-1$
164:
165: public static final String TAG_HIDDEN_WINDOW = "hiddenWindow"; //$NON-NLS-1$
166:
167: public static final String TAG_WORKBENCH = "workbench"; //$NON-NLS-1$
168:
169: public static final String TAG_WINDOW = "window"; //$NON-NLS-1$
170:
171: public static final String TAG_VERSION = "version"; //$NON-NLS-1$
172:
173: public static final String TAG_PROGRESS_COUNT = "progressCount"; //$NON-NLS-1$
174:
175: public static final String TAG_PERSPECTIVES = "perspectives"; //$NON-NLS-1$
176:
177: public static final String TAG_PERSPECTIVE = "perspective"; //$NON-NLS-1$
178:
179: public static final String TAG_ACTIVE_PERSPECTIVE = "activePerspective"; //$NON-NLS-1$
180:
181: public static final String TAG_ACTIVE_PART = "activePart"; //$NON-NLS-1$
182:
183: public static final String TAG_ACTION_SET = "actionSet"; //$NON-NLS-1$
184:
185: public static final String TAG_ALWAYS_ON_ACTION_SET = "alwaysOnActionSet"; //$NON-NLS-1$
186:
187: public static final String TAG_ALWAYS_OFF_ACTION_SET = "alwaysOffActionSet"; //$NON-NLS-1$
188:
189: public static final String TAG_SHOW_VIEW_ACTION = "show_view_action"; //$NON-NLS-1$
190:
191: public static final String TAG_SHOW_IN_TIME = "show_in_time"; //$NON-NLS-1$
192:
193: public static final String TAG_TIME = "time"; //$NON-NLS-1$
194:
195: public static final String TAG_NEW_WIZARD_ACTION = "new_wizard_action"; //$NON-NLS-1$
196:
197: public static final String TAG_PERSPECTIVE_ACTION = "perspective_action"; //$NON-NLS-1$
198:
199: public static final String TAG_VIEW = "view"; //$NON-NLS-1$
200:
201: public static final String TAG_LAYOUT = "layout"; //$NON-NLS-1$
202:
203: public static final String TAG_EXTENSION = "extension"; //$NON-NLS-1$
204:
205: public static final String TAG_NAME = "name"; //$NON-NLS-1$
206:
207: public static final String TAG_IMAGE = "image"; //$NON-NLS-1$
208:
209: public static final String TAG_LAUNCHER = "launcher"; //$NON-NLS-1$
210:
211: public static final String TAG_PLUGIN = "plugin"; //$NON-NLS-1$
212:
213: /** deprecated - use TAG_OPEN_MODE */
214: public static final String TAG_INTERNAL = "internal"; //$NON-NLS-1$
215:
216: /** deprecated - use TAG_OPEN_MODE */
217: public static final String TAG_OPEN_IN_PLACE = "open_in_place"; //$NON-NLS-1$
218:
219: public static final String TAG_PROGRAM_NAME = "program_name"; //$NON-NLS-1$
220:
221: public static final String TAG_FAST_VIEWS = "fastViews"; //$NON-NLS-1$
222:
223: public static final String TAG_FAST_VIEW_BAR = "fastViewBar"; //$NON-NLS-1$
224:
225: public static final String TAG_FAST_VIEW_BARS = "fastViewBars"; //$NON-NLS-1$
226:
227: public static final String TAG_GLOBAL_FAST_VIEWS = "globalFastViews"; //$NON-NLS-1$
228:
229: public static final String TAG_FAST_GROUPS = "fastGroups"; //$NON-NLS-1$
230:
231: public static final String TAG_FIXED = "fixed";//$NON-NLS-1$
232:
233: public static final String TAG_CLOSEABLE = "closeable";//$NON-NLS-1$
234:
235: public static final String TAG_MOVEABLE = "moveable";//$NON-NLS-1$
236:
237: public static final String TAG_APPEARANCE = "appearance"; //$NON-NLS-1$
238:
239: public static final String TAG_PRESENTATION = "presentation"; //$NON-NLS-1$
240:
241: public static final String TAG_STANDALONE = "standalone";//$NON-NLS-1$
242:
243: public static final String TAG_SHOW_TITLE = "showTitle";//$NON-NLS-1$
244:
245: public static final String TAG_VIEW_STATE = "viewState"; //$NON-NLS-1$
246:
247: public static final String TAG_SINGLETON = "singleton"; //$NON-NLS-1$
248:
249: public static final String TAG_EDITOR_REUSE_THRESHOLD = "editorReuseThreshold"; //$NON-NLS-1$
250:
251: public static final String TAG_PERSISTABLE = "persistable"; //$NON-NLS-1$
252:
253: public static final String TAG_MRU_LIST = "mruList"; //$NON-NLS-1$
254:
255: public static final String TAG_PERSPECTIVE_HISTORY = "perspHistory"; //$NON-NLS-1$
256:
257: public static final String TAG_WORKING_SET_MANAGER = "workingSetManager"; //$NON-NLS-1$
258:
259: public static final String TAG_WORKING_SETS = "workingSets"; //$NON-NLS-1$
260:
261: public static final String TAG_WORKING_SET = "workingSet"; //$NON-NLS-1$
262:
263: public static final String TAG_ITEM = "item"; //$NON-NLS-1$
264:
265: public static final String TAG_EDIT_PAGE_ID = "editPageId"; //$NON-NLS-1$
266:
267: public static final String TAG_COOLBAR_LAYOUT = "coolbarLayout"; //$NON-NLS-1$
268:
269: public static final String TAG_ITEM_SIZE = "itemSize"; //$NON-NLS-1$
270:
271: public static final String TAG_ITEM_X = "x"; //$NON-NLS-1$
272:
273: public static final String TAG_ITEM_Y = "y"; //$NON-NLS-1$
274:
275: public static final String TAG_ITEM_TYPE = "itemType"; //$NON-NLS-1$
276:
277: public static final String TAG_TYPE_SEPARATOR = "typeSeparator"; //$NON-NLS-1$
278:
279: public static final String TAG_TYPE_GROUPMARKER = "typeGroupMarker"; //$NON-NLS-1$
280:
281: public static final String TAG_TYPE_TOOLBARCONTRIBUTION = "typeToolBarContribution"; //$NON-NLS-1$
282:
283: public static final String TAG_TYPE_PLACEHOLDER = "typePlaceholder"; //$NON-NLS-1$
284:
285: public static final String TAG_COOLITEM = "coolItem"; //$NON-NLS-1$
286:
287: public static final String TAG_INDEX = "index"; //$NON-NLS-1$
288:
289: public static final String TAG_PINNED = "pinned"; //$NON-NLS-1$
290:
291: public static final String TAG_PATH = "path";//$NON-NLS-1$
292:
293: public static final String TAG_TOOLTIP = "tooltip";//$NON-NLS-1$
294:
295: public static final String TAG_VIEWS = "views";//$NON-NLS-1$
296:
297: public static final String TAG_POSITION = "position";//$NON-NLS-1$
298:
299: public static final String TAG_NAVIGATION_HISTORY = "navigationHistory";//$NON-NLS-1$
300:
301: public static final String TAG_STICKY_STATE = "stickyState"; //$NON-NLS-1$
302:
303: public static final String TAG_ACTIVE = "active";//$NON-NLS-1$
304:
305: public static final String TAG_REMOVED = "removed";//$NON-NLS-1$
306:
307: public static final String TAG_HISTORY_LABEL = "historyLabel";//$NON-NLS-1$
308:
309: public static final String TAG_LOCKED = "locked";//$NON-NLS-1$
310:
311: public static final String TAG_OPEN_MODE = "openMode"; //$NON-NLS-1$
312:
313: public static final String TAG_STARTUP = "startup"; //$NON-NLS-1$
314:
315: public static final String TAG_FAST_VIEW_SIDE = "fastViewLocation"; //$NON-NLS-1$
316:
317: public static final String TAG_FAST_VIEW_DATA = "fastViewData"; //$NON-NLS-1$
318:
319: public static final String TAG_FAST_VIEW_ORIENTATION = "orientation"; //$NON-NLS-1$
320:
321: public static final String TAG_FAST_VIEW_SEL_ID = "selectedTabId"; //$NON-NLS-1$
322:
323: public static final String TAG_FAST_VIEW_STYLE = "style"; //$NON-NLS-1$
324:
325: public static final String TAG_THEME = "theme";//$NON-NLS-1$
326:
327: public static final String TAG_VIEW_LAYOUT_REC = "viewLayoutRec"; //$NON-NLS-1$
328:
329: public static final String TAG_PERSPECTIVE_BAR = "perspectiveBar"; //$NON-NLS-1$
330:
331: public static final String TAG_TRIM = "trimLayout"; //$NON-NLS-1$
332:
333: public static final String TAG_TRIM_AREA = "trimArea"; //$NON-NLS-1$
334:
335: public static final String TAG_TRIM_ITEM = "trimItem"; //$NON-NLS-1$
336:
337: //Fonts
338: public static final String SMALL_FONT = "org.eclipse.ui.smallFont"; //$NON-NLS-1$
339:
340: //Colors
341: public static final String COLOR_HIGHLIGHT = "org.eclipse.ui.highlight"; //$NON-NLS-1$
342:
343: }
|