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

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


    public void configureUiBindings(UiBindingRegistry uiBindingRegistry) {
        // Column Group Header is a part of the Group Header.
        // Register the 'column group header matcher' first so that it gets
        // picked up before the more general 'column header matcher'.
        uiBindingRegistry.registerMouseDragMode(MouseEventMatcher
                .columnGroupHeaderLeftClick(SWT.NONE), new AggregateDragMode(
                new CellDragMode(), new ColumnGroupHeaderReorderDragMode(
                        columnGroupModel)));

        uiBindingRegistry.registerMouseDragMode(
                MouseEventMatcher.columnHeaderLeftClick(SWT.NONE),
View Full Code Here


*/
public class DefaultRowReorderBindings extends AbstractUiBindingConfiguration {

    public void configureUiBindings(UiBindingRegistry uiBindingRegistry) {
        uiBindingRegistry.registerMouseDragMode(MouseEventMatcher
                .rowHeaderLeftClick(SWT.NONE), new AggregateDragMode(
                new CellDragMode(), new RowReorderDragMode()));
    }
View Full Code Here

public class DefaultColumnReorderBindings extends
        AbstractUiBindingConfiguration {

    public void configureUiBindings(UiBindingRegistry uiBindingRegistry) {
        uiBindingRegistry.registerMouseDragMode(MouseEventMatcher
                .columnHeaderLeftClick(SWT.NONE), new AggregateDragMode(
                new CellDragMode(), new ColumnReorderDragMode()));
    }
View Full Code Here

    @Override
    public void configureUiBindings(UiBindingRegistry uiBindingRegistry) {
        uiBindingRegistry.registerFirstMouseDragMode(
                MouseEventMatcher.columnHeaderLeftClick(SWT.NONE),
                new AggregateDragMode(new CellDragMode(), new GroupByColumnReorderDragMode(), new GroupByDragMode()));
    }
View Full Code Here

    public void configureUiBindings(UiBindingRegistry uiBindingRegistry) {
        // Column Group Header is a part of the Group Header.
        // Register the 'column group header matcher' first so that it gets
        // picked up before the more general 'column header matcher'.
        uiBindingRegistry.registerMouseDragMode(MouseEventMatcher
                .columnGroupHeaderLeftClick(SWT.NONE), new AggregateDragMode(
                new CellDragMode(), new ColumnGroupHeaderReorderDragMode(
                        columnGroupModel)));

        uiBindingRegistry.registerMouseDragMode(
                MouseEventMatcher.columnHeaderLeftClick(SWT.NONE),
View Full Code Here

                        public void configureUiBindings(
                                UiBindingRegistry uiBindingRegistry) {
                            uiBindingRegistry.registerMouseDragMode(
                                    MouseEventMatcher
                                            .columnHeaderLeftClick(SWT.NONE),
                                    new AggregateDragMode(
                                            new CellDragMode(),
                                            new SplitViewportColumnReorderDragMode()));
                        }
                    });
View Full Code Here

TOP

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

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.