Medical Imaging Interaction Toolkit  2024.06.00
Medical Imaging Interaction Toolkit
QmitkExtActionBarAdvisor Class Reference

#include <QmitkExtActionBarAdvisor.h>

Inheritance diagram for QmitkExtActionBarAdvisor:
Collaboration diagram for QmitkExtActionBarAdvisor:

Public Member Functions

 QmitkExtActionBarAdvisor (berry::SmartPointer< berry::IActionBarConfigurer > configurer)
 
- Public Member Functions inherited from berry::ActionBarAdvisor
 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)
 
void Register () const
 
- Public Member Functions inherited from berry::Object
virtual QString GetClassName () const
 
virtual Reflection::TypeInfo GetTypeInfo () const
 
virtual QList< Reflection::TypeInfoGetSuperclasses () 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< IActionBarConfigurerGetActionBarConfigurer () 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::ActionBarAdvisor
enum  FillType { FILL_PROXY, FILL_MENU_BAR, FILL_TOOL_BAR, FILL_STATUS_LINE }
 
- Public Types inherited from berry::Object
typedef Object Self
 
typedef berry::SmartPointer< SelfPointer
 
typedef berry::SmartPointer< const SelfConstPointer
 
typedef berry::WeakPointer< SelfWeakPtr
 
typedef berry::WeakPointer< const SelfConstWeakPtr
 
- Static Public Member Functions inherited from berry::Object
static const char * GetStaticClassName ()
 
static Reflection::TypeInfo GetStaticTypeInfo ()
 
static QList< Reflection::TypeInfoGetStaticSuperclasses ()
 
- Protected Attributes inherited from berry::Object
QAtomicInt m_ReferenceCount
 
QMutex m_ReferenceCountLock
 

Detailed Description

Definition at line 32 of file QmitkExtActionBarAdvisor.h.

Constructor & Destructor Documentation

◆ QmitkExtActionBarAdvisor()

QmitkExtActionBarAdvisor::QmitkExtActionBarAdvisor ( berry::SmartPointer< berry::IActionBarConfigurer configurer)

Member Function Documentation

◆ FillMenuBar()

void QmitkExtActionBarAdvisor::FillMenuBar ( berry::IMenuManager menuBar)
overrideprotectedvirtual

Fills the menu bar with the main menus for the window.

The default implementation does nothing. Subclasses may override.

Parameters
menuBarthe menu manager for the menu bar

Reimplemented from berry::ActionBarAdvisor.

◆ FillToolBar()

void QmitkExtActionBarAdvisor::FillToolBar ( berry::IToolBarManager *  toolBar)
overrideprotected

◆ MakeActions()

void QmitkExtActionBarAdvisor::MakeActions ( berry::IWorkbenchWindow window)
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.

Parameters
windowthe window containing the action bars

Reimplemented from berry::ActionBarAdvisor.


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