Search in sources :

Example 1 with TickUpdateAction

use of org.eclipse.nebula.widgets.nattable.tickupdate.action.TickUpdateAction in project nebula.widgets.nattable by eclipse.

the class DefaultTickUpdateConfiguration method configureUiBindings.

@Override
public void configureUiBindings(UiBindingRegistry uiBindingRegistry) {
    uiBindingRegistry.registerKeyBinding(new KeyEventMatcher(SWT.NONE, SWT.KEYPAD_ADD), new TickUpdateAction(true));
    uiBindingRegistry.registerKeyBinding(new KeyEventMatcher(SWT.NONE, SWT.KEYPAD_SUBTRACT), new TickUpdateAction(false));
}
Also used : TickUpdateAction(org.eclipse.nebula.widgets.nattable.tickupdate.action.TickUpdateAction) KeyEventMatcher(org.eclipse.nebula.widgets.nattable.ui.matcher.KeyEventMatcher)

Aggregations

TickUpdateAction (org.eclipse.nebula.widgets.nattable.tickupdate.action.TickUpdateAction)1 KeyEventMatcher (org.eclipse.nebula.widgets.nattable.ui.matcher.KeyEventMatcher)1