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

Examples of org.eclipse.nebula.widgets.nattable.sort.event.ColumnHeaderClickEventMatcher


     * Remove the original key bindings and implement new ones.
     */
    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

TOP

Related Classes of org.eclipse.nebula.widgets.nattable.sort.event.ColumnHeaderClickEventMatcher

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.