Class RowInsertCommandHandler<T>
java.lang.Object
org.eclipse.nebula.widgets.nattable.data.command.RowInsertCommandHandler<T>
- Type Parameters:
T
- The type contained in the backing data list.
- All Implemented Interfaces:
ILayerCommandHandler<RowInsertCommand>
public class RowInsertCommandHandler<T>
extends Object
implements ILayerCommandHandler<RowInsertCommand>
Default command handler for the
RowInsertCommand
. Operates on a
List
to add row objects by index. Therefore this command handler
should be registered on the body DataLayer.- Since:
- 1.6
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
doCommand
(ILayer targetLayer, RowInsertCommand command)
-
Constructor Details
-
RowInsertCommandHandler
- Parameters:
bodyData
- The backing data list on which the delete operation should be performed. Should be the same list that is used by the data provider.
-
-
Method Details
-
doCommand
- Specified by:
doCommand
in interfaceILayerCommandHandler<T>
- Parameters:
targetLayer
- the target layercommand
- the command- Returns:
- true if the command has been handled, false otherwise
-
getCommandClass
- Specified by:
getCommandClass
in interfaceILayerCommandHandler<T>
-