Medical Imaging Interaction Toolkit  2023.04.00
Medical Imaging Interaction Toolkit
berry::IWindowListener Struct Reference

#include <berryIWindowListener.h>

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

virtual berry::IWindowListener::~IWindowListener ( )
virtual

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

Definition at line 60 of file berryIWindowListener.h.

◆ WindowClosed()

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

Notifies this listener that the given window has been closed.

See also
IWorkbenchWindow::close

Definition at line 76 of file berryIWindowListener.h.

◆ 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).

Definition at line 69 of file berryIWindowListener.h.

◆ WindowOpened()

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

Notifies this listener that the given window has been opened.

See also
IWorkbench::openWorkbenchWindow

Definition at line 83 of file berryIWindowListener.h.


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