Search in sources :

Example 1 with ZoomLayer

use of org.eclipse.nebula.widgets.nattable.layer.ZoomLayer in project nebula.widgets.nattable by eclipse.

the class ZoomedViewportSelectionDataLayerExample method createExampleControl.

@Override
public Control createExampleControl(Composite parent) {
    ZoomLayer zoomLayer = new ZoomLayer(new DummyGridLayerStack());
    zoomLayer.setZoomFactor(3.0f);
    return new NatTable(parent, zoomLayer);
}
Also used : DummyGridLayerStack(org.eclipse.nebula.widgets.nattable.layer.stack.DummyGridLayerStack) NatTable(org.eclipse.nebula.widgets.nattable.NatTable) ZoomLayer(org.eclipse.nebula.widgets.nattable.layer.ZoomLayer)

Aggregations

NatTable (org.eclipse.nebula.widgets.nattable.NatTable)1 ZoomLayer (org.eclipse.nebula.widgets.nattable.layer.ZoomLayer)1 DummyGridLayerStack (org.eclipse.nebula.widgets.nattable.layer.stack.DummyGridLayerStack)1