Medical Imaging Interaction Toolkit
2018.4.99-389bf124
Medical Imaging Interaction Toolkit
|
#include <berryIPartListener.h>
Classes | |
struct | Events |
Public Member Functions | |
virtual | ~IPartListener () |
virtual Events::Types | GetPartEventTypes () const =0 |
virtual void | PartActivated (const IWorkbenchPartReference::Pointer &) |
virtual void | PartBroughtToTop (const IWorkbenchPartReference::Pointer &) |
virtual void | PartClosed (const IWorkbenchPartReference::Pointer &) |
virtual void | PartDeactivated (const IWorkbenchPartReference::Pointer &) |
virtual void | PartOpened (const IWorkbenchPartReference::Pointer &) |
virtual void | PartHidden (const IWorkbenchPartReference::Pointer &) |
virtual void | PartVisible (const IWorkbenchPartReference::Pointer &) |
virtual void | PartInputChanged (const IWorkbenchPartReference::Pointer &) |
Interface for listening to part lifecycle events.
This interface may be implemented by clients.
Definition at line 34 of file berryIPartListener.h.
|
virtual |
Definition at line 59 of file berryIPartListener.cpp.
|
pure virtual |
Implemented in QmitkAbstractMultiWidgetEditor, QmitkStdMultiWidgetEditor, and QmitkFunctionalityCoordinator.
Referenced by berry::IPartListener::Events::AddListener().
|
inlinevirtual |
Notifies this listener that the given part has been activated.
partRef | the part that was activated |
Reimplemented in QmitkFunctionalityCoordinator.
Definition at line 83 of file berryIPartListener.h.
Referenced by berry::IPartListener::Events::AddListener(), and berry::IPartListener::Events::RemoveListener().
|
inlinevirtual |
Notifies this listener that the given part has been brought to the top.
These events occur when an editor is brought to the top in the editor area, or when a view is brought to the top in a page book with multiple views. They are normally only sent when a part is brought to the top programmatically (via IPerspective.bringToTop
). When a part is activated by the user clicking on it, only partActivated
is sent.
partRef | the part that was surfaced |
Definition at line 98 of file berryIPartListener.h.
Referenced by berry::IPartListener::Events::AddListener(), and berry::IPartListener::Events::RemoveListener().
|
inlinevirtual |
Notifies this listener that the given part has been closed.
Note that if other perspectives in the same page share the view, this notification is not sent. It is only sent when the view is being removed from the page entirely (it is being disposed).
partRef | the part that was closed |
Reimplemented in QmitkAbstractMultiWidgetEditor, QmitkFunctionalityCoordinator, and QmitkStdMultiWidgetEditor.
Definition at line 111 of file berryIPartListener.h.
Referenced by berry::IPartListener::Events::AddListener(), and berry::IPartListener::Events::RemoveListener().
|
inlinevirtual |
Notifies this listener that the given part has been deactivated.
partRef | the part that was deactivated |
Reimplemented in QmitkFunctionalityCoordinator.
Definition at line 119 of file berryIPartListener.h.
Referenced by berry::IPartListener::Events::AddListener(), and berry::IPartListener::Events::RemoveListener().
|
inlinevirtual |
Notifies this listener that the given part is hidden or obscured by another part.
partRef | the part that is hidden or obscured by another part |
Reimplemented in QmitkFunctionalityCoordinator, and QmitkStdMultiWidgetEditor.
Definition at line 139 of file berryIPartListener.h.
Referenced by berry::IPartListener::Events::AddListener(), and berry::IPartListener::Events::RemoveListener().
|
inlinevirtual |
Notifies this listener that the given part's input was changed.
partRef | the part whose input was changed |
Definition at line 153 of file berryIPartListener.h.
Referenced by berry::IPartListener::Events::AddListener(), and berry::IPartListener::Events::RemoveListener().
|
inlinevirtual |
Notifies this listener that the given part has been opened.
Note that if other perspectives in the same page share the view, this notification is not sent. It is only sent when the view is being newly opened in the page (it is being created).
partRef | the part that was opened |
Reimplemented in QmitkAbstractMultiWidgetEditor, QmitkFunctionalityCoordinator, and QmitkStdMultiWidgetEditor.
Definition at line 132 of file berryIPartListener.h.
Referenced by berry::IPartListener::Events::AddListener(), and berry::IPartListener::Events::RemoveListener().
|
inlinevirtual |
Notifies this listener that the given part is visible.
partRef | the part that is visible |
Reimplemented in QmitkFunctionalityCoordinator, and QmitkStdMultiWidgetEditor.
Definition at line 146 of file berryIPartListener.h.
Referenced by berry::IPartListener::Events::AddListener(), and berry::IPartListener::Events::RemoveListener().