Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
berry::UITestCase::TestWindowListener Class Reference

#include <berryUITestCase.h>

Inheritance diagram for berry::UITestCase::TestWindowListener:
Collaboration diagram for berry::UITestCase::TestWindowListener:

Public Member Functions

 TestWindowListener (QList< IWorkbenchWindow::Pointer > &testWindows)
 
void SetEnabled (bool enabled)
 
void WindowActivated (const IWorkbenchWindow::Pointer &window)
 
void WindowDeactivated (const IWorkbenchWindow::Pointer &window)
 
void WindowClosed (const IWorkbenchWindow::Pointer &window)
 
void WindowOpened (const IWorkbenchWindow::Pointer &window)
 
- Public Member Functions inherited from berry::IWindowListener
virtual ~IWindowListener ()
 

Detailed Description

Definition at line 148 of file berryUITestCase.h.

Constructor & Destructor Documentation

berry::UITestCase::TestWindowListener::TestWindowListener ( QList< IWorkbenchWindow::Pointer > &  testWindows)

Definition at line 172 of file berryUITestCase.cpp.

Member Function Documentation

void berry::UITestCase::TestWindowListener::SetEnabled ( bool  enabled)

Definition at line 178 of file berryUITestCase.cpp.

void berry::UITestCase::TestWindowListener::WindowActivated ( const IWorkbenchWindow::Pointer )
virtual

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 from berry::IWindowListener.

Definition at line 183 of file berryUITestCase.cpp.

void berry::UITestCase::TestWindowListener::WindowClosed ( const IWorkbenchWindow::Pointer )
virtual

Notifies this listener that the given window has been closed.

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

Reimplemented from berry::IWindowListener.

Definition at line 195 of file berryUITestCase.cpp.

void berry::UITestCase::TestWindowListener::WindowDeactivated ( const IWorkbenchWindow::Pointer )
virtual

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 from berry::IWindowListener.

Definition at line 189 of file berryUITestCase.cpp.

void berry::UITestCase::TestWindowListener::WindowOpened ( const IWorkbenchWindow::Pointer )
virtual

Notifies this listener that the given window has been opened.

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

Reimplemented from berry::IWindowListener.

Definition at line 202 of file berryUITestCase.cpp.


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