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
-
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
Modifier and Type Method Description java.util.List
getIndices(java.lang.Object element)
FIXMEMethods 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 Details
-
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
-
-
Method Details
-
getIndices
public java.util.List getIndices(java.lang.Object element)FIXME- Parameters:
element
-- Returns:
- the indices
-