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

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


    }

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


    @Test
    public void testCompositeViewportDataLayerPerformance() {
        CompositeLayer compositeLayer = new CompositeLayer(1, 1);
        compositeLayer.setChildLayer(GridRegion.BODY, new ViewportLayer(
                new DataLayer(new DummyBodyDataProvider(1000000, 1000000))), 0,
                0);

        layer = compositeLayer;
    }
View Full Code Here

public class BodyStackLayerPerformanceTest extends AbstractLayerPerformanceTest {

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

    }

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

    }

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

public class CompositeLayerPerformanceTest extends AbstractLayerPerformanceTest {

    @Test
    public void testGridLayerPerformance() {
        DummyBodyDataProvider bodyDataProvider = new DummyBodyDataProvider(
                1000000, 1000000);
        SelectionLayer selectionLayer = new SelectionLayer(new DataLayer(
                bodyDataProvider));
        ViewportLayer viewportLayer = new ViewportLayer(selectionLayer);
View Full Code Here

public class ElementalLayerPerformanceTest extends AbstractLayerPerformanceTest {

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

        layer = new DataLayer(new DummyBodyDataProvider(10, 50));
    }

    @Test
    public void testBigDataLayerPerformance() {
        layer = new DataLayer(new DummyBodyDataProvider(50, 100));
        setExpectedTimeInMillis(250);
    }
View Full Code Here

        setExpectedTimeInMillis(250);
    }

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

    }

    @Test
    public void testHideShowDataLayerPerformance() {
        layer = new ColumnHideShowLayer(new DataLayer(
                new DummyBodyDataProvider(10, 50)));
    }
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.