|
Medical Imaging Interaction Toolkit
2025.08.00
Medical Imaging Interaction Toolkit
|
#include <berryIPerspectiveListener.h>
Classes | |
| struct | Events |
Interface for listening to perspective lifecycle events.
This interface may be implemented by clients.
Definition at line 36 of file berryIPerspectiveListener.h.
|
virtual |
|
pure virtual |
|
virtual |
Notifies this listener that a perspective in the given page has been activated.
| page | the page containing the activated perspective |
| perspective | the perspective descriptor that was activated |
|
virtual |
Notifies this listener that a perspective has changed in some way (for example, editor area hidden, perspective reset, view show/hide, editor open/close, etc).
| page | the page containing the affected perspective |
| perspective | the perspective descriptor |
| changeId | one of the CHANGE_* constants on IWorkbenchPage |
|
virtual |
Notifies this listener that a part in the given page's perspective has changed in some way (for example, view show/hide, editor open/close, etc).
| page | the workbench page containing the perspective |
| perspective | the descriptor for the changed perspective |
| partRef | the reference to the affected part |
| changeId | one of the CHANGE_* constants on IWorkbenchPage |
|
virtual |
Notifies this listener that a perspective in the given page has been closed.
| page | the page containing the closed perspective |
| perspective | the perspective descriptor that was closed |
|
virtual |
Notifies this listener that a perspective in the given page has been deactivated.
| page | the page containing the deactivated perspective |
| perspective | the perspective descriptor that was deactivated |
|
virtual |
Notifies this listener that a perspective in the given page has been opened.
| page | the page containing the opened perspective |
| perspective | the perspective descriptor that was opened |
|
virtual |
Notifies this listener that a perspective in the given page is about to be deactivated.
Note: This does not have the ability to veto a perspective deactivation.
| page | the page containing the deactivated perspective |
| perspective | the perspective descriptor that was deactivated |
|
virtual |
Notifies this listener that a perspective in the given page has been saved as a new perspective with a different perspective descriptor.
| page | the page containing the saved perspective |
| oldPerspective | the old perspective descriptor |
| newPerspective | the new perspective descriptor |