use of org.eclipse.nebula.widgets.nattable.columnCategories.ColumnCategoriesModel in project nebula.widgets.nattable by eclipse.
the class _010_Column_categories method configureColumnCategoriesInChooser.
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));
}
Aggregations