public class MultiSelectionProvider extends java.lang.Object implements ISelectionProvider, ISelectionChangedListener, FocusListener
Constructor and Description |
---|
MultiSelectionProvider() |
Modifier and Type | Method and Description |
---|---|
void |
addSelectionChangedListener(ISelectionChangedListener listener) |
void |
addSelectionProvider(ISelectionProvider provider) |
void |
focusGained(FocusEvent e) |
void |
focusLost(FocusEvent e) |
ISelection |
getSelection() |
void |
removeSelectionChangedListener(ISelectionChangedListener listener) |
void |
selectionChanged(SelectionChangedEvent event) |
void |
setSelection(ISelection selection) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
focusGainedAdapter, focusLostAdapter
public void addSelectionProvider(ISelectionProvider provider)
public void addSelectionChangedListener(ISelectionChangedListener listener)
addSelectionChangedListener
in interface ISelectionProvider
public ISelection getSelection()
getSelection
in interface ISelectionProvider
public void removeSelectionChangedListener(ISelectionChangedListener listener)
removeSelectionChangedListener
in interface ISelectionProvider
public void setSelection(ISelection selection)
setSelection
in interface ISelectionProvider
public void selectionChanged(SelectionChangedEvent event)
selectionChanged
in interface ISelectionChangedListener
public void focusGained(FocusEvent e)
focusGained
in interface FocusListener
public void focusLost(FocusEvent e)
focusLost
in interface FocusListener