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
Constructors Constructor Description ReorderColumnsAndGroupsCommandHandler(ColumnGroupReorderLayer columnGroupReorderLayer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
doCommand(ReorderColumnsAndGroupsCommand command)
Check if any column belongs to a group.Class<ReorderColumnsAndGroupsCommand>
getCommandClass()
-
Methods inherited from class org.eclipse.nebula.widgets.nattable.command.AbstractLayerCommandHandler
doCommand
-
-
-
-
Constructor Detail
-
ReorderColumnsAndGroupsCommandHandler
public ReorderColumnsAndGroupsCommandHandler(ColumnGroupReorderLayer columnGroupReorderLayer)
-
-
Method Detail
-
getCommandClass
public Class<ReorderColumnsAndGroupsCommand> getCommandClass()
-
doCommand
protected boolean doCommand(ReorderColumnsAndGroupsCommand command)
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>
-
-