Package com._1c.g5.v8.dt.ui
Interface IMultiSelection
- 
- All Superinterfaces:
- ISelection,- IStructuredSelection,- Iterable
 - All Known Implementing Classes:
- MultiSelection
 
 public interface IMultiSelection extends IStructuredSelection Combines multiple namedISelection's while still mimicking the behavior ofIStructuredSelection. Selection consumer may later decide what named selection it will use or just use the defaultIStructuredSelection.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description IMultiSelectionaddSelection(ISelection selection, String selectionLabel)Adds named selection to this multiple selection.StringgetSelectionLabel(ISelection selection)Obtains label for a givenISelection.ISelection[]getSelections()- 
Methods inherited from interface org.eclipse.jface.viewers.ISelectionisEmpty
 - 
Methods inherited from interface org.eclipse.jface.viewers.IStructuredSelectiongetFirstElement, iterator, size, toArray, toList
 - 
Methods inherited from interface java.lang.IterableforEach, spliterator
 
- 
 
- 
- 
- 
Method Detail- 
addSelectionIMultiSelection addSelection(ISelection selection, String selectionLabel) Adds named selection to this multiple selection.- Parameters:
- selection- the selection to add.
- selectionLabel- the selection label.
- Returns:
 
 - 
getSelectionsISelection[] getSelections() - Returns:
- ISelection's available.
 
 - 
getSelectionLabelString getSelectionLabel(ISelection selection) Obtains label for a givenISelection.- Parameters:
- selection- the selection to get label of.
- Returns:
- selection label or nullif no label available.
 
 
- 
 
-