14 #ifndef BERRYIPERSPECTIVELISTENER_H_ 15 #define BERRYIPERSPECTIVELISTENER_H_ 25 struct IWorkbenchPage;
43 ACTIVATED = 0x00000001,
45 PART_CHANGED = 0x00000004,
48 DEACTIVATED = 0x00000020,
49 SAVED_AS = 0x00000040,
50 PRE_DEACTIVATE = 0x00000080,
55 Q_DECLARE_FLAGS(Types,
Type)
78 virtual ~IPerspectiveListener();
80 virtual
Events::Types GetPerspectiveEventTypes() const = 0;
90 virtual
void PerspectiveActivated(const
SmartPointer<IWorkbenchPage>& page,
102 virtual
void PerspectiveChanged(const
SmartPointer<IWorkbenchPage>& page,
114 virtual
void PerspectiveChanged(const
SmartPointer<IWorkbenchPage>& page,
116 const
SmartPointer<IWorkbenchPartReference>& partRef, const QString& changeId);
128 virtual
void PerspectiveOpened(const
SmartPointer<IWorkbenchPage>& page,
142 virtual
void PerspectiveClosed(const
SmartPointer<IWorkbenchPage>& page,
155 virtual
void PerspectiveDeactivated(const
SmartPointer<IWorkbenchPage>& page,
170 virtual
void PerspectiveSavedAs(const
SmartPointer<IWorkbenchPage>& page,
189 virtual
void PerspectivePreDeactivate(const
SmartPointer<IWorkbenchPage>& page,
195 Q_DECLARE_OPERATORS_FOR_FLAGS(
berry::IPerspectiveListener::
Events::Types)
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