Package com._1c.g5.v8.dt.ui
Class MultiSelection
- java.lang.Object
- 
- com._1c.g5.v8.dt.ui.MultiSelection
 
- 
- All Implemented Interfaces:
- IMultiSelection,- Iterable,- ISelection,- IStructuredSelection
 
 public class MultiSelection extends Object implements IMultiSelection - See Also:
- IMultiSelection
 
- 
- 
Constructor SummaryConstructors Constructor Description MultiSelection(IStructuredSelection defaultSelection, String defaultSelectionLabel)Instantiates a new multi selection.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description IMultiSelectionaddSelection(ISelection selection, String selectionLabel)Adds named selection to this multiple selection.booleanequals(Object obj)ObjectgetFirstElement()StringgetSelectionLabel(ISelection selection)Obtains label for a givenISelection.ISelection[]getSelections()inthashCode()booleanisEmpty()Iterator<?>iterator()intsize()Object[]toArray()List<?>toList()- 
Methods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface java.lang.IterableforEach, spliterator
 
- 
 
- 
- 
- 
Constructor Detail- 
MultiSelectionpublic MultiSelection(IStructuredSelection defaultSelection, String defaultSelectionLabel) Instantiates a new multi selection.- Parameters:
- defaultSelection- the default selection the will provide the default- IStructuredSelection.
- defaultSelectionLabel- the default selection label.
 
 
- 
 - 
Method Detail- 
addSelectionpublic IMultiSelection addSelection(ISelection selection, String selectionLabel) Description copied from interface:IMultiSelectionAdds named selection to this multiple selection.- Specified by:
- addSelectionin interface- IMultiSelection
- Parameters:
- selection- the selection to add.
- selectionLabel- the selection label.
- Returns:
 
 - 
getSelectionspublic ISelection[] getSelections() - Specified by:
- getSelectionsin interface- IMultiSelection
- Returns:
- ISelection's available.
 
 - 
getSelectionLabelpublic String getSelectionLabel(ISelection selection) Description copied from interface:IMultiSelectionObtains label for a givenISelection.- Specified by:
- getSelectionLabelin interface- IMultiSelection
- Parameters:
- selection- the selection to get label of.
- Returns:
- selection label or nullif no label available.
 
 - 
getFirstElementpublic Object getFirstElement() - Specified by:
- getFirstElementin interface- IStructuredSelection
 
 - 
iteratorpublic Iterator<?> iterator() - Specified by:
- iteratorin interface- IStructuredSelection
- Specified by:
- iteratorin interface- Iterable
 
 - 
sizepublic int size() - Specified by:
- sizein interface- IStructuredSelection
 
 - 
toArraypublic Object[] toArray() - Specified by:
- toArrayin interface- IStructuredSelection
 
 - 
toListpublic List<?> toList() - Specified by:
- toListin interface- IStructuredSelection
 
 - 
isEmptypublic boolean isEmpty() - Specified by:
- isEmptyin interface- ISelection
 
 
- 
 
-