Medical Imaging Interaction Toolkit  2023.12.00
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 132 of file berryWorkbenchActionConstants.h.

Member Data Documentation

◆ ADD_EXT

const QString berry::WorkbenchActionConstants::ADD_EXT
static

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

Definition at line 221 of file berryWorkbenchActionConstants.h.

◆ CLOSE_EXT

const QString berry::WorkbenchActionConstants::CLOSE_EXT
static

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

Definition at line 179 of file berryWorkbenchActionConstants.h.

◆ CUT_EXT

const QString berry::WorkbenchActionConstants::CUT_EXT
static

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

Definition at line 211 of file berryWorkbenchActionConstants.h.

◆ EDIT_END

const QString berry::WorkbenchActionConstants::EDIT_END
static

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

Definition at line 201 of file berryWorkbenchActionConstants.h.

◆ EDIT_START

const QString berry::WorkbenchActionConstants::EDIT_START
static

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

Definition at line 196 of file berryWorkbenchActionConstants.h.

◆ FILE_END

const QString berry::WorkbenchActionConstants::FILE_END
static

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

Definition at line 169 of file berryWorkbenchActionConstants.h.

◆ FILE_START

const QString berry::WorkbenchActionConstants::FILE_START
static

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

Definition at line 164 of file berryWorkbenchActionConstants.h.

◆ FIND_EXT

const QString berry::WorkbenchActionConstants::FIND_EXT
static

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

Definition at line 216 of file berryWorkbenchActionConstants.h.

◆ HELP_END

const QString berry::WorkbenchActionConstants::HELP_END
static

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

Definition at line 234 of file berryWorkbenchActionConstants.h.

◆ HELP_START

const QString berry::WorkbenchActionConstants::HELP_START
static

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

Definition at line 228 of file berryWorkbenchActionConstants.h.

◆ M_EDIT

const QString berry::WorkbenchActionConstants::M_EDIT
static

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

Definition at line 149 of file berryWorkbenchActionConstants.h.

◆ M_FILE

const QString berry::WorkbenchActionConstants::M_FILE
static

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

Definition at line 144 of file berryWorkbenchActionConstants.h.

◆ M_HELP

const QString berry::WorkbenchActionConstants::M_HELP
static

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

Definition at line 159 of file berryWorkbenchActionConstants.h.

◆ M_WINDOW

const QString berry::WorkbenchActionConstants::M_WINDOW
static

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

Definition at line 154 of file berryWorkbenchActionConstants.h.

◆ MB_ADDITIONS

const QString berry::WorkbenchActionConstants::MB_ADDITIONS
static

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

Definition at line 139 of file berryWorkbenchActionConstants.h.

◆ MRU

const QString berry::WorkbenchActionConstants::MRU
static

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

Definition at line 190 of file berryWorkbenchActionConstants.h.

◆ NEW_EXT

const QString berry::WorkbenchActionConstants::NEW_EXT
static

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

Definition at line 174 of file berryWorkbenchActionConstants.h.

◆ SAVE_EXT

const QString berry::WorkbenchActionConstants::SAVE_EXT
static

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

Definition at line 184 of file berryWorkbenchActionConstants.h.

◆ UNDO_EXT

const QString berry::WorkbenchActionConstants::UNDO_EXT
static

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

Definition at line 206 of file berryWorkbenchActionConstants.h.


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