Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
berry::IPartListener Struct Referenceabstract

#include <berryIPartListener.h>

Inheritance diagram for berry::IPartListener:

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 &)
 

Detailed Description

Interface for listening to part lifecycle events.

This interface may be implemented by clients.

See also
IPartService::AddPartListener(IPartListener)

Definition at line 38 of file berryIPartListener.h.

Constructor & Destructor Documentation

berry::IPartListener::~IPartListener ( )
virtual

Definition at line 63 of file berryIPartListener.cpp.

Member Function Documentation

virtual Events::Types berry::IPartListener::GetPartEventTypes ( ) const
pure virtual
virtual void berry::IPartListener::PartActivated ( const IWorkbenchPartReference::Pointer )
inlinevirtual

Notifies this listener that the given part has been activated.

Parameters
partRefthe part that was activated
See also
IWorkbenchPage::activate

Reimplemented in QmitkFunctionalityCoordinator.

Definition at line 87 of file berryIPartListener.h.

Referenced by berry::IPartListener::Events::AddListener(), and berry::IPartListener::Events::RemoveListener().

virtual void berry::IPartListener::PartBroughtToTop ( const IWorkbenchPartReference::Pointer )
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.

Parameters
partRefthe part that was surfaced
See also
IWorkbenchPage::bringToTop

Definition at line 102 of file berryIPartListener.h.

Referenced by berry::IPartListener::Events::AddListener(), and berry::IPartListener::Events::RemoveListener().

virtual void berry::IPartListener::PartClosed ( const IWorkbenchPartReference::Pointer )
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).

Parameters
partRefthe part that was closed
See also
IWorkbenchPage::hideView

Reimplemented in QmitkFunctionalityCoordinator.

Definition at line 115 of file berryIPartListener.h.

Referenced by berry::IPartListener::Events::AddListener(), and berry::IPartListener::Events::RemoveListener().

virtual void berry::IPartListener::PartDeactivated ( const IWorkbenchPartReference::Pointer )
inlinevirtual

Notifies this listener that the given part has been deactivated.

Parameters
partRefthe part that was deactivated
See also
IWorkbenchPage::activate

Reimplemented in QmitkFunctionalityCoordinator.

Definition at line 123 of file berryIPartListener.h.

Referenced by berry::IPartListener::Events::AddListener(), and berry::IPartListener::Events::RemoveListener().

virtual void berry::IPartListener::PartHidden ( const IWorkbenchPartReference::Pointer )
inlinevirtual

Notifies this listener that the given part is hidden or obscured by another part.

Parameters
partRefthe part that is hidden or obscured by another part

Reimplemented in QmitkFunctionalityCoordinator.

Definition at line 143 of file berryIPartListener.h.

Referenced by berry::IPartListener::Events::AddListener(), and berry::IPartListener::Events::RemoveListener().

virtual void berry::IPartListener::PartInputChanged ( const IWorkbenchPartReference::Pointer )
inlinevirtual

Notifies this listener that the given part's input was changed.

Parameters
partRefthe part whose input was changed

Definition at line 157 of file berryIPartListener.h.

Referenced by berry::IPartListener::Events::AddListener(), and berry::IPartListener::Events::RemoveListener().

virtual void berry::IPartListener::PartOpened ( const IWorkbenchPartReference::Pointer )
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).

Parameters
partRefthe part that was opened
See also
IWorkbenchPage::showView

Reimplemented in QmitkFunctionalityCoordinator.

Definition at line 136 of file berryIPartListener.h.

Referenced by berry::IPartListener::Events::AddListener(), and berry::IPartListener::Events::RemoveListener().

virtual void berry::IPartListener::PartVisible ( const IWorkbenchPartReference::Pointer )
inlinevirtual

Notifies this listener that the given part is visible.

Parameters
partRefthe part that is visible

Reimplemented in QmitkFunctionalityCoordinator.

Definition at line 150 of file berryIPartListener.h.

Referenced by berry::IPartListener::Events::AddListener(), and berry::IPartListener::Events::RemoveListener().


The documentation for this struct was generated from the following files: