Package org.eclipse.nebula.widgets.nattable.columnChooser.command

Examples of org.eclipse.nebula.widgets.nattable.columnChooser.command.DisplayColumnChooserCommandHandler


        NatTable natTable = new NatTable(parent, gridLayer, false);

        // Register create column group command handler

        // Register column chooser
        DisplayColumnChooserCommandHandler columnChooserCommandHandler = new DisplayColumnChooserCommandHandler(
                bodyLayer.getSelectionLayer(),
                bodyLayer.getColumnHideShowLayer(), columnHeaderLayer,
                columnHeaderDataLayer, columnGroupHeaderLayer, columnGroupModel);
        bodyLayer.registerCommandHandler(columnChooserCommandHandler);
View Full Code Here


        NatTable natTable = new NatTable(parent, gridLayer, false);

        // Register create column group command handler

        // Register column chooser
        DisplayColumnChooserCommandHandler columnChooserCommandHandler = new DisplayColumnChooserCommandHandler(
                bodyLayer.getSelectionLayer(),
                bodyLayer.getColumnHideShowLayer(), columnHeaderLayer,
                columnHeaderDataLayer, columnGroupHeaderLayer, columnGroupModel);
        bodyLayer.registerCommandHandler(columnChooserCommandHandler);
View Full Code Here

                .editableGridConfiguration(columnLabelAccumulator,
                        this.bodyDataProvider));
        this.natTable.addConfiguration(new FilterRowGridExample.FilterRowCustomConfiguration());

        // Column chooser
        DisplayColumnChooserCommandHandler columnChooserCommandHandler = new DisplayColumnChooserCommandHandler(
                bodyLayer.getSelectionLayer(),
                bodyLayer.getColumnHideShowLayer(),
                columnHeaderLayer.getColumnHeaderLayer(),
                columnHeaderLayer.getColumnHeaderDataLayer(),
                columnHeaderLayer.getColumnGroupHeaderLayer(), columnGroupModel);
View Full Code Here

        gridLayer
                .registerCommandHandler(new DisplayPersistenceDialogCommandHandler(
                        natTable));

        DisplayColumnChooserCommandHandler columnChooserCommandHandler = new DisplayColumnChooserCommandHandler(
                selectionLayer, columnHideShowLayer, columnHeaderLayer,
                columnHeaderDataLayer, null, null);
        gridLayer.registerCommandHandler(columnChooserCommandHandler);

        return panel;
View Full Code Here

                tableStyle));
    }

    protected void configureColumnChooser() {
        bodyLayer
                .registerCommandHandler(new DisplayColumnChooserCommandHandler(
                        bodyLayer.getSelectionLayer(), bodyLayer
                                .getColumnHideShowLayer(), columnHeaderLayer
                                .getColumnHeaderLayer(), columnHeaderLayer
                                .getDataLayer(), columnHeaderLayer
                                .getColumnGroupHeaderLayer(),
View Full Code Here

        // GridRegion.COLUMN_HEADER);
        // }
        // });

        // Register column chooser
        DisplayColumnChooserCommandHandler columnChooserCommandHandler = new DisplayColumnChooserCommandHandler(
                selectionLayer, columnHideShowLayer, columnHeaderLayer,
                columnHeaderDataLayer, columnGroupHeaderLayer, columnGroupModel);
        viewportLayer.registerCommandHandler(columnChooserCommandHandler);

        natTable.configure();
View Full Code Here

                        new PopupMenuAction(columnGroupHeaderMenu));
            }
        });

        // Register column chooser
        DisplayColumnChooserCommandHandler columnChooserCommandHandler = new DisplayColumnChooserCommandHandler(
                bodyLayer.getSelectionLayer(),
                bodyLayer.getColumnHideShowLayer(), columnHeaderLayer,
                columnHeaderDataLayer, columnGroupHeaderLayer, columnGroupModel);
        bodyLayer.registerCommandHandler(columnChooserCommandHandler);
View Full Code Here

        natTable.configure();

        natTable.registerCommandHandler(new DisplayPersistenceDialogCommandHandler(
                natTable));

        DisplayColumnChooserCommandHandler columnChooserCommandHandler = new DisplayColumnChooserCommandHandler(
                bodyLayerStack.getSelectionLayer(),
                bodyLayerStack.getColumnHideShowLayer(), columnHeaderLayer,
                columnHeaderDataLayer, null, null);
        natTable.registerCommandHandler(columnChooserCommandHandler);
View Full Code Here

        NatTable natTable = new NatTable(parent, gridLayer, false);

        // Register create column group command handler

        // Register column chooser
        DisplayColumnChooserCommandHandler columnChooserCommandHandler = new DisplayColumnChooserCommandHandler(
                bodyLayer.getSelectionLayer(),
                bodyLayer.getColumnHideShowLayer(), columnHeaderLayer,
                columnHeaderDataLayer, columnGroupHeaderLayer, columnGroupModel);
        bodyLayer.registerCommandHandler(columnChooserCommandHandler);
View Full Code Here

TOP

Related Classes of org.eclipse.nebula.widgets.nattable.columnChooser.command.DisplayColumnChooserCommandHandler

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.