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

Examples of org.eclipse.nebula.widgets.nattable.ui.matcher.CellPainterMouseEventMatcher


            }

            @Override
            public void configureUiBindings(UiBindingRegistry uiBindingRegistry) {
                uiBindingRegistry.registerFirstSingleClickBinding(
                        new CellPainterMouseEventMatcher(
                                GridRegion.COLUMN_HEADER,
                                MouseEventMatcher.LEFT_BUTTON,
                                columnHeaderCheckBoxPainter),
                        new ToggleCheckBoxColumnAction(
                                columnHeaderCheckBoxPainter, bodyDataLayer));

                uiBindingRegistry
                        .registerFirstSingleClickBinding(
                                new CellPainterMouseEventMatcher(
                                        GridRegion.BODY,
                                        MouseEventMatcher.LEFT_BUTTON,
                                        checkBoxPainter), new MouseEditAction());

                uiBindingRegistry
                        .registerFirstMouseDragMode(
                                new CellPainterMouseEventMatcher(
                                        GridRegion.BODY,
                                        MouseEventMatcher.LEFT_BUTTON,
                                        checkBoxPainter),
                                new CellEditDragMode());
            }
View Full Code Here


            }

            @Override
            public void configureUiBindings(UiBindingRegistry uiBindingRegistry) {
                uiBindingRegistry.registerFirstSingleClickBinding(
                        new CellPainterMouseEventMatcher(
                                GridRegion.COLUMN_HEADER,
                                MouseEventMatcher.LEFT_BUTTON,
                                columnHeaderCheckBoxPainter),
                                new ToggleCheckBoxColumnAction(
                                        columnHeaderCheckBoxPainter, bodyDataLayer));
View Full Code Here

        uiBindingRegistry.registerMouseDragMode(
                new CellEditorMouseEventMatcher(GridRegion.BODY),
                new CellEditDragMode());

        uiBindingRegistry.registerFirstSingleClickBinding(
                new CellPainterMouseEventMatcher(GridRegion.BODY,
                        MouseEventMatcher.LEFT_BUTTON, CheckBoxPainter.class),
                new MouseEditAction());

        uiBindingRegistry.registerFirstMouseDragMode(
                new CellPainterMouseEventMatcher(GridRegion.BODY,
                        MouseEventMatcher.LEFT_BUTTON, CheckBoxPainter.class),
                new CellEditDragMode());

    }
View Full Code Here

    }

    @Override
    public void configureUiBindings(UiBindingRegistry uiBindingRegistry) {
        TreeExpandCollapseAction treeExpandCollapseAction = new TreeExpandCollapseAction();
        CellPainterMouseEventMatcher treeImagePainterMouseEventMatcher = new CellPainterMouseEventMatcher(
                GridRegion.BODY, MouseEventMatcher.LEFT_BUTTON,
                TreeImagePainter.class);

        uiBindingRegistry.registerFirstSingleClickBinding(
                treeImagePainterMouseEventMatcher, treeExpandCollapseAction);
View Full Code Here

TOP

Related Classes of org.eclipse.nebula.widgets.nattable.ui.matcher.CellPainterMouseEventMatcher

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.