use of org.eclipse.nebula.widgets.nattable.test.fixture.layer.ColumnHeaderLayerFixture in project nebula.widgets.nattable by eclipse.
the class ChooseColumnsFromCategoriesCommandHandlerTest method setup.
@Before
public void setup() {
this.hideShowLayerFixture = new ColumnHideShowLayerFixture();
this.commandHandler = new ChooseColumnsFromCategoriesCommandHandler(this.hideShowLayerFixture, new ColumnHeaderLayerFixture(), new DataLayerFixture(), new ColumnCategoriesModelFixture());
}
use of org.eclipse.nebula.widgets.nattable.test.fixture.layer.ColumnHeaderLayerFixture in project nebula.widgets.nattable by eclipse.
the class ColumnChooserUtilsTest method shouldProvideRenamedLabelsIfTheColumnHasBeenRenamed.
@Test
public void shouldProvideRenamedLabelsIfTheColumnHasBeenRenamed() throws Exception {
ColumnHeaderLayerFixture columnHeaderLayer = new ColumnHeaderLayerFixture();
assertEquals("[1, 0]", getColumnLabel(columnHeaderLayer, getDataLayer(), 1));
columnHeaderLayer.renameColumnPosition(1, "renamed");
assertEquals("renamed*", getColumnLabel(columnHeaderLayer, getDataLayer(), 1));
}
use of org.eclipse.nebula.widgets.nattable.test.fixture.layer.ColumnHeaderLayerFixture in project nebula.widgets.nattable by eclipse.
the class RenameColumnHelperTest method setup.
@Before
public void setup() {
ColumnHeaderLayer columnHeaderLayer = new ColumnHeaderLayerFixture();
this.properties = new Properties();
this.helper = new RenameColumnHelper(columnHeaderLayer);
}
Aggregations