Identifiers for IDE menus, toolbars and groups.
This interface contains constants only; it is not intended to be implemented or extended.
Note: want to move IDE-specific stuff out of IWorkbenchActionConstants. There's still some cleanup to be done here (and there).
Since: 3.0
Field Summarystatic StringADD_EXT Edit menu: name of group for extra Add-like actions (value "add.ext").static StringBUILD_EXT Workbench menu: name of group for extra Build-like actions (value "build.ext").static StringBUILD_GROUP Group ids for build toolbar group.static StringCLOSE_EXT File menu: name of group for extra Close-like actions (value "close.ext").static StringCUT_EXT Edit menu: name of group for extra Cut-like actions (value "cut.ext").static StringEDIT_END Edit menu: name of group for end of menu (value "editEnd").static StringEDIT_START Edit menu: name of group for start of menu (value "editStart").static StringFILE_END File menu: name of group for end of menu (value "fileEnd").static StringFILE_START File menu: name of group for start of menu (value "fileStart").static StringFIND_EXT Edit menu: name of group for extra Find-like actions (value "find.ext"). static StringGO_INTO Navigate menu: name of standard Go Into global action (value "goInto").static StringGO_TO Navigate menu: name of standard Go To submenu (value "goTo").static StringGO_TO_RESOURCE Navigate menu: name of standard Go To Resource global action (value "goToResource"). static StringGROUP_ADD Pop-up menu: name of group for Add actions (value "group.add").static StringGROUP_FILE Pop-up menu and cool bar: name of group for File actions (value "group.file").static StringGROUP_NAV Coolbar: name of group for Navigate actions (value "group.nav").static StringGROUP_SHOW_IN Pop-up menu: name of group for Show In actions (value "group.showIn").static StringHELP_END Help menu: name of group for end of menu (value "helpEnd").static StringHELP_START Help menu: name of group for start of menu (value "helpStart").static StringHISTORY_GROUP Group ids for history toolbar group.static StringIMPORT_EXT File menu: name of group for extra Import-like actions (value "import.ext").static StringM_EDIT Name of standard Edit menu (value "edit").static StringM_FILE Name of standard File menu (value "file").static StringM_HELP Name of standard Help menu (value "help").static StringM_NAVIGATE Name of standard Navigate menu (value "navigate").static StringM_PROJECT Name of standard Project menu (value "project").static StringM_WINDOW Name of standard Window menu (value "window").static StringMRU File menu: name of "Most Recently Used File" group. static StringNAV_END Navigate menu: name of group for end of menu (value "navEnd").static StringNAV_START Navigate menu: name of group for start of menu (value "navStart").static StringNEW_EXT File menu: name of group for extra New-like actions (value "new.ext").static StringNEW_GROUP Group ids for new toolbar group.static StringOPEN_EXT Navigate menu: name of group for extra Open actions (value "open.ext").static StringPIN_GROUP Group id for pin toolbar group.static StringPRINT_EXT File menu: name of group for extra Print-like actions (value "print.ext").static StringPROJ_END Project menu: name of group for start of menu (value "projEnd").static StringPROJ_START Project menu: name of group for start of menu (value "projStart").static StringSAVE_EXT File menu: name of group for extra Save-like actions (value "save.ext").static StringSAVE_GROUP Group ids for save toolbar group.static StringSHOW_EXT Navigate menu: name of group for extra Show actions (value "show.ext").static StringTOOLBAR_FILE Workbench toolbar id for file toolbar group.static StringTOOLBAR_NAVIGATE Workbench toolbar id for navigate toolbar group.static StringUNDO_EXT Edit menu: name of group for extra Undo-like actions (value "undo.ext").
The workbench tool bar is composed of tool bars contributed by different plug-ins, including the workbench itself. Within any particular tool bar, there are named groups or slots that can be used for inserting new tool bar items.
The following description of the workbench tool bars is adapted from the IWorkbenchActionConstants class definition.
// Workbench toolbar ids public static final String TOOLBAR_FILE = "org.eclipse.ui.workbench.file" public static final String TOOLBAR_NAVIGATE = "org.eclipse.ui.workbench.navigate"; // Workbench toolbar group ids. To add an item at the beginning of the group, // use the GROUP id. To add an item at the end of the group, use the EXT id. public static final String PIN_GROUP = "pin.group"; public static final String HISTORY_GROUP = "history.group"; public static final String NEW_GROUP = "new.group"; public static final String SAVE_GROUP = "save.group"; public static final String BUILD_GROUP = "build.group";
备注:本文转载自:
http://help.eclipse.org/help33/index.jsp?topic=/org.eclipse.platform.doc.isv/reference/api/org/eclipse/ui/ide/IIDEActionConstants.html
http://help.eclipse.org/help33/index.jsp?topic=/org.eclipse.platform.doc.isv/guide/workbench_menupaths.htm
