Package org.eclipse.nebula.widgets.nattable.columnCategories

Examples of org.eclipse.nebula.widgets.nattable.columnCategories.ChooseColumnsFromCategoriesCommandHandler


    private void configureColumnCategoriesInChooser() {
        DefaultBodyLayerStack bodyLayer = this.gridLayer.getBodyLayerStack();
        ColumnCategoriesModel model = new ColumnCategoriesModelFixture();

        bodyLayer
        .registerCommandHandler(new ChooseColumnsFromCategoriesCommandHandler(
                bodyLayer.getColumnHideShowLayer(), this.gridLayer
                .getColumnHeaderLayerStack()
                .getColumnHeaderLayer(), this.gridLayer
                .getColumnHeaderLayerStack().getDataLayer(),
                model));
View Full Code Here


    protected void configureCategoriesBasedColumnChooser() {
        if (ObjectUtils.isNull(tableModel.columnCategoriesModel)) {
            return;
        }
        bodyLayer
                .registerCommandHandler(new ChooseColumnsFromCategoriesCommandHandler(
                        bodyLayer.getColumnHideShowLayer(), columnHeaderLayer
                                .getColumnHeaderLayer(), columnHeaderLayer
                                .getDataLayer(),
                        tableModel.columnCategoriesModel));
    }
View Full Code Here

    private ColumnHideShowLayerFixture hideShowLayerFixture;

    @Before
    public void setup() {
        hideShowLayerFixture = new ColumnHideShowLayerFixture();
        commandHandler = new ChooseColumnsFromCategoriesCommandHandler(
                hideShowLayerFixture, new ColumnHeaderLayerFixture(),
                new DataLayerFixture(), new ColumnCategoriesModelFixture());
    }
View Full Code Here

TOP

Related Classes of org.eclipse.nebula.widgets.nattable.columnCategories.ChooseColumnsFromCategoriesCommandHandler

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.