Class 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  
      • Fields inherited from class org.eclipse.jface.viewers.StructuredSelection

        EMPTY
    • 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 given List 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.jface.viewers.StructuredSelection

        equals, getFirstElement, hashCode, isEmpty, iterator, size, toArray, toList, toString
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface java.lang.Iterable

        forEach, spliterator
    • Field Detail

      • indicesList

        private java.util.List indicesList
      • elements

        private java.util.List elements
    • 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 given List 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 elements
        comparer - the comparer, or null
        Since:
        3.4
    • Method Detail

      • getIndices

        public java.util.List getIndices​(java.lang.Object element)
        FIXME
        Parameters:
        element -
        Returns:
        the indices