Package org.eclipse.ui.internal
Class PerspectiveListenerList
java.lang.Object
org.eclipse.core.commands.common.EventManager
org.eclipse.ui.internal.PerspectiveListenerList
Perspective listener list.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds an IPerspectiveListener to the perspective service.void
firePerspectiveActivated
(IWorkbenchPage page, IPerspectiveDescriptor perspective) Notifies the listener that a perspective has been activated.void
firePerspectiveChanged
(IWorkbenchPage page, IPerspectiveDescriptor perspective, String changeId) Notifies the listener that a perspective has been changed.void
firePerspectiveChanged
(IWorkbenchPage page, IPerspectiveDescriptor perspective, IWorkbenchPartReference partRef, String changeId) Notifies the listener that a part has been affected in the given perspective.void
firePerspectiveClosed
(IWorkbenchPage page, IPerspectiveDescriptor perspective) Notifies the listener that a perspective has been closed.void
firePerspectiveDeactivated
(IWorkbenchPage page, IPerspectiveDescriptor perspective) Notifies the listener that a perspective has been deactivated.void
firePerspectiveOpened
(IWorkbenchPage page, IPerspectiveDescriptor perspective) Notifies the listener that a perspective has been opened.void
firePerspectivePreDeactivate
(IWorkbenchPage page, IPerspectiveDescriptor perspective) Notifies the listener that a perspective has been deactivated.void
firePerspectiveSavedAs
(IWorkbenchPage page, IPerspectiveDescriptor oldPerspective, IPerspectiveDescriptor newPerspective) Notifies the listener that a perspective has been deactivated.void
Removes an IPerspectiveListener from the perspective service.Methods inherited from class org.eclipse.core.commands.common.EventManager
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject
-
Constructor Details
-
PerspectiveListenerList
public PerspectiveListenerList()PerspectiveListenerList constructor comment.
-
-
Method Details
-
addPerspectiveListener
Adds an IPerspectiveListener to the perspective service. -
firePerspectiveActivated
Notifies the listener that a perspective has been activated. -
firePerspectivePreDeactivate
Notifies the listener that a perspective has been deactivated.- Since:
- 3.2
-
firePerspectiveDeactivated
Notifies the listener that a perspective has been deactivated.- Since:
- 3.1
-
firePerspectiveChanged
public void firePerspectiveChanged(IWorkbenchPage page, IPerspectiveDescriptor perspective, String changeId) Notifies the listener that a perspective has been changed. -
firePerspectiveChanged
public void firePerspectiveChanged(IWorkbenchPage page, IPerspectiveDescriptor perspective, IWorkbenchPartReference partRef, String changeId) Notifies the listener that a part has been affected in the given perspective.- Since:
- 3.0
-
firePerspectiveClosed
Notifies the listener that a perspective has been closed.- Since:
- 3.1
-
firePerspectiveOpened
Notifies the listener that a perspective has been opened.- Since:
- 3.1
-
firePerspectiveSavedAs
public void firePerspectiveSavedAs(IWorkbenchPage page, IPerspectiveDescriptor oldPerspective, IPerspectiveDescriptor newPerspective) Notifies the listener that a perspective has been deactivated.- Since:
- 3.1
-
removePerspectiveListener
Removes an IPerspectiveListener from the perspective service.
-