Class GroupByDragMode

  • All Implemented Interfaces:
    IDragMode

    public class GroupByDragMode
    extends Object
    implements IDragMode
    IDragMode for enabling the groupBy feature. This IDragMode supports dragging of a column to the groupBy region and executes the GroupByColumnIndexCommand on mouseUp.

    It is typically registered to the column header region.

    • Constructor Detail

      • GroupByDragMode

        public GroupByDragMode()
    • Method Detail

      • mouseDown

        public void mouseDown​(NatTable natTable,
                              org.eclipse.swt.events.MouseEvent event)
        Specified by:
        mouseDown in interface IDragMode
      • mouseMove

        public void mouseMove​(NatTable natTable,
                              org.eclipse.swt.events.MouseEvent event)
        Specified by:
        mouseMove in interface IDragMode
      • mouseUp

        public void mouseUp​(NatTable natTable,
                            org.eclipse.swt.events.MouseEvent event)
        Specified by:
        mouseUp in interface IDragMode