Package org.eclipse.nebula.widgets.nattable.edit.action

Examples of org.eclipse.nebula.widgets.nattable.edit.action.KeyEditAction


    @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());
View Full Code Here

TOP

Related Classes of org.eclipse.nebula.widgets.nattable.edit.action.KeyEditAction

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.