|
Eclipse Platform Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Action ids for standard actions, groups in the workbench menu bar, and global actions.
This interface contains constants only; it is not intended to be implemented or extended.
M_FILE
)M_EDIT
)M_WINDOW
)M_HELP
)MB_ADDITIONS
)UNDO
)REDO
)CUT
)COPY
)PASTE
)DELETE
)FIND
)SELECT_ALL
)BOOKMARK
)FILE_START
)FILE_END
)NEW
)NEW_EXT
)CLOSE
)CLOSE_ALL
)CLOSE_EXT
)SAVE
)SAVE_AS
)SAVE_ALL
)SAVE_EXT
)IMPORT
)EXPORT
)IMPORT_EXT
)QUIT
)EDIT_START
)EDIT_END
)UNDO
)REDO
)UNDO_EXT
)CUT
)COPY
)PASTE
)CUT_EXT
)DELETE
)FIND
)SELECT_ALL
)BOOKMARK
)VIEW_EXT
)WB_START
)WB_END
)BUILD_EXT
)BUILD
)REBUILD_ALL
)WINDOW_EXT
)HELP_START
)HELP_END
)ABOUT
)GROUP_MANAGING
)GROUP_REORGANIZE
)GROUP_ADD
)GROUP_FILE
)
To hook a global action handler, a view should use the following code:
IAction copyHandler = ...;
view.getSite().getActionBars().setGlobalActionHandler(
IWorkbenchActionConstants.COPY,
copyHandler);
For editors, this should be done in the IEditorActionBarContributor
.
Note: many of the remaining non-deprecated constants here are IDE-specific
and should be deprecated and moved to a constant pool at the IDE layer
(e.g. IIDEActionConstants).
Field Summary | |
---|---|
static String |
ABOUT
Deprecated. in 3.0. Use ActionFactory.ABOUT.getId() instead. |
static String |
ADD_EXT
Edit menu: name of group for extra Add-like actions (value "add.ext" ). |
static String |
ADD_TASK
Deprecated. in 3.0. Use org.eclipse.ui.ide.IDEActionFactory.ADD_TASK.getId()
instead. |
static String |
BACK
Deprecated. in 3.0. Use ActionFactory.BACK.getId() instead. |
static String |
BOOKMARK
Deprecated. in 3.0. Use org.eclipse.ui.ide.IDEActionFactory.BOOKMARK.getId()
instead. |
static String |
BUILD
Deprecated. in 3.0. Use org.eclipse.ui.ide.IDEActionFactory.BUILD.getId()
instead. |
static String |
BUILD_EXT
Workbench menu: name of group for extra Build-like actions (value "build.ext" ). |
static String |
BUILD_GROUP
|
static String |
BUILD_PROJECT
Deprecated. in 3.0. Use org.eclipse.ui.ide.IDEActionFactory.BUILD_PROJECT.getId()
instead. |
static String |
CLOSE
Deprecated. in 3.0. Use ActionFactory.CLOSE.getId() instead. |
static String |
CLOSE_ALL
Deprecated. in 3.0. Use ActionFactory.CLOSE_ALL.getId() instead. |
static String |
CLOSE_EXT
File menu: name of group for extra Close-like actions (value "close.ext" ). |
static String |
CLOSE_PROJECT
Deprecated. in 3.0. Use org.eclipse.ui.ide.IDEActionFactory.CLOSE_PROJECT.getId()
instead. |
static String |
COPY
Deprecated. in 3.0. Use ActionFactory.COPY.getId() instead. |
static String |
CUT
Deprecated. in 3.0. Use ActionFactory.CUT.getId() instead. |
static String |
CUT_EXT
Edit menu: name of group for extra Cut-like actions (value "cut.ext" ). |
static String |
DELETE
Deprecated. in 3.0. Use ActionFactory.DELETE.getId() instead. |
static String |
EDIT_END
Edit menu: name of group for end of menu (value "editEnd" ). |
static String |
EDIT_START
Edit menu: name of group for start of menu (value "editStart" ). |
static String |
EXPORT
Deprecated. in 3.0. Use org.eclipse.ui.ActionFactory.EXPORT.getId()
instead. |
static String |
FILE_END
File menu: name of group for end of menu (value "fileEnd" ). |
static String |
FILE_START
File menu: name of group for start of menu (value "fileStart" ). |
static String |
FIND
Deprecated. in 3.0. Use ActionFactory.FIND.getId() instead. |
static String |
FIND_EXT
Edit menu: name of group for extra Find-like actions (value "find.ext" ). |
static String |
FORWARD
Deprecated. in 3.0. Use ActionFactory.FORWARD.getId() instead. |
static String[] |
GLOBAL_ACTIONS
Deprecated. in 3.0 |
static String |
GO_INTO
Navigate menu: name of standard Go Into global action (value "goInto" ). |
static String |
GO_TO
Navigate menu: name of standard Go To submenu (value "goTo" ). |
static String |
GO_TO_RESOURCE
Navigate menu: name of standard Go To Resource global action (value "goToResource" ). |
static String |
GROUP_ADD
Pop-up menu: name of group for Add actions (value "group.add" ). |
static String |
GROUP_APP
Coolbar: name of group for application created actions |
static String |
GROUP_EDITOR
Toolbar: name of group for editor action bars. |
static String |
GROUP_FILE
Pop-up menu: name of group for File actions (value "group.file" ). |
static String |
GROUP_HELP
Coolbar: name of group for help actions and contributions |
static String |
GROUP_MANAGING
Pop-up menu: name of group for Managing actions (value "group.managing" ). |
static String |
GROUP_REORGANIZE
Pop-up menu: name of group for Reorganize actions (value "group.reorganize" ). |
static String |
GROUP_SHOW_IN
Pop-up menu: name of group for Show In actions (value "group.showIn" ). |
static String |
HELP_END
Help menu: name of group for end of menu (value "helpEnd" ). |
static String |
HELP_START
Help menu: name of group for start of menu (value "helpStart" ). |
static String |
HISTORY_GROUP
|
static String |
IMPORT
Deprecated. in 3.0. Use org.eclipse.ui.ActionFactory.IMPORT.getId()
instead. |
static String |
IMPORT_EXT
File menu: name of group for extra Import-like actions (value "import.ext" ). |
static String |
LAUNCH_EXT
Launch menu: name of group for launching additional windows. |
static String |
M_EDIT
Name of standard Edit menu (value "edit" ). |
static String |
M_FILE
Name of standard File menu (value "file" ). |
static String |
M_HELP
Name of standard Help menu (value "help" ). |
static String |
M_LAUNCH
Name of Launch window menu (value "launch" ). |
static String |
M_NAVIGATE
Name of standard Navigate menu (value "navigate" ). |
static String |
M_PROJECT
Name of standard Project menu (value "project" ). |
static String |
M_VIEW
Deprecated. Since 3.0. This is no longer used. |
static String |
M_WINDOW
Name of standard Window menu (value "window" ). |
static String |
M_WORKBENCH
Deprecated. Since 3.0. This is no longer used. |
static String |
MB_ADDITIONS
Name of group for adding new top-level menus (value "additions" ). |
static String |
MENU_PREFIX
[Issue: MENU_PREFIX is "". |
static String |
MOVE
Deprecated. in 3.0. Use ActionFactory.MOVE.getId() instead. |
static String |
MRU
File menu: name of "Most Recently Used File" group. |
static String |
NAV_END
Navigate menu: name of group for end of menu (value "navEnd" ). |
static String |
NAV_START
Navigate menu: name of group for start of menu (value "navStart" ). |
static String |
NEW
Deprecated. in 3.0. Use org.eclipse.ui.ActionFactory.NEW.getId()
instead. |
static String |
NEW_EXT
File menu: name of group for extra New-like actions (value "new.ext" ). |
static String |
NEW_GROUP
Group ids for file toolbar groups |
static String |
NEXT
Deprecated. in 3.0. Use ActionFactory.NEXT.getId() instead. |
static String |
OPEN_EXT
File and Navigate menu: name of group for extra Open actions (value "open.ext" ). |
static String |
OPEN_PROJECT
Deprecated. in 3.0. Use org.eclipse.ui.ide.IDEActionFactory.OPEN_PROJECT.getId()
instead. |
static String |
PASTE
Deprecated. in 3.0. Use ActionFactory.PASTE.getId() instead. |
static String |
PIN_GROUP
Group ids for navigate toolbar groups. |
static String |
PREVIOUS
Deprecated. in 3.0. Use ActionFactory.PREVIOUS.getId() instead. |
static String |
PRINT
Deprecated. in 3.0. Use ActionFactory.PRINT.getId() instead. |
static String |
PRINT_EXT
File menu: name of group for extra Print-like actions (value "print.ext" ). |
static String |
PROJ_END
Project menu: name of group for start of menu (value "projEnd" ). |
static String |
PROJ_START
Project menu: name of group for start of menu (value "projStart" ). |
static String |
PROPERTIES
Deprecated. in 3.0. Use ActionFactory.PROPERTIES.getId() instead. |
static String |
QUIT
Deprecated. in 3.0. Use ActionFactory.QUIT.getId() instead. |
static String |
REBUILD_ALL
Deprecated. in 3.0. Use org.eclipse.ui.ide.IDEActionFactory.REBUILD_ALL.getId()
instead. |
static String |
REBUILD_PROJECT
Deprecated. in 3.0. Use org.eclipse.ui.ide.IDEActionFactory.REBUILD_PROJECT.getId()
instead. |
static String |
REDO
Deprecated. in 3.0. Use ActionFactory.REDO.getId() instead. |
static String |
REFRESH
Deprecated. in 3.0. Use ActionFactory.REFRESH.getId() instead. |
static String |
RENAME
Deprecated. in 3.0. Use ActionFactory.RENAME.getId() instead. |
static String |
REVERT
Deprecated. in 3.0. Use ActionFactory.REVERT.getId() instead. |
static String |
SAVE
Deprecated. in 3.0. Use ActionFactory.SAVE.getId() instead. |
static String |
SAVE_ALL
Deprecated. in 3.0. Use ActionFactory.SAVE_ALL.getId() instead. |
static String |
SAVE_AS
Deprecated. in 3.0. Use ActionFactory.SAVE_AS.getId() instead. |
static String |
SAVE_EXT
File menu: name of group for extra Save-like actions (value "save.ext" ). |
static String |
SAVE_GROUP
|
static String |
SELECT_ALL
Deprecated. in 3.0. Use ActionFactory.SELECT_ALL.getId() instead. |
static String |
SEP
[Issue: SEP is "/". |
static String |
SHOW_EXT
Navigate menu: name of group for extra Show actions (value "show.ext" ). |
static String |
SHOW_IN
Deprecated. |
static String |
SYNC_EDITOR
Deprecated. this action will be removed soon; use SHOW_IN instead |
static String |
TOOLBAR_FILE
Workbench toolbar id for file toolbar group. |
static String |
TOOLBAR_HELP
Workbench toolbar id for help toolbar group. |
static String |
TOOLBAR_NAVIGATE
Workbench toolbar id for navigate toolbar group. |
static String |
UNDO
Deprecated. in 3.0. Use ActionFactory.UNDO.getId() instead. |
static String |
UNDO_EXT
Edit menu: name of group for extra Undo-like actions (value "undo.ext" ). |
static String |
UP
Navigate menu: name of standard Up global action (value "up" ). |
static String |
VIEW_EXT
View menu: name of group for additional view-like items. |
static String |
WB_END
Workbench menu: name of group for end of menu (value "wbEnd" ). |
static String |
WB_START
Workbench menu: name of group for start of menu (value "wbStart" ). |
static String |
WINDOW_EXT
Window menu: name of group for additional window-like items. |
Field Detail |
public static final String MENU_PREFIX
[Issue: MENU_PREFIX is "". It is used to prefix some of the other constants. There doesn't seem to be much point for this. Recommend deleting it. ]
public static final String SEP
[Issue: SEP is "/". It is not used anywhere. Recommend deleting it.]
public static final String M_FILE
"file"
).
public static final String M_EDIT
"edit"
).
public static final String M_VIEW
"view"
).
public static final String M_WORKBENCH
"workbench"
).
public static final String M_NAVIGATE
"navigate"
).
public static final String M_PROJECT
"project"
).
public static final String M_WINDOW
"window"
).
public static final String M_LAUNCH
"launch"
).
public static final String M_HELP
"help"
).
public static final String MB_ADDITIONS
"additions"
).
public static final String FILE_START
"fileStart"
).
public static final String FILE_END
"fileEnd"
).
public static final String NEW
org.eclipse.ui.ActionFactory.NEW.getId()
instead.
"new"
).
public static final String NEW_EXT
"new.ext"
).
public static final String CLOSE
ActionFactory.CLOSE.getId()
instead.
"close"
).
public static final String CLOSE_ALL
ActionFactory.CLOSE_ALL.getId()
instead.
"closeAll"
).
public static final String CLOSE_EXT
"close.ext"
).
public static final String SAVE
ActionFactory.SAVE.getId()
instead.
"save"
).
public static final String SAVE_AS
ActionFactory.SAVE_AS.getId()
instead.
"saveAs"
).
public static final String SAVE_ALL
ActionFactory.SAVE_ALL.getId()
instead.
"saveAll"
).
public static final String SAVE_EXT
"save.ext"
).
public static final String PRINT
ActionFactory.PRINT.getId()
instead.
"print"
).
public static final String PRINT_EXT
"print.ext"
).
public static final String IMPORT
org.eclipse.ui.ActionFactory.IMPORT.getId()
instead.
"import"
).
public static final String EXPORT
org.eclipse.ui.ActionFactory.EXPORT.getId()
instead.
"export"
).
public static final String IMPORT_EXT
"import.ext"
).
public static final String MRU
"mru"
).
public static final String QUIT
ActionFactory.QUIT.getId()
instead.
"quit"
).
public static final String EDIT_START
"editStart"
).
public static final String EDIT_END
"editEnd"
).
public static final String UNDO
ActionFactory.UNDO.getId()
instead.
"undo"
).
public static final String REDO
ActionFactory.REDO.getId()
instead.
"redo"
).
public static final String UNDO_EXT
"undo.ext"
).
public static final String CUT
ActionFactory.CUT.getId()
instead.
"cut"
).
public static final String COPY
ActionFactory.COPY.getId()
instead.
"copy"
).
public static final String PASTE
ActionFactory.PASTE.getId()
instead.
"paste"
).
public static final String CUT_EXT
"cut.ext"
).
public static final String DELETE
ActionFactory.DELETE.getId()
instead.
"delete"
).
public static final String FIND
ActionFactory.FIND.getId()
instead.
"find"
).
public static final String FIND_EXT
"find.ext"
).
public static final String SELECT_ALL
ActionFactory.SELECT_ALL.getId()
instead.
"selectAll"
).
public static final String BOOKMARK
org.eclipse.ui.ide.IDEActionFactory.BOOKMARK.getId()
instead.
"bookmark"
).
public static final String ADD_TASK
org.eclipse.ui.ide.IDEActionFactory.ADD_TASK.getId()
instead.
"addTask"
).
public static final String ADD_EXT
"add.ext"
).
public static final String WB_START
"wbStart"
).
public static final String WB_END
"wbEnd"
).
public static final String BUILD_EXT
"build.ext"
).
public static final String BUILD
org.eclipse.ui.ide.IDEActionFactory.BUILD.getId()
instead.
"build"
).
public static final String REBUILD_ALL
org.eclipse.ui.ide.IDEActionFactory.REBUILD_ALL.getId()
instead.
"rebuildAll"
).
public static final String TOOLBAR_FILE
public static final String TOOLBAR_NAVIGATE
public static final String TOOLBAR_HELP
public static final String PIN_GROUP
public static final String HISTORY_GROUP
public static final String NEW_GROUP
public static final String SAVE_GROUP
public static final String BUILD_GROUP
public static final String GROUP_MANAGING
"group.managing"
).
public static final String GROUP_REORGANIZE
"group.reorganize"
).
public static final String GROUP_ADD
"group.add"
).
public static final String GROUP_FILE
"group.file"
).
public static final String GROUP_SHOW_IN
"group.showIn"
).
public static final String GROUP_APP
public static final String GROUP_EDITOR
public static final String GROUP_HELP
public static final String VIEW_EXT
"additions"
).
public static final String WINDOW_EXT
"additions"
).
public static final String LAUNCH_EXT
"additions"
).
public static final String REVERT
ActionFactory.REVERT.getId()
instead.
"revert"
).
public static final String REFRESH
ActionFactory.REFRESH.getId()
instead.
"refresh"
).
public static final String PROPERTIES
ActionFactory.PROPERTIES.getId()
instead.
"properties"
).
public static final String MOVE
ActionFactory.MOVE.getId()
instead.
"move"
).
public static final String RENAME
ActionFactory.RENAME.getId()
instead.
"rename"
).
public static final String NAV_START
"navStart"
).
public static final String NAV_END
"navEnd"
).
public static final String OPEN_EXT
"open.ext"
).
public static final String SHOW_EXT
"show.ext"
).
public static final String GO_INTO
"goInto"
).
public static final String GO_TO
"goTo"
).
public static final String GO_TO_RESOURCE
"goToResource"
).
public static final String SYNC_EDITOR
"syncEditor"
).
public static final String SHOW_IN
"showIn"
).
ShowInAction
,
Constant Field Valuespublic static final String BACK
ActionFactory.BACK.getId()
instead.
"back"
).
public static final String FORWARD
ActionFactory.FORWARD.getId()
instead.
"forward"
).
public static final String UP
"up"
).
public static final String NEXT
ActionFactory.NEXT.getId()
instead.
"next"
).
public static final String PREVIOUS
ActionFactory.PREVIOUS.getId()
instead.
"previous"
).
public static final String PROJ_START
"projStart"
).
public static final String PROJ_END
"projEnd"
).
public static final String BUILD_PROJECT
org.eclipse.ui.ide.IDEActionFactory.BUILD_PROJECT.getId()
instead.
"buildProject"
).
public static final String REBUILD_PROJECT
org.eclipse.ui.ide.IDEActionFactory.REBUILD_PROJECT.getId()
instead.
"rebuildProject"
).
public static final String OPEN_PROJECT
org.eclipse.ui.ide.IDEActionFactory.OPEN_PROJECT.getId()
instead.
"openProject"
).
public static final String CLOSE_PROJECT
org.eclipse.ui.ide.IDEActionFactory.CLOSE_PROJECT.getId()
instead.
"closeProject"
).
public static final String HELP_START
"helpStart"
).
public static final String HELP_END
"helpEnd"
).
public static final String ABOUT
ActionFactory.ABOUT.getId()
instead.
"about"
).
public static final String[] GLOBAL_ACTIONS
|
Eclipse Platform Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2005. All rights reserved.