Class ColumnSizeConfigurationCommandHandler
- java.lang.Object
-
- org.eclipse.nebula.widgets.nattable.resize.command.ColumnSizeConfigurationCommandHandler
-
- All Implemented Interfaces:
ILayerCommandHandler<ColumnSizeConfigurationCommand>
public class ColumnSizeConfigurationCommandHandler extends Object implements ILayerCommandHandler<ColumnSizeConfigurationCommand>
ILayerCommandHandler
for theColumnSizeConfigurationCommand
. Determines the column positions to resize based on the given label.- Since:
- 1.4
-
-
Constructor Summary
Constructors Constructor Description ColumnSizeConfigurationCommandHandler(DataLayer dataLayer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
doCommand(ILayer targetLayer, ColumnSizeConfigurationCommand command)
Class<ColumnSizeConfigurationCommand>
getCommandClass()
-
-
-
Constructor Detail
-
ColumnSizeConfigurationCommandHandler
public ColumnSizeConfigurationCommandHandler(DataLayer dataLayer)
-
-
Method Detail
-
doCommand
public boolean doCommand(ILayer targetLayer, ColumnSizeConfigurationCommand command)
- Specified by:
doCommand
in interfaceILayerCommandHandler<ColumnSizeConfigurationCommand>
- Parameters:
targetLayer
- the target layercommand
- the command- Returns:
- true if the command has been handled, false otherwise
-
getCommandClass
public Class<ColumnSizeConfigurationCommand> getCommandClass()
- Specified by:
getCommandClass
in interfaceILayerCommandHandler<ColumnSizeConfigurationCommand>
-
-