Package org.eclipse.nebula.widgets.nattable.group.command

Examples of org.eclipse.nebula.widgets.nattable.group.command.ReorderColumnsAndGroupsCommand


                        int toPosition = adjustToPosition(direction,
                                toPositions.get(i).intValue());
                        command = new ColumnReorderCommand(columnHideShowLayer,
                                fromPosition, toPosition);
                    } else if (columnGroupMoved && multipleColumnsMoved) {
                        command = new ReorderColumnsAndGroupsCommand(
                                columnHideShowLayer, fromPositions.get(i),
                                adjustToPosition(direction, toPositions.get(i)));
                    } else if (!columnGroupMoved && multipleColumnsMoved) {
                        command = new MultiColumnReorderCommand(
                                columnHideShowLayer, fromPositions.get(i),
View Full Code Here


     * ->| |<-- G2 -->| |<--- G3 --->|
     */
    @SuppressWarnings("boxing")
    @Test
    public void handleReorderColumnsAndGroupsCommand() throws Exception {
        ReorderColumnsAndGroupsCommand command = new ReorderColumnsAndGroupsCommand(
                layer, Arrays.asList(3, 5, 6), 8);
        layer.doCommand(command);

        modelFixture.assertUnchanged();

View Full Code Here

TOP

Related Classes of org.eclipse.nebula.widgets.nattable.group.command.ReorderColumnsAndGroupsCommand

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.