Class ReorderColumnsAndGroupsCommandHandler
java.lang.Object
org.eclipse.nebula.widgets.nattable.command.AbstractLayerCommandHandler<ReorderColumnsAndGroupsCommand>
org.eclipse.nebula.widgets.nattable.group.command.ReorderColumnsAndGroupsCommandHandler
- All Implemented Interfaces:
ILayerCommandHandler<ReorderColumnsAndGroupsCommand>
public class ReorderColumnsAndGroupsCommandHandler
extends AbstractLayerCommandHandler<ReorderColumnsAndGroupsCommand>
-
Constructor Summary
ConstructorDescriptionReorderColumnsAndGroupsCommandHandler
(ColumnGroupReorderLayer columnGroupReorderLayer) -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
doCommand
(ReorderColumnsAndGroupsCommand command) Check if any column belongs to a group.Methods inherited from class org.eclipse.nebula.widgets.nattable.command.AbstractLayerCommandHandler
doCommand
-
Constructor Details
-
ReorderColumnsAndGroupsCommandHandler
-
-
Method Details
-
getCommandClass
-
doCommand
Check if any column belongs to a group. If yes, add all columns in that group. Assumes that the 'toLocation' is not inside another group- Specified by:
doCommand
in classAbstractLayerCommandHandler<ReorderColumnsAndGroupsCommand>
-