17 #ifndef BERRYIPARTLISTENER_H_
18 #define BERRYIPARTLISTENER_H_
45 ACTIVATED = 0x00000001,
46 BROUGHT_TO_TOP = 0x00000002,
48 DEACTIVATED = 0x00000008,
52 INPUT_CHANGED = 0x00000080,
57 Q_DECLARE_FLAGS(Types, Type)
61 PartEvent partActivated;
62 PartEvent partBroughtToTop;
64 PartEvent partDeactivated;
67 PartEvent partVisible;
68 PartEvent partInputChanged;
77 virtual ~IPartListener();
79 virtual
Events::Types GetPartEventTypes() const = 0;
162 Q_DECLARE_OPERATORS_FOR_FLAGS(berry::IPartListener::Events::Types)
virtual void PartHidden(const IWorkbenchPartReference::Pointer &)
itk::SmartPointer< Self > Pointer
virtual void PartOpened(const IWorkbenchPartReference::Pointer &)
virtual void PartDeactivated(const IWorkbenchPartReference::Pointer &)
virtual void PartInputChanged(const IWorkbenchPartReference::Pointer &)
virtual void PartClosed(const IWorkbenchPartReference::Pointer &)
virtual void PartVisible(const IWorkbenchPartReference::Pointer &)
virtual void PartBroughtToTop(const IWorkbenchPartReference::Pointer &)