Examples of CellPainterMouseEventMatcher


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

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));
View Full Code Here

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

        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

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

    }

    @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
Copyright © 2018 www.massapi.com. 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.