Package org.eclipse.nebula.widgets.nattable.grid.data

Examples of org.eclipse.nebula.widgets.nattable.grid.data.DummyBodyDataProvider


                new DummyBodyDataProvider(10, 50)));
    }

    @Test
    public void testSelectionDataLayerPerformance() {
        layer = new SelectionLayer(new DataLayer(new DummyBodyDataProvider(10,
                50)));
    }
View Full Code Here


    @Test
    public void testCompositeDataLayerPerformance() {
        CompositeLayer compositeLayer = new CompositeLayer(1, 1);
        compositeLayer.setChildLayer(GridRegion.BODY, new DataLayer(
                new DummyBodyDataProvider(10, 50)), 0, 0);

        layer = compositeLayer;
    }
View Full Code Here

public class ElementalViewportLayerPerformanceTest extends
        AbstractLayerPerformanceTest {

    @Test
    public void testViewportDataLayerPerformance() {
        layer = new ViewportLayer(new DataLayer(new DummyBodyDataProvider(
                1000000, 1000000)));
    }
View Full Code Here

    private SelectionLayer selectionLayer;

    @Before
    public void setUp() {
        final DataLayer bodyDataLayer = new DataLayer(
                new DummyBodyDataProvider(10, 10));
        final DefaultBodyLayerStack bodyLayer = new DefaultBodyLayerStack(
                bodyDataLayer);
        selectionLayer = bodyLayer.getSelectionLayer();

        freezeLayer = new FreezeLayer(selectionLayer);
View Full Code Here

        StandaloneNatExampleRunner.run(new ReorderDataLayerExample());
    }

    public Control createExampleControl(Composite parent) {
        return new NatTable(parent, new ColumnReorderLayer(new DataLayer(
                new DummyBodyDataProvider(500, 1000000))));
    }
View Full Code Here

        StandaloneNatExampleRunner.run(new HideShowDataLayerExample());
    }

    public Control createExampleControl(Composite parent) {
        return new NatTable(parent, new ColumnHideShowLayer(new DataLayer(
                new DummyBodyDataProvider(1000000, 1000000))));
    }
View Full Code Here

        StandaloneNatExampleRunner.run(new SelectionDataLayerExample());
    }

    public Control createExampleControl(Composite parent) {
        return new NatTable(parent, new SelectionLayer(new DataLayer(
                new DummyBodyDataProvider(1000000, 1000000))));
    }
View Full Code Here

    public static void main(String[] args) throws Exception {
        StandaloneNatExampleRunner.run(new CompositeDataLayerExample());
    }

    public Control createExampleControl(Composite parent) {
        ILayer dataLayer = new DataLayer(new DummyBodyDataProvider(1000000,
                1000000));

        CompositeLayer compositeLayer = new CompositeLayer(1, 1);
        compositeLayer.setChildLayer(GridRegion.BODY, dataLayer, 0, 0);
View Full Code Here

        StandaloneNatExampleRunner.run(new ViewportDataLayerExample());
    }

    public Control createExampleControl(Composite parent) {
        return new NatTable(parent, new ViewportLayer(new DataLayer(
                new DummyBodyDataProvider(1000000, 1000000))));
    }
View Full Code Here

    public static void main(String[] args) throws Exception {
        StandaloneNatExampleRunner.run(new DataLayerExample());
    }

    public Control createExampleControl(Composite parent) {
        return new NatTable(parent, new DataLayer(new DummyBodyDataProvider(
                1000000, 1000000)));
    }
View Full Code Here

TOP

Related Classes of org.eclipse.nebula.widgets.nattable.grid.data.DummyBodyDataProvider

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.