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 classFillHandlePasteCommand.FillHandleOperationThe operation that should be triggered to fill the cells.
-
Field Summary
Fields Modifier and Type Field Description IConfigRegistryconfigRegistryTheIConfigRegistryneeded to dynamically read configurations on command handling, e.g.SelectionLayer.MoveDirectionEnumdirectionThe direction in which the fill handle was dragged.FillHandlePasteCommand.FillHandleOperationoperationTheFillHandlePasteCommand.FillHandleOperationthat 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.FillHandleOperationthat 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
TheIConfigRegistryneeded 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- TheIConfigRegistryneeded 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.FillHandleOperationthat should be triggered.direction- The direction in which the fill handle was dragged. Necessary for the series operation to calculate the values.configRegistry- TheIConfigRegistryneeded to dynamically read configurations on command handling, e.g. editable state.
-
-