public class FreezeGridAction extends Object implements IKeyAction
IKeyAction
that will execute a FreezeSelectionCommand
with the
specified parameters.Constructor and Description |
---|
FreezeGridAction()
Creates a simple FreezeGridAction that doesn't toggle or override
a current frozen state.
|
FreezeGridAction(boolean toggle)
Creates a FreezeGridAction that doesn't override a current frozen state.
|
FreezeGridAction(boolean toggle,
boolean overrideFreeze)
Creates a FreezeGridAction.
|
public FreezeGridAction()
public FreezeGridAction(boolean toggle)
toggle
- whether this command should toggle the frozen state between
frozen and unfrozen, or if it should always result in a frozen state.public FreezeGridAction(boolean toggle, boolean overrideFreeze)
toggle
- whether this command should toggle the frozen state between
frozen and unfrozen, or if it should always result in a frozen state.overrideFreeze
- whether this command should override a current frozen state
or if it should be skipped if a frozen state is already applied.
Note: Setting this value to true
will override the toggle behaviour.public void run(NatTable natTable, org.eclipse.swt.events.KeyEvent event)
run
in interface IKeyAction
Copyright © 2013. All Rights Reserved.