Medical Imaging Interaction Toolkit
2018.4.99-389bf124
Medical Imaging Interaction Toolkit
|
#include <QmitkExtActionBarAdvisor.h>
Public Member Functions | |
QmitkExtActionBarAdvisor (berry::SmartPointer< berry::IActionBarConfigurer > configurer) | |
![]() | |
berryObjectMacro (berry::ActionBarAdvisor) | |
~ActionBarAdvisor () override | |
ActionBarAdvisor (const SmartPointer< IActionBarConfigurer > &configurer) | |
virtual void | FillActionBars (FillFlags flags) |
virtual bool | SaveState (SmartPointer< IMemento > memento) |
virtual bool | RestoreState (SmartPointer< IMemento > memento) |
![]() | |
virtual QString | GetClassName () const |
virtual Reflection::TypeInfo | GetTypeInfo () const |
virtual QList< Reflection::TypeInfo > | GetSuperclasses () const |
virtual void | Delete () |
QDebug | Print (QDebug os, Indent Indent=0) const |
virtual QString | ToString () const |
virtual uint | HashCode () const |
virtual bool | operator< (const Object *) const |
void | Register () const |
void | UnRegister (bool del=true) const |
int | GetReferenceCount () const |
void | SetReferenceCount (int) |
void | AddDestroyListener (const MessageAbstractDelegate<> &delegate) const |
void | RemoveDestroyListener (const MessageAbstractDelegate<> &delegate) const |
virtual bool | operator== (const Object *) const |
Protected Member Functions | |
void | MakeActions (berry::IWorkbenchWindow *window) override |
void | FillMenuBar (berry::IMenuManager *menuBar) override |
void | FillToolBar (berry::IToolBarManager *toolBar) override |
![]() | |
virtual SmartPointer< IActionBarConfigurer > | GetActionBarConfigurer () const |
virtual void | Register (QAction *action, const QString &id) |
virtual QAction * | GetAction (const QString &id) const |
virtual void | FillToolBar (IToolBarManager *toolBar) |
virtual void | FillStatusLine (IStatusLineManager *statusLine) |
![]() | |
Object () | |
virtual | ~Object () |
virtual QDebug | PrintSelf (QDebug os, Indent indent) const |
virtual QDebug | PrintHeader (QDebug os, Indent indent) const |
virtual QDebug | PrintTrailer (QDebug os, Indent indent) const |
Additional Inherited Members | |
![]() | |
enum | FillType { FILL_PROXY, FILL_MENU_BAR, FILL_TOOL_BAR, FILL_STATUS_LINE } |
![]() | |
typedef Object | Self |
typedef berry::SmartPointer< Self > | Pointer |
typedef berry::SmartPointer< const Self > | ConstPointer |
typedef berry::WeakPointer< Self > | WeakPtr |
typedef berry::WeakPointer< const Self > | ConstWeakPtr |
![]() | |
static const char * | GetStaticClassName () |
static Reflection::TypeInfo | GetStaticTypeInfo () |
static QList< Reflection::TypeInfo > | GetStaticSuperclasses () |
![]() | |
QAtomicInt | m_ReferenceCount |
QMutex | m_ReferenceCountLock |
Definition at line 32 of file QmitkExtActionBarAdvisor.h.
QmitkExtActionBarAdvisor::QmitkExtActionBarAdvisor | ( | berry::SmartPointer< berry::IActionBarConfigurer > | configurer | ) |
Definition at line 38 of file QmitkExtActionBarAdvisor.cpp.
References berry::SmartPointer< TObjectType >::GetPointer().
|
overrideprotectedvirtual |
Fills the menu bar with the main menus for the window.
The default implementation does nothing. Subclasses may override.
menuBar | the menu manager for the menu bar |
Reimplemented from berry::ActionBarAdvisor.
Definition at line 75 of file QmitkExtActionBarAdvisor.cpp.
References berry::IContributionManager::Add(), and berry::WorkbenchActionConstants::MB_ADDITIONS.
|
overrideprotected |
Definition at line 84 of file QmitkExtActionBarAdvisor.cpp.
References berry::ContributionManager::Add(), berry::WorkbenchActionConstants::CLOSE_EXT, berry::WorkbenchActionConstants::EDIT_END, berry::IWorkbenchCommandConstants::EDIT_REDO, berry::WorkbenchActionConstants::EDIT_START, berry::IWorkbenchCommandConstants::EDIT_UNDO, berry::WorkbenchActionConstants::FILE_END, berry::IWorkbenchCommandConstants::FILE_EXIT, berry::IWorkbenchCommandConstants::FILE_OPEN, berry::IWorkbenchCommandConstants::FILE_SAVE, berry::WorkbenchActionConstants::FILE_START, berry::ActionBarAdvisor::GetAction(), berry::IWorkbench::GetIntroManager(), berry::SmartPointer< TObjectType >::GetPointer(), berry::IWorkbenchWindow::GetWorkbench(), berry::IIntroManager::HasIntro(), berry::IWorkbenchCommandConstants::HELP_ABOUT, berry::IWorkbenchCommandConstants::HELP_DYNAMIC_HELP, berry::WorkbenchActionConstants::HELP_END, berry::IWorkbenchCommandConstants::HELP_HELP_CONTENTS, berry::WorkbenchActionConstants::HELP_START, berry::IWorkbenchCommandConstants::HELP_WELCOME, berry::WorkbenchActionConstants::M_EDIT, berry::WorkbenchActionConstants::M_FILE, berry::WorkbenchActionConstants::M_HELP, berry::WorkbenchActionConstants::M_WINDOW, berry::WorkbenchActionConstants::MB_ADDITIONS, menu, berry::WorkbenchActionConstants::MRU, berry::WorkbenchActionConstants::NEW_EXT, berry::ContributionItemFactory::OPEN_WINDOWS, berry::ContributionItemFactory::PERSPECTIVES_SHORTLIST, mitk::WorkbenchCommandConstants::PROJECT_CLOSE, mitk::WorkbenchCommandConstants::PROJECT_SAVE, berry::ContributionItemFactory::REOPEN_EDITORS, berry::WorkbenchActionConstants::SAVE_EXT, berry::ContributionItem::STYLE_PUSH, berry::WorkbenchActionConstants::UNDO_EXT, berry::ContributionItemFactory::VIEWS_SHORTLIST, berry::IWorkbenchCommandConstants::WINDOW_CLOSE_ALL_PERSPECTIVES, berry::IWorkbenchCommandConstants::WINDOW_CLOSE_PERSPECTIVE, berry::IWorkbenchCommandConstants::WINDOW_PREFERENCES, berry::IWorkbenchCommandConstants::WINDOW_RESET_PERSPECTIVE, and berry::IWorkbenchCommandConstants::WINDOW_SAVE_PERSPECTIVE_AS.
|
overrideprotectedvirtual |
Instantiates the actions used in the fill methods. Use Register() to add it to the list of actions to be disposed when the window is closed.
window | the window containing the action bars |
Reimplemented from berry::ActionBarAdvisor.
Definition at line 44 of file QmitkExtActionBarAdvisor.cpp.
References berry::IWorkbenchCommandConstants::FILE_EXIT, berry::IWorkbenchCommandConstants::FILE_OPEN, berry::IWorkbenchCommandConstants::FILE_SAVE, mitk::WorkbenchCommandConstants::PROJECT_CLOSE, mitk::WorkbenchCommandConstants::PROJECT_SAVE, and berry::Object::Register().