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

Examples of org.eclipse.nebula.widgets.nattable.ui.action.IDragMode


    }

    @Override
    protected void configureBodyMouseDragMode(
            UiBindingRegistry uiBindingRegistry) {
        IDragMode dragMode = new SingleRowSelectionDragMode();
        uiBindingRegistry.registerFirstMouseDragMode(
                MouseEventMatcher.bodyLeftClick(SWT.NONE), dragMode);
        uiBindingRegistry.registerFirstMouseDragMode(
                MouseEventMatcher.bodyLeftClick(SWT.SHIFT), dragMode);
        uiBindingRegistry.registerFirstMouseDragMode(
View Full Code Here


            IMouseAction singleClickAction = getUiBindingRegistry()
                    .getSingleClickAction(event);
            IMouseAction doubleClickAction = getUiBindingRegistry()
                    .getDoubleClickAction(event);
            IDragMode dragMode = natTable.getUiBindingRegistry().getDragMode(
                    event);

            if (singleClickAction != null || doubleClickAction != null
                    || dragMode != null) {
                switchMode(new MouseModeEventHandler(getModeSupport(),
View Full Code Here

    }

    @Override
    protected void configureBodyMouseDragMode(
            UiBindingRegistry uiBindingRegistry) {
        IDragMode dragMode = new RowSelectionDragMode();
        uiBindingRegistry.registerFirstMouseDragMode(
                MouseEventMatcher.bodyLeftClick(SWT.NONE), dragMode);
        uiBindingRegistry.registerFirstMouseDragMode(
                MouseEventMatcher.bodyLeftClick(SWT.SHIFT), dragMode);
        uiBindingRegistry.registerFirstMouseDragMode(
View Full Code Here

TOP

Related Classes of org.eclipse.nebula.widgets.nattable.ui.action.IDragMode

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.