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

Examples of org.eclipse.nebula.widgets.nattable.sort.action.SortColumnAction


     */
    public void configureUiBindings(UiBindingRegistry uiBindingRegistry) {
        // Register single click bindings
        uiBindingRegistry.registerSingleClickBinding(
                new ColumnHeaderClickEventMatcher(SWT.NONE, 1),
                new SortColumnAction(false));

        uiBindingRegistry.registerSingleClickBinding(
                MouseEventMatcher.columnHeaderLeftClick(SWT.ALT),
                new SortColumnAction(true));
    }
View Full Code Here


    @Override
    public void configureUiBindings(UiBindingRegistry uiBindingRegistry) {
        // Register new bindings
        uiBindingRegistry.registerFirstSingleClickBinding(
                new ColumnHeaderClickEventMatcher(SWT.NONE, 1),
                new SortColumnAction(false));

        uiBindingRegistry.registerSingleClickBinding(
                MouseEventMatcher.columnHeaderLeftClick(SWT.ALT),
                new SortColumnAction(true));
    }
View Full Code Here

    }

    public void configureUiBindings(UiBindingRegistry uiBindingRegistry) {
        uiBindingRegistry.registerSingleClickBinding(new MouseEventMatcher(
                SWT.ALT, GridRegion.COLUMN_HEADER.toString(), 1),
                new SortColumnAction(false));

        uiBindingRegistry.registerSingleClickBinding(new MouseEventMatcher(
                SWT.ALT | SWT.SHIFT, GridRegion.COLUMN_HEADER.toString(), 1),
                new SortColumnAction(true));
    }
View Full Code Here

TOP

Related Classes of org.eclipse.nebula.widgets.nattable.sort.action.SortColumnAction

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.