use of org.eclipse.nebula.widgets.nattable.columnCategories.gui.ColumnCategoriesDialog in project nebula.widgets.nattable by eclipse.
the class ChooseColumnsFromCategoriesCommandHandler method doCommand.
@Override
protected boolean doCommand(ChooseColumnsFromCategoriesCommand command) {
this.dialog = new ColumnCategoriesDialog(command.getShell(), this.model, getHiddenColumnEntries(this.columnHideShowLayer, this.columnHeaderLayer, this.columnHeaderDataLayer), getVisibleColumnsEntries(this.columnHideShowLayer, this.columnHeaderLayer, this.columnHeaderDataLayer));
this.dialog.addListener(this);
this.dialog.open();
return true;
}
use of org.eclipse.nebula.widgets.nattable.columnCategories.gui.ColumnCategoriesDialog in project nebula.widgets.nattable by eclipse.
the class Listener method main.
public static void main(String[] args) {
ColumnCategoriesDialog dialog = new ColumnCategoriesDialog(new Shell(), new ColumnCategoriesModelFixture(), ColumnEntriesFixture.getEntriesWithEvenIndexes(), ColumnEntriesFixture.getEntriesWithOddIndexes());
dialog.addListener(new Listener());
dialog.open();
}
Aggregations