KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > ui > IWorkbenchActionConstants


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 package org.eclipse.ui;
12
13 /**
14  * Action ids for standard actions, groups in the workbench menu bar, and
15  * global actions.
16  * <p>
17  * This interface contains constants only; it is not intended to be implemented
18  * or extended.
19  * </p>
20  * <h3>Standard menus</h3>
21  * <ul>
22  * <li>File menu (<code>M_FILE</code>)</li>
23  * <li>Edit menu (<code>M_EDIT</code>)</li>
24  * <li>Window menu (<code>M_WINDOW</code>)</li>
25  * <li>Help menu (<code>M_HELP</code>)</li>
26  * </ul>
27  * <h3>Standard group for adding top level menus</h3>
28  * <ul>
29  * <li>Extra top level menu group (<code>MB_ADDITIONS</code>)</li>
30  * </ul>
31  * <h3>Global actions</h3>
32  * <ul>
33  * <li>Undo (<code>UNDO</code>)</li>
34  * <li>Redo (<code>REDO</code>)</li>
35  * <li>Cut (<code>CUT</code>)</li>
36  * <li>Copy (<code>COPY</code>)</li>
37  * <li>Paste (<code>PASTE</code>)</li>
38  * <li>Delete (<code>DELETE</code>)</li>
39  * <li>Find (<code>FIND</code>)</li>
40  * <li>Select All (<code>SELECT_ALL</code>)</li>
41  * <li>Add Bookmark (<code>BOOKMARK</code>)</li>
42  * </ul>
43  * <h3>Standard File menu actions</h3>
44  * <ul>
45  * <li>Start group (<code>FILE_START</code>)</li>
46  * <li>End group (<code>FILE_END</code>)</li>
47  * <li>New action (<code>NEW</code>)</li>
48  * <li>Extra New-like action group (<code>NEW_EXT</code>)</li>
49  * <li>Close action (<code>CLOSE</code>)</li>
50  * <li>Close All action (<code>CLOSE_ALL</code>)</li>
51  * <li>Extra Close-like action group (<code>CLOSE_EXT</code>)</li>
52  * <li>Save action (<code>SAVE</code>)</li>
53  * <li>Save As action (<code>SAVE_AS</code>)</li>
54  * <li>Save All action (<code>SAVE_ALL</code>)</li>
55  * <li>Extra Save-like action group (<code>SAVE_EXT</code>)</li>
56  * <li>Import action (<code>IMPORT</code>)</li>
57  * <li>Export action (<code>EXPORT</code>)</li>
58  * <li>Extra Import-like action group (<code>IMPORT_EXT</code>)</li>
59  * <li>Quit action (<code>QUIT</code>)</li>
60  * </ul>
61  * <h3>Standard Edit menu actions</h3>
62  * <ul>
63  * <li>Start group (<code>EDIT_START</code>)</li>
64  * <li>End group (<code>EDIT_END</code>)</li>
65  * <li>Undo global action (<code>UNDO</code>)</li>
66  * <li>Redo global action (<code>REDO</code>)</li>
67  * <li>Extra Undo-like action group (<code>UNDO_EXT</code>)</li>
68  * <li>Cut global action (<code>CUT</code>)</li>
69  * <li>Copy global action (<code>COPY</code>)</li>
70  * <li>Paste global action (<code>PASTE</code>)</li>
71  * <li>Extra Cut-like action group (<code>CUT_EXT</code>)</li>
72  * <li>Delete global action (<code>DELETE</code>)</li>
73  * <li>Find global action (<code>FIND</code>)</li>
74  * <li>Select All global action (<code>SELECT_ALL</code>)</li>
75  * <li>Bookmark global action (<code>BOOKMARK</code>)</li>
76  * </ul>
77  * <h3>Standard Perspective menu actions</h3>
78  * <ul>
79  * <li>Extra Perspective-like action group (<code>VIEW_EXT</code>)</li>
80  * </ul>
81  * <h3>Standard Workbench menu actions</h3>
82  * <ul>
83  * <li>Start group (<code>WB_START</code>)</li>
84  * <li>End group (<code>WB_END</code>)</li>
85  * <li>Extra Build-like action group (<code>BUILD_EXT</code>)</li>
86  * <li>Build action (<code>BUILD</code>)</li>
87  * <li>Rebuild All action (<code>REBUILD_ALL</code>)</li>
88  * </ul>
89  * <h3>Standard Window menu actions</h3>
90  * <ul>
91  * <li>Extra Window-like action group (<code>WINDOW_EXT</code>)</li>
92  * </ul>
93  * <h3>Standard Help menu actions</h3>
94  * <ul>
95  * <li>Start group (<code>HELP_START</code>)</li>
96  * <li>End group (<code>HELP_END</code>)</li>
97  * <li>About action (<code>ABOUT</code>)</li>
98  * </ul>
99  * <h3>Standard pop-up menu groups</h3>
100  * <ul>
101  * <li>Managing group (<code>GROUP_MANAGING</code>)</li>
102  * <li>Reorganize group (<code>GROUP_REORGANIZE</code>)</li>
103  * <li>Add group (<code>GROUP_ADD</code>)</li>
104  * <li>File group (<code>GROUP_FILE</code>)</li>
105  * </ul>
106  * <p>
107  * To hook a global action handler, a view should use the following code:
108  * <code>
109  * IAction copyHandler = ...;
110  * view.getSite().getActionBars().setGlobalActionHandler(
111  * IWorkbenchActionConstants.COPY,
112  * copyHandler);
113  * </code>
114  * For editors, this should be done in the <code>IEditorActionBarContributor</code>.
115  * </p>
116  *
117  * @see org.eclipse.ui.IActionBars#setGlobalActionHandler
118  *
119  * Note: many of the remaining non-deprecated constants here are IDE-specific
120  * and should be deprecated and moved to a constant pool at the IDE layer
121  * (e.g. IIDEActionConstants).
122  */

