- All Superinterfaces:
public interface ISelectionListener extends EventListenerInterface for listening to selection changes.
This interface may be implemented by clients.
void selectionChanged(IWorkbenchPart part, ISelection selection)Notifies this listener that the selection has changed.
This method is called when the selection changes from one to a
non-nullvalue, 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.
part- the workbench part containing the selection
selection- the current selection. This may be