Search in sources :

Example 1 with UnFreezeGridAction

use of org.eclipse.nebula.widgets.nattable.freeze.action.UnFreezeGridAction in project nebula.widgets.nattable by eclipse.

the class DefaultFreezeGridBindings method configureUiBindings.

@Override
public void configureUiBindings(UiBindingRegistry uiBindingRegistry) {
    uiBindingRegistry.registerKeyBinding(new KeyEventMatcher(SWT.MOD1 | SWT.MOD2, 'f'), new FreezeGridAction());
    uiBindingRegistry.registerKeyBinding(new KeyEventMatcher(SWT.MOD1 | SWT.MOD2, 'u'), new UnFreezeGridAction());
}
Also used : KeyEventMatcher(org.eclipse.nebula.widgets.nattable.ui.matcher.KeyEventMatcher) FreezeGridAction(org.eclipse.nebula.widgets.nattable.freeze.action.FreezeGridAction) UnFreezeGridAction(org.eclipse.nebula.widgets.nattable.freeze.action.UnFreezeGridAction) UnFreezeGridAction(org.eclipse.nebula.widgets.nattable.freeze.action.UnFreezeGridAction)

Aggregations

FreezeGridAction (org.eclipse.nebula.widgets.nattable.freeze.action.FreezeGridAction)1 UnFreezeGridAction (org.eclipse.nebula.widgets.nattable.freeze.action.UnFreezeGridAction)1 KeyEventMatcher (org.eclipse.nebula.widgets.nattable.ui.matcher.KeyEventMatcher)1