Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitk::IRenderWindowPartListener Struct Referenceabstract

Interface for berry::IViewPart implementations to be notified about mitk::IRenderWindowPart lifecycle changes. More...

#include <mitkIRenderWindowPartListener.h>

Public Member Functions

virtual ~IRenderWindowPartListener ()
 
virtual void RenderWindowPartActivated (mitk::IRenderWindowPart *renderWindowPart)=0
 
virtual void RenderWindowPartDeactivated (mitk::IRenderWindowPart *renderWindowPart)=0
 

Detailed Description

Interface for berry::IViewPart implementations to be notified about mitk::IRenderWindowPart lifecycle changes.

This interface is intended to be implemented by subclasses of berry::IWorkbenchPart. If implemented, the interface methods are called automatically if a Workbench part which implementes mitk::IRenderWindowPart is activated or deactivated.

The notion of activated and deactivated is slightly different from the usual Workbench part lifecycle.

Definition at line 38 of file mitkIRenderWindowPartListener.h.

Constructor & Destructor Documentation

mitk::IRenderWindowPartListener::~IRenderWindowPartListener ( )
virtual

Definition at line 21 of file mitkIRenderWindowPartListener.cpp.

Member Function Documentation

virtual void mitk::IRenderWindowPartListener::RenderWindowPartActivated ( mitk::IRenderWindowPart renderWindowPart)
pure virtual

Called when a IRenderWindowPart is activated or if it becomes visible and no other IRenderWindowPart was activated before.

Parameters
renderWindowPartThe newly activated IRenderWindowPart.
virtual void mitk::IRenderWindowPartListener::RenderWindowPartDeactivated ( mitk::IRenderWindowPart renderWindowPart)
pure virtual

Called when a IRenderWindowPart becomes invisible and if it was active before.

Parameters
renderWindowPartThe deactivated IRenderWindowPart.

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