Medical Imaging Interaction Toolkit  2016.11.0
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 36 of file berryIWindowListener.h.

Constructor & Destructor Documentation

berry::IWindowListener::~IWindowListener ( )
virtual

Definition at line 45 of file berryIWindowListener.cpp.

Member Function Documentation

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

Reimplemented in berry::UITestCase::TestWindowListener.

Definition at line 66 of file berryIWindowListener.h.

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

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 berry::UITestCase::TestWindowListener, and QmitkFunctionalityCoordinator.

Definition at line 85 of file berryIWindowListener.h.

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

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

Reimplemented in berry::UITestCase::TestWindowListener.

Definition at line 77 of file berryIWindowListener.h.

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

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 berry::UITestCase::TestWindowListener, and QmitkFunctionalityCoordinator.

Definition at line 93 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: