Class CSSConfigureScalingCommandHandler
- java.lang.Object
-
- org.eclipse.nebula.widgets.nattable.extension.e4.css.CSSConfigureScalingCommandHandler
-
- All Implemented Interfaces:
ILayerCommandHandler<ConfigureScalingCommand>
public class CSSConfigureScalingCommandHandler extends Object implements ILayerCommandHandler<ConfigureScalingCommand>
ILayerCommandHandler
for theConfigureScalingCommand
that actively triggers an update of the CSS styling.- Since:
- 2.0
-
-
Constructor Summary
Constructors Constructor Description CSSConfigureScalingCommandHandler(NatTable natTable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
doCommand(ILayer targetLayer, ConfigureScalingCommand command)
Class<ConfigureScalingCommand>
getCommandClass()
-
-
-
Constructor Detail
-
CSSConfigureScalingCommandHandler
public CSSConfigureScalingCommandHandler(NatTable natTable)
- Parameters:
natTable
- The NatTable instance to which this command handler should be bound. Needed to trigger the styling update on the NatTable Widget.
-
-
Method Detail
-
doCommand
public boolean doCommand(ILayer targetLayer, ConfigureScalingCommand command)
- Specified by:
doCommand
in interfaceILayerCommandHandler<ConfigureScalingCommand>
- Parameters:
targetLayer
- the target layercommand
- the command- Returns:
- true if the command has been handled, false otherwise
-
getCommandClass
public Class<ConfigureScalingCommand> getCommandClass()
- Specified by:
getCommandClass
in interfaceILayerCommandHandler<ConfigureScalingCommand>
-
-