Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
berry::WorkbenchActionConstants Struct Reference

#include <berryWorkbenchActionConstants.h>

Static Public Attributes

static const QString MB_ADDITIONS
 
static const QString M_FILE
 
static const QString M_EDIT
 
static const QString M_WINDOW
 
static const QString M_HELP
 
static const QString FILE_START
 
static const QString FILE_END
 
static const QString NEW_EXT
 
static const QString CLOSE_EXT
 
static const QString SAVE_EXT
 
static const QString MRU
 
static const QString EDIT_START
 
static const QString EDIT_END
 
static const QString UNDO_EXT
 
static const QString CUT_EXT
 
static const QString FIND_EXT
 
static const QString ADD_EXT
 
static const QString HELP_START
 
static const QString HELP_END
 

Detailed Description

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.

Standard menus

  • File menu (M_FILE)
  • Edit menu (M_EDIT)
  • Window menu (M_WINDOW)
  • Help menu (M_HELP)

Standard group for adding top level menus

  • Extra top level menu group (MB_ADDITIONS)

Global actions

  • Undo (UNDO)
  • Redo (REDO)
  • Cut (CUT)
  • Copy (COPY)
  • Paste (PASTE)
  • Delete (DELETE)
  • Find (FIND)
  • Select All (SELECT_ALL)
  • Add Bookmark (BOOKMARK)

Standard File menu actions

  • Start group (FILE_START)
  • End group (FILE_END)
  • New action (NEW)
  • Extra New-like action group (NEW_EXT)
  • Close action (CLOSE)
  • Close All action (CLOSE_ALL)
  • Extra Close-like action group (CLOSE_EXT)
  • Save action (SAVE)
  • Save As action (SAVE_AS)
  • Save All action (SAVE_ALL)
  • Extra Save-like action group (SAVE_EXT)
  • Import action (IMPORT)
  • Export action (EXPORT)
  • Extra Import-like action group (IMPORT_EXT)
  • Quit action (QUIT)

Standard Edit menu actions

  • Start group (EDIT_START)
  • End group (EDIT_END)
  • Undo global action (UNDO)
  • Redo global action (REDO)
  • Extra Undo-like action group (UNDO_EXT)
  • Cut global action (CUT)
  • Copy global action (COPY)
  • Paste global action (PASTE)
  • Extra Cut-like action group (CUT_EXT)
  • Delete global action (DELETE)
  • Find global action (FIND)
  • Select All global action (SELECT_ALL)
  • Bookmark global action (BOOKMARK)

Standard Perspective menu actions

  • Extra Perspective-like action group (VIEW_EXT)

Standard Workbench menu actions

  • Start group (WB_START)
  • End group (WB_END)
  • Extra Build-like action group (BUILD_EXT)
  • Build action (BUILD)
  • Rebuild All action (REBUILD_ALL)

Standard Window menu actions

  • Extra Window-like action group (WINDOW_EXT)

Standard Help menu actions

  • Start group (HELP_START)
  • End group (HELP_END)
  • About action (ABOUT)

Standard pop-up menu groups

  • Managing group (GROUP_MANAGING)
  • Reorganize group (GROUP_REORGANIZE)
  • Add group (GROUP_ADD)
  • File group (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.

Definition at line 136 of file berryWorkbenchActionConstants.h.

Member Data Documentation

const QString berry::WorkbenchActionConstants::ADD_EXT
static

Edit menu: name of group for extra Add-like actions (value "add.ext").

Definition at line 225 of file berryWorkbenchActionConstants.h.

const QString berry::WorkbenchActionConstants::CLOSE_EXT
static

File menu: name of group for extra Close-like actions (value "close.ext").

Definition at line 183 of file berryWorkbenchActionConstants.h.

const QString berry::WorkbenchActionConstants::CUT_EXT
static

Edit menu: name of group for extra Cut-like actions (value "cut.ext").

Definition at line 215 of file berryWorkbenchActionConstants.h.

const QString berry::WorkbenchActionConstants::EDIT_END
static

Edit menu: name of group for end of menu (value "editEnd").

Definition at line 205 of file berryWorkbenchActionConstants.h.

const QString berry::WorkbenchActionConstants::EDIT_START
static

Edit menu: name of group for start of menu (value "editStart").

Definition at line 200 of file berryWorkbenchActionConstants.h.

const QString berry::WorkbenchActionConstants::FILE_END
static

File menu: name of group for end of menu (value "fileEnd").

Definition at line 173 of file berryWorkbenchActionConstants.h.

const QString berry::WorkbenchActionConstants::FILE_START
static

File menu: name of group for start of menu (value "fileStart").

Definition at line 168 of file berryWorkbenchActionConstants.h.

const QString berry::WorkbenchActionConstants::FIND_EXT
static

Edit menu: name of group for extra Find-like actions (value "find.ext").

Definition at line 220 of file berryWorkbenchActionConstants.h.

const QString berry::WorkbenchActionConstants::HELP_END
static

Help menu: name of group for end of menu (value "helpEnd").

Definition at line 238 of file berryWorkbenchActionConstants.h.

const QString berry::WorkbenchActionConstants::HELP_START
static

Help menu: name of group for start of menu (value "helpStart").

Definition at line 232 of file berryWorkbenchActionConstants.h.

const QString berry::WorkbenchActionConstants::M_EDIT
static

Name of standard Edit menu (value "edit").

Definition at line 153 of file berryWorkbenchActionConstants.h.

const QString berry::WorkbenchActionConstants::M_FILE
static

Name of standard File menu (value "file").

Definition at line 148 of file berryWorkbenchActionConstants.h.

const QString berry::WorkbenchActionConstants::M_HELP
static

Name of standard Help menu (value "help").

Definition at line 163 of file berryWorkbenchActionConstants.h.

const QString berry::WorkbenchActionConstants::M_WINDOW
static

Name of standard Window menu (value "window").

Definition at line 158 of file berryWorkbenchActionConstants.h.

const QString berry::WorkbenchActionConstants::MB_ADDITIONS
static

Name of group for adding new top-level menus (value "additions").

Definition at line 143 of file berryWorkbenchActionConstants.h.

Referenced by QmitkExtActionBarAdvisor::FillMenuBar().

const QString berry::WorkbenchActionConstants::MRU
static

File menu: name of "Most Recently Used File" group. (value "mru").

Definition at line 194 of file berryWorkbenchActionConstants.h.

const QString berry::WorkbenchActionConstants::NEW_EXT
static

File menu: name of group for extra New-like actions (value "new.ext").

Definition at line 178 of file berryWorkbenchActionConstants.h.

const QString berry::WorkbenchActionConstants::SAVE_EXT
static

File menu: name of group for extra Save-like actions (value "save.ext").

Definition at line 188 of file berryWorkbenchActionConstants.h.

const QString berry::WorkbenchActionConstants::UNDO_EXT
static

Edit menu: name of group for extra Undo-like actions (value "undo.ext").

Definition at line 210 of file berryWorkbenchActionConstants.h.


The documentation for this struct was generated from the following files: