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

Quick Search    Search Deep

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

All Known Subinterfaces:
INullSelectionListener

public interface ISelectionListener

Interface for listening to selection changes.

This interface may be implemented by clients.


Method Summary
 void selectionChanged(IWorkbenchPart part, org.eclipse.jface.viewers.ISelection selection)
          Notifies this listener that the selection has changed.
 

Method Detail

selectionChanged

public void selectionChanged(IWorkbenchPart part,
                             org.eclipse.jface.viewers.ISelection selection)
Notifies this listener that the selection has changed.

This method is called when the selection changes from one to a non-null value, but not when the selection changes to null. If there is a requirement to be notified in the latter scenario, implement INullSelectionListener. The event will be posted through this method.