Class DisposeCalculatedValueCacheCommandHandler
java.lang.Object
org.eclipse.nebula.widgets.nattable.command.DisposeCalculatedValueCacheCommandHandler
- All Implemented Interfaces:
ILayerCommandHandler<DisposeResourcesCommand>
public class DisposeCalculatedValueCacheCommandHandler
extends Object
implements ILayerCommandHandler<DisposeResourcesCommand>
ILayerCommandHandler for the DisposeResourcesCommand.
Disposes the CalculatedValueCache.
Note that this command handler does not consume the
DisposeResourcesCommand. So it is possible to register multiple
instances of this command handler for different instances of the
CalculatedValueCache.
- Since:
- 1.4
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleandoCommand(ILayer targetLayer, DisposeResourcesCommand command)
-
Field Details
-
valueCache
-
-
Constructor Details
-
DisposeCalculatedValueCacheCommandHandler
- Parameters:
valueCache- TheCalculatedValueCachethat should be affected by this command handler.
-
-
Method Details
-
doCommand
- Specified by:
doCommandin interfaceILayerCommandHandler<DisposeResourcesCommand>- Parameters:
targetLayer- the target layercommand- the command- Returns:
- true if the command has been handled, false otherwise
-
getCommandClass
- Specified by:
getCommandClassin interfaceILayerCommandHandler<DisposeResourcesCommand>
-