Javadoc
Returns an observable list that tracks the current selection of the given
selection provider. Assumes that the selection provider provides
selections of type
IStructuredSelection. Note that the observable
list will not honor the full contract of java.util.List
in
that it may delete or reorder elements based on what the selection
provider returns from
ISelectionProvider#getSelection() after
having called
ISelectionProvider#setSelection(org.eclipse.jface.viewers.ISelection)based on the requested change to the observable list. The affected
methods are add
, addAll
, and set
.