use of org.eclipse.nebula.widgets.nattable.test.fixture.InitializeClientAreaCommandFixture in project nebula.widgets.nattable by eclipse.
the class SelectionDragModeTest method setup.
@Before
public void setup() {
this.gridLayer = new DummyGridLayerStack();
this.natTable = new NatTable(new Shell(Display.getDefault()), this.gridLayer);
this.natTable.setSize(400, 400);
this.natTable.doCommand(new InitializeClientAreaCommandFixture());
this.dragMode = new CellSelectionDragMode();
Event event = new Event();
event.widget = new Shell();
event.x = 100;
event.y = 100;
this.mouseEvent = new MouseEvent(event);
this.listener = new LayerListenerFixture();
this.gridLayer.addLayerListener(this.listener);
}
use of org.eclipse.nebula.widgets.nattable.test.fixture.InitializeClientAreaCommandFixture in project nebula.widgets.nattable by eclipse.
the class RowHeaderSelectionTest method setUp.
@Before
public void setUp() {
this.gridLayer = new GridLayerFixture();
this.gridLayer.doCommand(new InitializeClientAreaCommandFixture());
}
Aggregations