use of org.eclipse.nebula.widgets.nattable.test.fixture.TickUpdateHandlerFixture in project nebula.widgets.nattable by eclipse.
the class TickUpdateCommandHandlerTest method setup.
@Before
public void setup() {
DataLayerFixture bodyDataLayer = new DataLayerFixture();
this.selectionLayer = new SelectionLayer(bodyDataLayer);
this.selectionLayer.setSelectedCell(1, 1);
this.testConfigRegistry = new ConfigRegistry();
this.testConfigRegistry.registerConfigAttribute(TickUpdateConfigAttributes.UPDATE_HANDLER, new TickUpdateHandlerFixture());
this.testConfigRegistry.registerConfigAttribute(EditConfigAttributes.CELL_EDITABLE_RULE, IEditableRule.ALWAYS_EDITABLE);
registerCellStyleAccumulators(bodyDataLayer);
this.commandHandler = new TickUpdateCommandHandler(this.selectionLayer);
}
Aggregations