Class PerspectiveListenerList

java.lang.Object
org.eclipse.core.commands.common.EventManager
org.eclipse.ui.internal.PerspectiveListenerList

public class PerspectiveListenerList extends EventManager
Perspective listener list.
  • Constructor Details

    • PerspectiveListenerList

      public PerspectiveListenerList()
      PerspectiveListenerList constructor comment.
  • Method Details

    • addPerspectiveListener

      public void addPerspectiveListener(IPerspectiveListener l)
      Adds an IPerspectiveListener to the perspective service.
    • firePerspectiveActivated

      public void firePerspectiveActivated(IWorkbenchPage page, IPerspectiveDescriptor perspective)
      Notifies the listener that a perspective has been activated.
    • firePerspectivePreDeactivate

      public void firePerspectivePreDeactivate(IWorkbenchPage page, IPerspectiveDescriptor perspective)
      Notifies the listener that a perspective has been deactivated.
      Since:
      3.2
    • firePerspectiveDeactivated

      public void firePerspectiveDeactivated(IWorkbenchPage page, IPerspectiveDescriptor perspective)
      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

      public void firePerspectiveClosed(IWorkbenchPage page, IPerspectiveDescriptor perspective)
      Notifies the listener that a perspective has been closed.
      Since:
      3.1
    • firePerspectiveOpened

      public void firePerspectiveOpened(IWorkbenchPage page, IPerspectiveDescriptor perspective)
      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

      public void removePerspectiveListener(IPerspectiveListener l)
      Removes an IPerspectiveListener from the perspective service.