@Override
public void configureUiBindings(UiBindingRegistry uiBindingRegistry) {
// configure the space key to activate a cell editor via keyboard
// this is especially useful for changing the value for a checkbox
uiBindingRegistry.registerKeyBinding(new KeyEventMatcher(SWT.NONE, 32),
new KeyEditAction());
uiBindingRegistry.registerKeyBinding(new KeyEventMatcher(SWT.NONE,
SWT.F2), new KeyEditAction());
uiBindingRegistry.registerKeyBinding(
new LetterOrDigitKeyEventMatcher(), new KeyEditAction());
uiBindingRegistry.registerKeyBinding(new LetterOrDigitKeyEventMatcher(
SWT.SHIFT), new KeyEditAction());
uiBindingRegistry.registerSingleClickBinding(
new CellEditorMouseEventMatcher(GridRegion.BODY),
new MouseEditAction());