Medical Imaging Interaction Toolkit  2018.4.99-3e3f1a6e
Medical Imaging Interaction Toolkit
berry::IWindowListener Struct Reference

#include <berryIWindowListener.h>

Inheritance diagram for berry::IWindowListener:

Classes

struct  Events
 

Public Member Functions

virtual ~IWindowListener ()
 
virtual void WindowActivated (const IWorkbenchWindow::Pointer &)
 
virtual void WindowDeactivated (const IWorkbenchWindow::Pointer &)
 
virtual void WindowClosed (const IWorkbenchWindow::Pointer &)
 
virtual void WindowOpened (const IWorkbenchWindow::Pointer &)
 

Detailed Description

Interface for listening to window lifecycle events.

This interface may be implemented by clients.

Definition at line 32 of file berryIWindowListener.h.

Constructor & Destructor Documentation

◆ ~IWindowListener()

berry::IWindowListener::~IWindowListener ( )
virtual

Definition at line 41 of file berryIWindowListener.cpp.

Member Function Documentation

◆ WindowActivated()

virtual void berry::IWindowListener::WindowActivated ( const IWorkbenchWindow::Pointer )
inlinevirtual

Notifies this listener that the given window has been activated.

Note: This event is not fired if no perspective is open (the window is empty).

Parameters
windowthe window that was activated

Definition at line 62 of file berryIWindowListener.h.

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

◆ WindowClosed()

virtual void berry::IWindowListener::WindowClosed ( const IWorkbenchWindow::Pointer )
inlinevirtual

Notifies this listener that the given window has been closed.

Parameters
windowthe window that was closed
See also
IWorkbenchWindow::close

Reimplemented in QmitkFunctionalityCoordinator.

Definition at line 81 of file berryIWindowListener.h.

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

◆ WindowDeactivated()

virtual void berry::IWindowListener::WindowDeactivated ( const IWorkbenchWindow::Pointer )
inlinevirtual

Notifies this listener that the given window has been deactivated.

Note: This event is not fired if no perspective is open (the window is empty).

Parameters
windowthe window that was activated

Definition at line 73 of file berryIWindowListener.h.

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

◆ WindowOpened()

virtual void berry::IWindowListener::WindowOpened ( const IWorkbenchWindow::Pointer )
inlinevirtual

Notifies this listener that the given window has been opened.

Parameters
windowthe window that was opened
See also
IWorkbench::openWorkbenchWindow

Reimplemented in QmitkFunctionalityCoordinator.

Definition at line 89 of file berryIWindowListener.h.

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


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