Class UpdateDataCommandHandler
java.lang.Object
org.eclipse.nebula.widgets.nattable.command.AbstractLayerCommandHandler<UpdateDataCommand>
org.eclipse.nebula.widgets.nattable.edit.command.UpdateDataCommandHandler
- All Implemented Interfaces:
ILayerCommandHandler<UpdateDataCommand>
ILayerCommandHandler that handles UpdateDataCommands by
updating the data model. It is usually directly registered to the
DataLayer this command handler is associated with.-
Constructor Summary
ConstructorsConstructorDescriptionUpdateDataCommandHandler(DataLayer dataLayer) Creates anUpdateDataCommandHandlerthat performs an equals check before performing a data update and does not perform an update if the data value is equal to the one currently set.UpdateDataCommandHandler(DataLayer dataLayer, boolean performEqualsCheck) -
Method Summary
Methods inherited from class org.eclipse.nebula.widgets.nattable.command.AbstractLayerCommandHandler
doCommand
-
Constructor Details
-
UpdateDataCommandHandler
Creates anUpdateDataCommandHandlerthat performs an equals check before performing a data update and does not perform an update if the data value is equal to the one currently set.- Parameters:
dataLayer- TheDataLayeron which the data model updates should be executed.
-
UpdateDataCommandHandler
- Parameters:
dataLayer- TheDataLayeron which the data model updates should be executed.performEqualsCheck- Flag to configure if the new value should be checked for equality with the existing value. If set totruethe check is performed and the update operation will be skipped if the two values are equal. If set tofalsethe update is performed always.- Since:
- 1.6
-
-
Method Details
-
getCommandClass
-
doCommand
- Specified by:
doCommandin classAbstractLayerCommandHandler<UpdateDataCommand>
-