Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
#include <QmitkExtActionBarAdvisor.h>
Public Member Functions | |
QmitkExtActionBarAdvisor (berry::SmartPointer< berry::IActionBarConfigurer > configurer) | |
Public Member Functions inherited from berry::ActionBarAdvisor | |
berryObjectMacro (berry::ActionBarAdvisor) enum FillType | |
~ActionBarAdvisor () | |
ActionBarAdvisor (const SmartPointer< IActionBarConfigurer > &configurer) | |
virtual void | FillActionBars (FillFlags flags) |
virtual bool | SaveState (SmartPointer< IMemento > memento) |
virtual bool | RestoreState (SmartPointer< IMemento > memento) |
Public Member Functions inherited from berry::Object | |
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 |
Protected Member Functions inherited from berry::ActionBarAdvisor | |
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) |
Protected Member Functions inherited from berry::Object | |
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 | |
Public Types inherited from berry::Object | |
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 Public Member Functions inherited from berry::Object | |
static const char * | GetStaticClassName () |
static Reflection::TypeInfo | GetStaticTypeInfo () |
static QList< Reflection::TypeInfo > | GetStaticSuperclasses () |
Protected Attributes inherited from berry::Object | |
QAtomicInt | m_ReferenceCount |
QMutex | m_ReferenceCountLock |
Definition at line 36 of file QmitkExtActionBarAdvisor.h.
QmitkExtActionBarAdvisor::QmitkExtActionBarAdvisor | ( | berry::SmartPointer< berry::IActionBarConfigurer > | configurer | ) |
Definition at line 42 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 79 of file QmitkExtActionBarAdvisor.cpp.
References berry::IContributionManager::Add(), and berry::WorkbenchActionConstants::MB_ADDITIONS.
|
overrideprotected |
Definition at line 88 of file QmitkExtActionBarAdvisor.cpp.
|
overrideprotectedvirtual |
Instantiates the actions used in the fill methods. Use Register(QAction*) 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 48 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().