Class FillHandlePasteCommand
- java.lang.Object
-
- org.eclipse.nebula.widgets.nattable.command.AbstractContextFreeCommand
-
- org.eclipse.nebula.widgets.nattable.fillhandle.command.FillHandlePasteCommand
-
- All Implemented Interfaces:
ILayerCommand
public class FillHandlePasteCommand extends AbstractContextFreeCommand
Command to trigger pasting data via fill handle drag operation.- Since:
- 1.4
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FillHandlePasteCommand.FillHandleOperation
The operation that should be triggered to fill the cells.
-
Field Summary
Fields Modifier and Type Field Description IConfigRegistry
configRegistry
TheIConfigRegistry
needed to dynamically read configurations on command handling, e.g.SelectionLayer.MoveDirectionEnum
direction
The direction in which the fill handle was dragged.FillHandlePasteCommand.FillHandleOperation
operation
TheFillHandlePasteCommand.FillHandleOperation
that should be triggered.
-
Constructor Summary
Constructors Constructor Description FillHandlePasteCommand(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 Detail
-
operation
public final FillHandlePasteCommand.FillHandleOperation operation
TheFillHandlePasteCommand.FillHandleOperation
that should be triggered.
-
direction
public final SelectionLayer.MoveDirectionEnum direction
The direction in which the fill handle was dragged. Necessary for the series operation to calculate the values.
-
configRegistry
public final IConfigRegistry configRegistry
TheIConfigRegistry
needed to dynamically read configurations on command handling, e.g. editable state.
-
-
Constructor Detail
-
FillHandlePasteCommand
public FillHandlePasteCommand(IConfigRegistry configRegistry)
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.
-
-