Class FillHandlePasteCommand
java.lang.Object
org.eclipse.nebula.widgets.nattable.command.AbstractContextFreeCommand
org.eclipse.nebula.widgets.nattable.fillhandle.command.FillHandlePasteCommand
- All Implemented Interfaces:
ILayerCommand
Command to trigger pasting data via fill handle drag operation.
- Since:
- 1.4
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
The operation that should be triggered to fill the cells. -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal IConfigRegistry
TheIConfigRegistry
needed to dynamically read configurations on command handling, e.g.The direction in which the fill handle was dragged.TheFillHandlePasteCommand.FillHandleOperation
that should be triggered. -
Constructor Summary
ConstructorsConstructorDescriptionFillHandlePasteCommand
(IConfigRegistry configRegistry) Create a FillHandlePasteCommand that triggers a copy operation.FillHandlePasteCommand
(FillHandlePasteCommand.FillHandleOperation operation, SelectionLayer.MoveDirectionEnum direction, IConfigRegistry configRegistry) Create a FillHandlePasteCommand. -
Method Summary
Methods inherited from class org.eclipse.nebula.widgets.nattable.command.AbstractContextFreeCommand
cloneCommand, convertToTargetLayer
-
Field Details
-
operation
TheFillHandlePasteCommand.FillHandleOperation
that should be triggered. -
direction
The direction in which the fill handle was dragged. Necessary for the series operation to calculate the values. -
configRegistry
TheIConfigRegistry
needed to dynamically read configurations on command handling, e.g. editable state.
-
-
Constructor Details
-
FillHandlePasteCommand
Create a FillHandlePasteCommand that triggers a copy operation.- Parameters:
configRegistry
- TheIConfigRegistry
needed to dynamically read configurations on command handling, e.g. editable state.
-
FillHandlePasteCommand
public FillHandlePasteCommand(FillHandlePasteCommand.FillHandleOperation operation, SelectionLayer.MoveDirectionEnum direction, IConfigRegistry configRegistry) Create a FillHandlePasteCommand.- Parameters:
operation
- TheFillHandlePasteCommand.FillHandleOperation
that should be triggered.direction
- The direction in which the fill handle was dragged. Necessary for the series operation to calculate the values.configRegistry
- TheIConfigRegistry
needed to dynamically read configurations on command handling, e.g. editable state.
-