Class ViewportSelectRowAction

  • All Implemented Interfaces:
    IMouseAction

    public class ViewportSelectRowAction
    extends Object
    implements IMouseAction
    Event fired when the ctrl key is pressed and the row header is clicked. Note: Fires command in NatTable coordinates.
    • Constructor Detail

      • ViewportSelectRowAction

        public ViewportSelectRowAction​(boolean withShiftMask,
                                       boolean withControlMask)
    • Method Detail

      • run

        public void run​(NatTable natTable,
                        org.eclipse.swt.events.MouseEvent event)
        Description copied from interface: IMouseAction
        Translates the SWT MouseEvent to a NatTable command and executes that command accordingly.
        Specified by:
        run in interface IMouseAction
        Parameters:
        natTable - The NatTable instance on which the MouseEvent was fired and on which the command should be executed.
        event - The received MouseEvent.