|
Eclipse Platform 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface common to all objects that provide a selection.
ISelection
,
ISelectionChangedListener
,
SelectionChangedEvent
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 |
public void addSelectionChangedListener(ISelectionChangedListener listener)
listener
- a selection changed listenerpublic ISelection getSelection()
public void removeSelectionChangedListener(ISelectionChangedListener listener)
listener
- a selection changed listenerpublic void setSelection(ISelection selection)
selection
- the new selection
|
Eclipse Platform 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |