Medical Imaging Interaction Toolkit
2023.12.00
Medical Imaging Interaction Toolkit
|
#include <berryIActionBars.h>
Public Member Functions | |
berryObjectMacro (berry::IActionBars) | |
virtual IMenuManager * | GetMenuManager ()=0 |
virtual IServiceLocator * | GetServiceLocator ()=0 |
virtual IStatusLineManager * | GetStatusLineManager ()=0 |
virtual IToolBarManager * | GetToolBarManager ()=0 |
virtual void | UpdateActionBars ()=0 |
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 |
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 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 |
Protected Attributes inherited from berry::Object | |
QAtomicInt | m_ReferenceCount |
QMutex | m_ReferenceCountLock |
Used by a part to access its menu, toolbar, and status line managers.
Within the workbench each part, editor or view, has a private set of action bars. This set, which contains a menu, toolbar, and status line, appears in the local toolbar for a view and in the window for an editor. The view may provide an implementation for pre-existing actions or add new actions to the action bars.
A part may also contribute new actions to the action bars as required. To do this, call GetMenuManager
, GetToolBarManager
, or GetStatusLineManager
as appropriate to get the action target. Add the action(s) to the target and call update
to commit any changes to the underlying widgets.
This interface is not intended to be implemented by clients.
Definition at line 46 of file berryIActionBars.h.
berry::IActionBars::berryObjectMacro | ( | berry::IActionBars | ) |
|
pure virtual |
Returns the menu manager.
Note: Clients who add or remove items from the returned menu manager are responsible for calling updateActionBars
so that the changes can be propagated throughout the workbench.
|
pure virtual |
Returns the service locator for these action bars. The locator is found by looking locally, and then ascending the action bar hierarchy.
null
.
|
pure virtual |
Returns the status line manager.
Note: Clients who add or remove items from the returned status line manager are responsible for calling updateActionBars
so that the changes can be propagated throughout the workbench.
|
pure virtual |
Returns the tool bar manager.
Note: Clients who add or remove items from the returned tool bar manager are responsible for calling updateActionBars
so that the changes can be propagated throughout the workbench.
|
pure virtual |
Updates the action bars.
Clients who add or remove items from the menu, tool bar, or status line managers, or that update global action handlers, should call this method to propagated the changes throughout the workbench.