Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.eclipse.ui
Interface IPartListener  view IPartListener download IPartListener.java


public interface IPartListener

Interface for listening to part lifecycle events.

This interface may be implemented by clients.


Method Summary
 void partActivated(IWorkbenchPart part)
          Notifies this listener that the given part has been activated.
 void partBroughtToTop(IWorkbenchPart part)
          Notifies this listener that the given part has been brought to the top.
 void partClosed(IWorkbenchPart part)
          Notifies this listener that the given part has been closed.
 void partDeactivated(IWorkbenchPart part)
          Notifies this listener that the given part has been deactivated.
 void partOpened(IWorkbenchPart part)
          Notifies this listener that the given part has been opened.
 

Method Detail

partActivated

public void partActivated(IWorkbenchPart part)
Notifies this listener that the given part has been activated.


partBroughtToTop

public void partBroughtToTop(IWorkbenchPart part)
Notifies this listener that the given part has been brought to the top.

These events occur when an editor is brought to the top in the editor area, or when a view is brought to the top in a page book with multiple views. They are normally only sent when a part is brought to the top programmatically (via IPerspective.bringToTop). When a part is activated by the user clicking on it, only partActivated is sent.


partClosed

public void partClosed(IWorkbenchPart part)
Notifies this listener that the given part has been closed.


partDeactivated

public void partDeactivated(IWorkbenchPart part)
Notifies this listener that the given part has been deactivated.


partOpened

public void partOpened(IWorkbenchPart part)
Notifies this listener that the given part has been opened.