27 if (listener ==
nullptr)
return;
31 if (types & ACTIVATED)
35 if (types & PART_CHANGED)
41 if (types & DEACTIVATED)
45 if (types & PRE_DEACTIVATE)
53 if (listener ==
nullptr)
return;
void AddListener(IPerspectiveListener *l)
virtual void PerspectiveActivated(const SmartPointer< IWorkbenchPage > &page, const IPerspectiveDescriptor::Pointer &perspective)
virtual void PerspectiveOpened(const SmartPointer< IWorkbenchPage > &page, const IPerspectiveDescriptor::Pointer &perspective)
Implements transparent reference counting.
virtual ~IPerspectiveListener()
virtual void PerspectiveClosed(const SmartPointer< IWorkbenchPage > &page, const IPerspectiveDescriptor::Pointer &perspective)
virtual Events::Types GetPerspectiveEventTypes() const =0
virtual void PerspectivePreDeactivate(const SmartPointer< IWorkbenchPage > &page, const IPerspectiveDescriptor::Pointer &perspective)
virtual void PerspectiveSavedAs(const SmartPointer< IWorkbenchPage > &page, const IPerspectiveDescriptor::Pointer &oldPerspective, const IPerspectiveDescriptor::Pointer &newPerspective)
void RemoveListener(IPerspectiveListener *l)
virtual void PerspectiveChanged(const SmartPointer< IWorkbenchPage > &page, const IPerspectiveDescriptor::Pointer &perspective, const QString &changeId)
virtual void PerspectiveDeactivated(const SmartPointer< IWorkbenchPage > &page, const IPerspectiveDescriptor::Pointer &perspective)