Class ReorderColumnsAndGroupsCommand

java.lang.Object
org.eclipse.nebula.widgets.nattable.reorder.command.MultiColumnReorderCommand
org.eclipse.nebula.widgets.nattable.group.command.ReorderColumnsAndGroupsCommand
All Implemented Interfaces:
ILayerCommand

public class ReorderColumnsAndGroupsCommand extends MultiColumnReorderCommand
Reorder single multiple columns and column groups in one shot. - Needed by the column chooser
  • Constructor Details

    • ReorderColumnsAndGroupsCommand

      public ReorderColumnsAndGroupsCommand(ILayer layer, List<Integer> fromColumnPositions, int toColumnPositions)
      If any of the fromColumnPositions contain a group - the group will be moved.