|
|||||||||
| Home >> All >> org >> eclipse >> jface >> [ viewers overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.eclipse.jface.viewers
Interface ISelectionProvider

- All Known Subinterfaces:
- IInputSelectionProvider, IPostSelectionProvider
- All Known Implementing Classes:
- StructuredViewer, Viewer
- public interface ISelectionProvider
Interface common to all objects that provide a selection.
| Method Summary | |
void |
addSelectionChangedListener(ISelectionChangedListener listener)
Adds a listener for selection changes in this selection provider. |
ISelection |
getSelection()
Returns the current selection for this provider. |
void |
removeSelectionChangedListener(ISelectionChangedListener listener)
Removes the given selection change listener from this selection provider. |
void |
setSelection(ISelection selection)
Sets the current selection for this selection provider. |
| Method Detail |
addSelectionChangedListener
public void addSelectionChangedListener(ISelectionChangedListener listener)
- Adds a listener for selection changes in this selection provider.
Has no effect if an identical listener is already registered.
getSelection
public ISelection getSelection()
- Returns the current selection for this provider.
removeSelectionChangedListener
public void removeSelectionChangedListener(ISelectionChangedListener listener)
- Removes the given selection change listener from this selection provider.
Has no affect if an identical listener is not registered.
setSelection
public void setSelection(ISelection selection)
- Sets the current selection for this selection provider.
|
|||||||||
| Home >> All >> org >> eclipse >> jface >> [ viewers overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC