use of org.eclipse.nebula.widgets.nattable.test.fixture.NatTableFixture in project nebula.widgets.nattable by eclipse.
the class DisplayColumnStyleEditorCommandHandlerTest method setup.
@Before
public void setup() {
this.labelAccumulatorFixture = new ColumnOverrideLabelAccumulator(new DataLayerFixture());
this.natTableFixture = new NatTableFixture();
this.configRegistryFixture = this.natTableFixture.getConfigRegistry();
this.commandFixture = new DisplayColumnStyleEditorCommand(this.natTableFixture, this.natTableFixture.getConfigRegistry(), 1, 1);
final SelectionLayer selectionLayer = ((DummyGridLayerStack) this.natTableFixture.getLayer()).getBodyLayer().getSelectionLayer();
this.handlerUnderTest = new DisplayColumnStyleEditorCommandHandler(selectionLayer, this.labelAccumulatorFixture, this.configRegistryFixture);
}
Aggregations