18 #ifndef BERRYIPERSPECTIVELISTENER_H_
19 #define BERRYIPERSPECTIVELISTENER_H_
29 struct IWorkbenchPage;
47 ACTIVATED = 0x00000001,
49 PART_CHANGED = 0x00000004,
52 DEACTIVATED = 0x00000020,
53 SAVED_AS = 0x00000040,
54 PRE_DEACTIVATE = 0x00000080,
59 Q_DECLARE_FLAGS(Types, Type)
82 virtual ~IPerspectiveListener();
84 virtual
Events::Types GetPerspectiveEventTypes() const = 0;
94 virtual
void PerspectiveActivated(const
SmartPointer<IWorkbenchPage>& page,
106 virtual
void PerspectiveChanged(const
SmartPointer<IWorkbenchPage>& page,
118 virtual
void PerspectiveChanged(const
SmartPointer<IWorkbenchPage>& page,
120 const
SmartPointer<IWorkbenchPartReference>& partRef, const QString& changeId);
132 virtual
void PerspectiveOpened(const
SmartPointer<IWorkbenchPage>& page,
146 virtual
void PerspectiveClosed(const
SmartPointer<IWorkbenchPage>& page,
159 virtual
void PerspectiveDeactivated(const
SmartPointer<IWorkbenchPage>& page,
174 virtual
void PerspectiveSavedAs(const
SmartPointer<IWorkbenchPage>& page,
193 virtual
void PerspectivePreDeactivate(const
SmartPointer<IWorkbenchPage>& page,
199 Q_DECLARE_OPERATORS_FOR_FLAGS(
berry::IPerspectiveListener::
Events::Types)
itk::SmartPointer< Self > Pointer
Implements transparent reference counting.
The custom viewer plugin implements simple viewer functionality presented in a customized look and feel It was developed to demonstrate extensibility and customizability of the blueberry application framework As an example for the GUI customization capabilities provided by the BlueBerry application the custom viewer plugin was developed It features simple viewer functionality presented in a customized look and feel The custom viewer consists of two i e a viewer perspective and a DICOM perspective As part of the viewer perspective