|
Eclipse Platform 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for listening to selection changes.
This interface may be implemented by clients.
ISelectionService.addSelectionListener(org.eclipse.ui.ISelectionListener)
Method Summary | |
void |
selectionChanged(IWorkbenchPart part,
ISelection selection)
Notifies this listener that the selection has changed. |
Method Detail |
public void selectionChanged(IWorkbenchPart part, ISelection selection)
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.
part
- the workbench part containing the selectionselection
- the current selection. This may be null
if INullSelectionListener
is implemented.
|
Eclipse Platform 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |