public interface ISelectionProvider
ISelection
,
ISelectionChangedListener
,
SelectionChangedEvent
Modifier and Type | Method and Description |
---|---|
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.
|
void addSelectionChangedListener(ISelectionChangedListener listener)
listener
- a selection changed listenerISelection getSelection()
void removeSelectionChangedListener(ISelectionChangedListener listener)
listener
- a selection changed listenervoid setSelection(ISelection selection)
selection
- the new selection
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.