Class CellSelection
- java.lang.Object
-
- org.eclipse.jface.viewers.StructuredSelection
-
- org.eclipse.nebula.jface.gridviewer.internal.SelectionWithFocusRow
-
- org.eclipse.nebula.jface.gridviewer.internal.CellSelection
-
- All Implemented Interfaces:
java.lang.Iterable
,org.eclipse.jface.viewers.ISelection
,org.eclipse.jface.viewers.IStructuredSelection
public class CellSelection extends SelectionWithFocusRow
FIXME
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.List
elements
private java.util.List
indicesList
-
Constructor Summary
Constructors Constructor Description CellSelection(java.util.List elements, java.util.List indicesList, java.lang.Object focusElement, org.eclipse.jface.viewers.IElementComparer comparer)
Creates a structured selection from the givenList
and element comparer.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List
getIndices(java.lang.Object element)
FIXME-
Methods inherited from class org.eclipse.nebula.jface.gridviewer.internal.SelectionWithFocusRow
getFocusElement
-
Methods inherited from class org.eclipse.jface.viewers.StructuredSelection
equals, getFirstElement, hashCode, isEmpty, iterator, size, toArray, toList, toString
-
-
-
-
Constructor Detail
-
CellSelection
public CellSelection(java.util.List elements, java.util.List indicesList, java.lang.Object focusElement, org.eclipse.jface.viewers.IElementComparer comparer)
Creates a structured selection from the givenList
and element comparer. If an element comparer is provided, it will be used to determine equality between structured selection objects provided that they both are based on the same (identical) comparer. See bug- Parameters:
elements
- list of selected elementscomparer
- the comparer, or null- Since:
- 3.4
-
-