Package org.eclipse.nebula.widgets.nattable.sort.config

Examples of org.eclipse.nebula.widgets.nattable.sort.config.DefaultSortConfiguration


        selectionLayer = gridLayer.getBodyLayerStack().getSelectionLayer();
        bodyDataProvider = gridLayer.getBodyDataProvider();
        selectionProvider = new RowSelectionProvider<RowDataFixture>(
                selectionLayer, bodyDataProvider);

        nattable.addConfiguration(new DefaultSortConfiguration());

        // Enable preserve selection on data update
        selectionLayer.setSelectionModel(new RowSelectionModel<RowDataFixture>(
                selectionLayer, bodyDataProvider,
                new IRowIdAccessor<RowDataFixture>() {
View Full Code Here


                RowDataListFixture.getPropertyToLabelMap(), configRegistry);

        nattable = new NatTableFixture(gridLayerStack, false);
        nattable.setConfigRegistry(configRegistry);
        nattable.addConfiguration(new DefaultNatTableStyleConfiguration());
        nattable.addConfiguration(new DefaultSortConfiguration());
        nattable.configure();
    }
View Full Code Here

        registerPersistable(new SortStatePersistor<T>(sortModel));
        registerCommandHandler(new SortCommandHandler<T>(sortModel, this));

        if (useDefaultConfiguration) {
            addConfiguration(new DefaultSortConfiguration());
        }
    }
View Full Code Here

TOP

Related Classes of org.eclipse.nebula.widgets.nattable.sort.config.DefaultSortConfiguration

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.