123 public interface IWorkbenchActionConstants {
124
125     // Standard menus:
126
/**
127      * <p>
128      * [Issue: MENU_PREFIX is "". It is used to prefix some of the other
129      * constants. There doesn't seem to be much point for this.
130      * Recommend deleting it.
131      * ]
132      * </p>
133      */

134     public static final String JavaDoc MENU_PREFIX = ""; //$NON-NLS-1$
135

136     /**
137      * <p>
138      * [Issue: SEP is "/". It is not used anywhere. Recommend deleting it.]
139      * </p>
140      */

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

143     /**
144      * Name of standard File menu (value <code>"file"</code>).
145      */

146     public static final String JavaDoc M_FILE = MENU_PREFIX + "file"; //$NON-NLS-1$
147

148     /**
149      * Name of standard Edit menu (value <code>"edit"</code>).
150      */

151     public static final String JavaDoc M_EDIT = MENU_PREFIX + "edit"; //$NON-NLS-1$
152

153     /**
154      * Name of standard View menu (value <code>"view"</code>).
155      * @deprecated Since 3.0. This is no longer used.
156      */

157     public static final String JavaDoc M_VIEW = MENU_PREFIX + "view"; //$NON-NLS-1$
158

159     /**
160      * Name of standard Workbench menu (value <code>"workbench"</code>).
161      * @deprecated Since 3.0. This is no longer used.
162      */

163     public static final String JavaDoc M_WORKBENCH = MENU_PREFIX + "workbench"; //$NON-NLS-1$
164

165     // menu reorg
166

167     /**
168      * Name of standard Navigate menu (value <code>"navigate"</code>).
169      */

170     public static final String JavaDoc M_NAVIGATE = MENU_PREFIX + "navigate"; //$NON-NLS-1$
171

172     /**
173      * Name of standard Project menu (value <code>"project"</code>).
174      */

175     public static final String JavaDoc M_PROJECT = MENU_PREFIX + "project"; //$NON-NLS-1$
176

177     // end menu reorg
178

179     /**
180      * Name of standard Window menu (value <code>"window"</code>).
181      */

182     public static final String JavaDoc M_WINDOW = MENU_PREFIX + "window"; //$NON-NLS-1$
183

184     /**
185      * Name of Launch window menu (value <code>"launch"</code>).
186      */

187     public static final String JavaDoc M_LAUNCH = MENU_PREFIX + "launch"; //$NON-NLS-1$
188

189     /**
190      * Name of standard Help menu (value <code>"help"</code>).
191      */

192     public static final String JavaDoc M_HELP = MENU_PREFIX + "help"; //$NON-NLS-1$
193

194     // Standard area for adding top level menus:
195
/**
196      * Name of group for adding new top-level menus (value <code>"additions"</code>).
197      */

198     public static final String JavaDoc MB_ADDITIONS = "additions"; // Group. //$NON-NLS-1$
199

200     // Standard file actions:
201
/**
202      * File menu: name of group for start of menu (value <code>"fileStart"</code>).
203      */

204     public static final String JavaDoc FILE_START = "fileStart"; // Group. //$NON-NLS-1$
205

206     /**
207      * File menu: name of group for end of menu (value <code>"fileEnd"</code>).
208      */

209     public static final String JavaDoc FILE_END = "fileEnd"; // Group. //$NON-NLS-1$
210

211     /**
212      * File menu: name of standard New action (value <code>"new"</code>).
213      *
214      * @deprecated in 3.0. Use
215      * <code>org.eclipse.ui.ActionFactory.NEW.getId()</code>
216      * instead.
217      */

218     public static final String JavaDoc NEW = "new"; //$NON-NLS-1$
219

220     /**
221      * File menu: name of group for extra New-like actions (value <code>"new.ext"</code>).
222      */

223     public static final String JavaDoc NEW_EXT = "new.ext"; // Group. //$NON-NLS-1$
224

225     /**
226      * File menu: name of standard Close action (value <code>"close"</code>).
227      *
228      * @deprecated in 3.0. Use {@link org.eclipse.ui.actions.ActionFactory#CLOSE
229      * ActionFactory.CLOSE.getId()} instead.
230      */

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

233     /**
234      * File menu: name of standard Close All action (value <code>"closeAll"</code>).
235      *
236      * @deprecated in 3.0. Use {@link org.eclipse.ui.actions.ActionFactory#CLOSE_ALL
237      * ActionFactory.CLOSE_ALL.getId()} instead.
238      */

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

241     /**
242      * File menu: name of group for extra Close-like actions (value <code>"close.ext"</code>).
243      */

244     public static final String JavaDoc CLOSE_EXT = "close.ext"; // Group. //$NON-NLS-1$
245

246     /**
247      * File menu: name of standard Save action (value <code>"save"</code>).
248      *
249      * @deprecated in 3.0. Use {@link org.eclipse.ui.actions.ActionFactory#SAVE
250      * ActionFactory.SAVE.getId()} instead.
251      */

252     public static final String JavaDoc SAVE = "save"; //$NON-NLS-1$
253

254     /**
255      * File menu: name of standard Save As action (value <code>"saveAs"</code>).
256      *
257      * @deprecated in 3.0. Use {@link org.eclipse.ui.actions.ActionFactory#SAVE_AS
258      * ActionFactory.SAVE_AS.getId()} instead.
259      */

260     public static final String JavaDoc SAVE_AS = "saveAs"; //$NON-NLS-1$
261

262     /**
263      * File menu: name of standard Save All action (value <code>"saveAll"</code>).
264      *
265      * @deprecated in 3.0. Use {@link org.eclipse.ui.actions.ActionFactory#SAVE_ALL
266      * ActionFactory.SAVE_ALL.getId()} instead.
267      */

268     public static final String JavaDoc SAVE_ALL = "saveAll"; //$NON-NLS-1$
269

270     /**
271      * File menu: name of group for extra Save-like actions (value <code>"save.ext"</code>).
272      */

273     public static final String JavaDoc SAVE_EXT = "save.ext"; // Group. //$NON-NLS-1$
274

275     /**
276      * File menu: name of standard Print global action
277      * (value <code>"print"</code>).
278      *
279      * @deprecated in 3.0. Use {@link org.eclipse.ui.actions.ActionFactory#PRINT
280      * ActionFactory.PRINT.getId()} instead.
281      */

282     public static final String JavaDoc PRINT = "print"; // Global action. //$NON-NLS-1$
283

284     /**
285      * File menu: name of group for extra Print-like actions (value <code>"print.ext"</code>).
286      * @since 3.0
287      */

288     public static final String JavaDoc PRINT_EXT = "print.ext"; // Group. //$NON-NLS-1$
289

290     /**
291      * File menu: name of standard Import action (value <code>"import"</code>).
292      *
293      * @deprecated in 3.0. Use
294      * <code>org.eclipse.ui.ActionFactory.IMPORT.getId()</code>
295      * instead.
296      */

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

299     /**
300      * File menu: name of standard Export action (value <code>"export"</code>).
301      *
302      * @deprecated in 3.0. Use
303      * <code>org.eclipse.ui.ActionFactory.EXPORT.getId()</code>
304      * instead.
305      */

306     public static final String JavaDoc EXPORT = "export"; //$NON-NLS-1$
307

308     /**
309      * File menu: name of group for extra Import-like actions (value <code>"import.ext"</code>).
310      */

311     public static final String JavaDoc IMPORT_EXT = "import.ext"; // Group. //$NON-NLS-1$
312

313     /**
314      * File menu: name of "Most Recently Used File" group.
315      * (value <code>"mru"</code>).
316      */

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

319     /**
320      * File menu: name of standard Quit action (value <code>"quit"</code>).
321      *
322      * @deprecated in 3.0. Use {@link org.eclipse.ui.actions.ActionFactory#QUIT
323      * ActionFactory.QUIT.getId()} instead.
324      */

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

327     // Standard edit actions:
328
/**
329      * Edit menu: name of group for start of menu (value <code>"editStart"</code>).
330      */

331     public static final String JavaDoc EDIT_START = "editStart"; // Group. //$NON-NLS-1$
332

333     /**
334      * Edit menu: name of group for end of menu (value <code>"editEnd"</code>).
335      */

336     public static final String JavaDoc EDIT_END = "editEnd"; // Group. //$NON-NLS-1$
337

338     /**
339      * Edit menu: name of standard Undo global action
340      * (value <code>"undo"</code>).
341      *
342      * @deprecated in 3.0. Use {@link org.eclipse.ui.actions.ActionFactory#UNDO
343      * ActionFactory.UNDO.getId()} instead.
344      */

345     public static final String JavaDoc UNDO = "undo"; // Global action. //$NON-NLS-1$
346

347     /**
348      * Edit menu: name of standard Redo global action
349      * (value <code>"redo"</code>).
350      *
351      * @deprecated in 3.0. Use {@link org.eclipse.ui.actions.ActionFactory#REDO
352      * ActionFactory.REDO.getId()} instead.
353      */

354     public static final String JavaDoc REDO = "redo"; // Global action. //$NON-NLS-1$
355

356     /**
357      * Edit menu: name of group for extra Undo-like actions (value <code>"undo.ext"</code>).
358      */

359     public static final String JavaDoc UNDO_EXT = "undo.ext"; // Group. //$NON-NLS-1$
360

361     /**
362      * Edit menu: name of standard Cut global action
363      * (value <code>"cut"</code>).
364      *
365      * @deprecated in 3.0. Use {@link org.eclipse.ui.actions.ActionFactory#CUT
366      * ActionFactory.CUT.getId()} instead.
367      */

368     public static final String JavaDoc CUT = "cut"; // Global action. //$NON-NLS-1$
369

370     /**
371      * Edit menu: name of standard Copy global action
372      * (value <code>"copy"</code>).
373      *
374      * @deprecated in 3.0. Use {@link org.eclipse.ui.actions.ActionFactory#COPY
375      * ActionFactory.COPY.getId()} instead.
376      */

377     public static final String JavaDoc COPY = "copy"; // Global action. //$NON-NLS-1$
378

379     /**
380      * Edit menu: name of standard Paste global action
381      * (value <code>"paste"</code>).
382      *
383      * @deprecated in 3.0. Use {@link org.eclipse.ui.actions.ActionFactory#PASTE
384      * ActionFactory.PASTE.getId()} instead.
385      */

386     public static final String JavaDoc PASTE = "paste"; // Global action. //$NON-NLS-1$
387

388     /**
389      * Edit menu: name of group for extra Cut-like actions (value <code>"cut.ext"</code>).
390      */

391     public static final String JavaDoc CUT_EXT = "cut.ext"; // Group. //$NON-NLS-1$
392

393     /**
394      * Edit menu: name of standard Delete global action
395      * (value <code>"delete"</code>).
396      *
397      * @deprecated in 3.0. Use {@link org.eclipse.ui.actions.ActionFactory#DELETE
398      * ActionFactory.DELETE.getId()} instead.
399      */

400     public static final String JavaDoc DELETE = "delete"; // Global action. //$NON-NLS-1$
401

402     /**
403      * Edit menu: name of standard Find global action
404      * (value <code>"find"</code>).
405      *
406      * @deprecated in 3.0. Use {@link org.eclipse.ui.actions.ActionFactory#FIND
407      * ActionFactory.FIND.getId()} instead.
408      */

409     public static final String JavaDoc FIND = "find"; // Global action. //$NON-NLS-1$
410

411     /**
412      * Edit menu: name of group for extra Find-like actions (value <code>"find.ext"</code>).
413      */

414     public static final String JavaDoc FIND_EXT = "find.ext"; // Group. //$NON-NLS-1$
415

416     /**
417      * Edit menu: name of standard Select All global action
418      * (value <code>"selectAll"</code>).
419      *
420      * @deprecated in 3.0. Use {@link org.eclipse.ui.actions.ActionFactory#SELECT_ALL
421      * ActionFactory.SELECT_ALL.getId()} instead.
422      */

423     public static final String JavaDoc SELECT_ALL = "selectAll"; // Global action. //$NON-NLS-1$
424

425     /**
426      * Edit menu: name of standard Add Bookmark global action
427      * (value <code>"bookmark"</code>).
428      *
429      * @deprecated in 3.0. Use
430      * <code>org.eclipse.ui.ide.IDEActionFactory.BOOKMARK.getId()</code>
431      * instead.
432      */

433     public static final String JavaDoc BOOKMARK = "bookmark"; // Global action. //$NON-NLS-1$
434

435     /**
436      * Edit menu: name of standard Add Task global action
437      * (value <code>"addTask"</code>).
438      *
439      * @deprecated in 3.0. Use
440      * <code>org.eclipse.ui.ide.IDEActionFactory.ADD_TASK.getId()</code>
441      * instead.
442      */

443     public static final String JavaDoc ADD_TASK = "addTask"; // Global action. //$NON-NLS-1$
444

445     /**
446      * Edit menu: name of group for extra Add-like actions (value <code>"add.ext"</code>).
447      */

448     public static final String JavaDoc ADD_EXT = "add.ext"; // Group. //$NON-NLS-1$
449

450     // Standard workbench actions:
451
/**
452      * Workbench menu: name of group for start of menu
453      * (value <code>"wbStart"</code>).
454      */

455     public static final String JavaDoc WB_START = "wbStart"; // Group. //$NON-NLS-1$
456

457     /**
458      * Workbench menu: name of group for end of menu
459      * (value <code>"wbEnd"</code>).
460      */

461     public static final String JavaDoc WB_END = "wbEnd"; // Group. //$NON-NLS-1$
462

463     /**
464      * Workbench menu: name of group for extra Build-like actions
465      * (value <code>"build.ext"</code>).
466      */

467     public static final String JavaDoc BUILD_EXT = "build.ext"; // Group. //$NON-NLS-1$
468

469     /**
470      * Workbench menu: name of standard Build action
471      * (value <code>"build"</code>).
472      *
473      * @deprecated in 3.0. Use
474      * <code>org.eclipse.ui.ide.IDEActionFactory.BUILD.getId()</code>
475      * instead.
476      */

477     public static final String JavaDoc BUILD = "build"; //$NON-NLS-1$
478

479     /**
480      * Workbench menu: name of standard Rebuild All action
481      * (value <code>"rebuildAll"</code>).
482      *
483      * @deprecated in 3.0. Use
484      * <code>org.eclipse.ui.ide.IDEActionFactory.REBUILD_ALL.getId()</code>
485      * instead.
486      */

487     public static final String JavaDoc REBUILD_ALL = "rebuildAll"; //$NON-NLS-1$
488

489     // Workbench toolbar ids:
490
/**
491      * Workbench toolbar id for file toolbar group.
492      *
493      * @since 2.1
494      */

495     public static final String JavaDoc TOOLBAR_FILE = "org.eclipse.ui.workbench.file"; //$NON-NLS-1$
496

497     /**
498      * Workbench toolbar id for navigate toolbar group.
499      *
500      * @since 2.1
501      */

502     public static final String JavaDoc TOOLBAR_NAVIGATE = "org.eclipse.ui.workbench.navigate"; //$NON-NLS-1$
503

504     /**
505      * Workbench toolbar id for help toolbar group.
506      *
507      * @since 3.1
508      */

509     public static final String JavaDoc TOOLBAR_HELP = "org.eclipse.ui.workbench.help"; //$NON-NLS-1$
510

511     // Workbench toolbar group ids. To add an item at the beginning of the group,
512
// use the GROUP id. To add an item at the end of the group, use the EXT id.
513

514     /**
515      * Group id for pin toolbar group.
516      *
517      * @since 2.1
518      */

519     public static final String JavaDoc PIN_GROUP = "pin.group"; //$NON-NLS-1$
520

521     /**
522      * Group id for history toolbar group.
523      *
524      * @since 2.1
525      */

526     public static final String JavaDoc HISTORY_GROUP = "history.group"; //$NON-NLS-1$
527

528     /**
529      * Group id for new toolbar group.
530      *
531      * @since 2.1
532      */

533     public static final String JavaDoc NEW_GROUP = "new.group"; //$NON-NLS-1$
534

535     /**
536      * Group id for save group.
537      *
538      * @since 2.1
539      */

540     public static final String JavaDoc SAVE_GROUP = "save.group"; //$NON-NLS-1$
541

542     /**
543      * Group id for build group.
544      *
545      * @since 2.1
546      */

547     public static final String JavaDoc BUILD_GROUP = "build.group"; //$NON-NLS-1$
548

549     // Pop-up menu groups:
550
/**
551      * Pop-up menu: name of group for Managing actions (value <code>"group.managing"</code>).
552      */

553     public static final String JavaDoc GROUP_MANAGING = "group.managing"; //$NON-NLS-1$
554

555     /**
556      * Pop-up menu: name of group for Reorganize actions (value <code>"group.reorganize"</code>).
557      */

558     public static final String JavaDoc GROUP_REORGANIZE = "group.reorganize"; //$NON-NLS-1$
559

560     /**
561      * Pop-up menu: name of group for Add actions (value <code>"group.add"</code>).
562      */

563     public static final String JavaDoc GROUP_ADD = "group.add"; //$NON-NLS-1$
564

565     /**
566      * Pop-up menu: name of group for File actions (value <code>"group.file"</code>).
567      */

568     public static final String JavaDoc GROUP_FILE = "group.file"; //$NON-NLS-1$
569

570     /**
571      * Pop-up menu: name of group for Show In actions (value <code>"group.showIn"</code>).
572      *
573      * @since 2.1
574      */

575     public static final String JavaDoc GROUP_SHOW_IN = "group.showIn"; //$NON-NLS-1$
576

577     /**
578      * Coolbar: name of group for application created actions
579      *
580      * @since 3.0
581      */

582     public static final String JavaDoc GROUP_APP = "group.application"; //$NON-NLS-1$
583

584     /**
585      * Toolbar: name of group for editor action bars.
586      */

587     public static final String JavaDoc GROUP_EDITOR = "group.editor"; //$NON-NLS-1$
588

589     /**
590      * Coolbar: name of group for help actions and contributions
591      *
592      * @since 3.1
593      */

594     public static final String JavaDoc GROUP_HELP = "group.help"; //$NON-NLS-1$
595

596     // Standard view actions:
597
/**
598      * View menu: name of group for additional view-like items.
599      * (value <code>"additions"</code>).
600      */

601     public static final String JavaDoc VIEW_EXT = MB_ADDITIONS; // Group.
602

603     // Standard window actions:
604
/**
605      * Window menu: name of group for additional window-like items.
606      * (value <code>"additions"</code>).
607      */

608     public static final String JavaDoc WINDOW_EXT = MB_ADDITIONS; // Group.
609

610     /**
611      * Launch menu: name of group for launching additional windows.
612      * (value <code>"additions"</code>).
613      */

614     public static final String JavaDoc LAUNCH_EXT = MB_ADDITIONS; // Group.
615

616     // menu reorg
617
/**
618      * File menu: name of standard Revert global action
619      * (value <code>"revert"</code>).
620      *
621      * @deprecated in 3.0. Use {@link org.eclipse.ui.actions.ActionFactory#REVERT
622      * ActionFactory.REVERT.getId()} instead.
623      */

624     public static final String JavaDoc REVERT = "revert"; // Global action. //$NON-NLS-1$
625

626     /**
627      * File menu: name of standard Refresh global action
628      * (value <code>"refresh"</code>).
629      *
630      * @deprecated in 3.0. Use {@link org.eclipse.ui.actions.ActionFactory#REFRESH
631      * ActionFactory.REFRESH.getId()} instead.
632      */

633     public static final String JavaDoc REFRESH = "refresh"; // Global action. //$NON-NLS-1$
634

635     /**
636      * File menu: name of standard Properties global action
637      * (value <code>"properties"</code>).
638      *
639      * @deprecated in 3.0. Use {@link org.eclipse.ui.actions.ActionFactory#PROPERTIES
640      * ActionFactory.PROPERTIES.getId()} instead.
641      */

642     public static final String JavaDoc PROPERTIES = "properties"; // Global action. //$NON-NLS-1$
643

644     /**
645      * Edit menu: name of standard Move global action
646      * (value <code>"move"</code>).
647      *
648      * @deprecated in 3.0. Use {@link org.eclipse.ui.actions.ActionFactory#MOVE
649      * ActionFactory.MOVE.getId()} instead.
650      */

651     public static final String JavaDoc MOVE = "move"; // Global action. //$NON-NLS-1$
652

653     /**
654      * Edit menu: name of standard Rename global action
655      * (value <code>"rename"</code>).
656      *
657      * @deprecated in 3.0. Use {@link org.eclipse.ui.actions.ActionFactory#RENAME
658      * ActionFactory.RENAME.getId()} instead.
659      */

660     public static final String JavaDoc RENAME = "rename"; // Global action. //$NON-NLS-1$
661

662     /**
663      * Edit menu: name of standard Add Task global action
664      * (value <code>"addTask"</code>).
665      */

666     // public static final String ADD_TASK = "addTask"; // Global action. //$NON-NLS-1$
667
/**
668      * Navigate menu: name of group for start of menu
669      * (value <code>"navStart"</code>).
670      */

671     public static final String JavaDoc NAV_START = "navStart"; // Group. //$NON-NLS-1$
672

673     /**
674      * Navigate menu: name of group for end of menu
675      * (value <code>"navEnd"</code>).
676      */

677     public static final String JavaDoc NAV_END = "navEnd"; // Group. //$NON-NLS-1$
678

679     /**
680      * File and Navigate menu: name of group for extra Open actions
681      * (value <code>"open.ext"</code>).
682      */

683     public static final String JavaDoc OPEN_EXT = "open.ext"; // Group. //$NON-NLS-1$
684

685     /**
686      * Navigate menu: name of group for extra Show actions
687      * (value <code>"show.ext"</code>).
688      */

689     public static final String JavaDoc SHOW_EXT = "show.ext"; // Group. //$NON-NLS-1$
690

691     /**
692      * Navigate menu: name of standard Go Into global action
693      * (value <code>"goInto"</code>).
694      */

695     public static final String JavaDoc GO_INTO = "goInto"; // Global action. //$NON-NLS-1$
696

697     /**
698      * Navigate menu: name of standard Go To submenu
699      * (value <code>"goTo"</code>).
700      */

701     public static final String JavaDoc GO_TO = "goTo"; //$NON-NLS-1$
702

703     /**
704      * Navigate menu: name of standard Go To Resource global action
705      * (value <code>"goToResource"</code>).
706      */

707     public static final String JavaDoc GO_TO_RESOURCE = "goToResource"; // Global action. //$NON-NLS-1$
708

709     /**
710      * Navigate menu: name of standard Sync With Editor global action (value
711      * <code>"syncEditor"</code>).
712      *
713      * @deprecated this action will be removed soon; use SHOW_IN instead
714      */

715     public static final String JavaDoc SYNC_EDITOR = "syncEditor"; // Global action. //$NON-NLS-1$
716

717     /**
718      * Navigate menu: name of standard Show In... action
719      * (value <code>"showIn"</code>).
720      *
721      * @see org.eclipse.ui.internal.ShowInAction
722      * @since 2.1
723      *
724      * @deprecated
725      */

726     public static final String JavaDoc SHOW_IN = "showIn"; //$NON-NLS-1$
727

728     /**
729      * Navigate menu: name of standard Back global action
730      * (value <code>"back"</code>).
731      *
732      * @deprecated in 3.0. Use {@link org.eclipse.ui.actions.ActionFactory#BACK
733      * ActionFactory.BACK.getId()} instead.
734      */

735     public static final String JavaDoc BACK = "back"; // Global action. //$NON-NLS-1$
736

737     /**
738      * Navigate menu: name of standard Forward global action
739      * (value <code>"forward"</code>).
740      *
741      * @deprecated in 3.0. Use {@link org.eclipse.ui.actions.ActionFactory#FORWARD
742      * ActionFactory.FORWARD.getId()} instead.
743      */

744     public static final String JavaDoc FORWARD = "forward"; // Global action. //$NON-NLS-1$
745

746     /**
747      * Navigate menu: name of standard Up global action
748      * (value <code>"up"</code>).
749      */

750     public static final String JavaDoc UP = "up"; // Global action. //$NON-NLS-1$
751

752     /**
753      * Navigate menu: name of standard Next global action
754      * (value <code>"next"</code>).
755      *
756      * @deprecated in 3.0. Use {@link org.eclipse.ui.actions.ActionFactory#NEXT
757      * ActionFactory.NEXT.getId()} instead.
758      */

759     public static final String JavaDoc NEXT = "next"; // Global action. //$NON-NLS-1$
760

761     /**
762      * Navigate menu: name of standard Up global action
763      * (value <code>"previous"</code>).
764      *
765      * @deprecated in 3.0. Use {@link org.eclipse.ui.actions.ActionFactory#PREVIOUS
766      * ActionFactory.PREVIOUS.getId()} instead.
767      */

768     public static final String JavaDoc PREVIOUS = "previous"; // Global action. //$NON-NLS-1$
769

770     /**
771      * Project menu: name of group for start of menu
772      * (value <code>"projStart"</code>).
773      */

774     public static final String JavaDoc PROJ_START = "projStart"; // Group. //$NON-NLS-1$
775

776     /**
777      * Project menu: name of group for start of menu
778      * (value <code>"projEnd"</code>).
779      */

780     public static final String JavaDoc PROJ_END = "projEnd"; // Group. //$NON-NLS-1$
781

782     /**
783      * Project menu: name of standard Build Project global action
784      * (value <code>"buildProject"</code>).
785      *
786      * @deprecated in 3.0. Use
787      * <code>org.eclipse.ui.ide.IDEActionFactory.BUILD_PROJECT.getId()</code>
788      * instead.
789      */

790     public static final String JavaDoc BUILD_PROJECT = "buildProject"; // Global action. //$NON-NLS-1$
791

792     /**
793      * Project menu: name of standard Rebuild Project global action
794      * (value <code>"rebuildProject"</code>).
795      *
796      * @deprecated in 3.0. Use
797      * <code>org.eclipse.ui.ide.IDEActionFactory.REBUILD_PROJECT.getId()</code>
798      * instead.
799      */

800     public static final String JavaDoc REBUILD_PROJECT = "rebuildProject"; // Global action. //$NON-NLS-1$
801

802     /**
803      * Project menu: name of standard Open Project global action
804      * (value <code>"openProject"</code>).
805      *
806      * @deprecated in 3.0. Use
807      * <code>org.eclipse.ui.ide.IDEActionFactory.OPEN_PROJECT.getId()</code>
808      * instead.
809      */

810     public static final String JavaDoc OPEN_PROJECT = "openProject"; // Global action. //$NON-NLS-1$
811

812     /**
813      * Project menu: name of standard Close Project global action
814      * (value <code>"closeProject"</code>).
815      *
816      * @deprecated in 3.0. Use
817      * <code>org.eclipse.ui.ide.IDEActionFactory.CLOSE_PROJECT.getId()</code>
818      * instead.
819      */

820     public static final String JavaDoc CLOSE_PROJECT = "closeProject"; // Global action. //$NON-NLS-1$
821
// end menu reorg
822

823     // Standard help actions:
824
/**
825      * Help menu: name of group for start of menu
826      * (value <code>"helpStart"</code>).
827      */

828     public static final String JavaDoc HELP_START = "helpStart"; // Group. //$NON-NLS-1$
829

830     /**
831      * Help menu: name of group for end of menu
832      * (value <code>"helpEnd"</code>).
833      */

834     public static final String JavaDoc HELP_END = "helpEnd"; // Group. //$NON-NLS-1$
835

836     /**
837      * Help menu: name of standard About action
838      * (value <code>"about"</code>).
839      *
840      * @deprecated in 3.0. Use {@link org.eclipse.ui.actions.ActionFactory#ABOUT
841      * ActionFactory.ABOUT.getId()} instead.
842      */

843     public static final String JavaDoc ABOUT = "about"; //$NON-NLS-1$
844

845     /**
846      * Standard global actions in a workbench window.
847      *
848      * @deprecated in 3.0
849      */

850     public static final String JavaDoc[] GLOBAL_ACTIONS = { UNDO, REDO, CUT, COPY,
851             PASTE, PRINT, DELETE, FIND, SELECT_ALL, BOOKMARK };
852 }
853
Popular Tags