Class RowSpanningPasteDataCommandHandler
java.lang.Object
org.eclipse.nebula.widgets.nattable.command.AbstractLayerCommandHandler<PasteDataCommand>
org.eclipse.nebula.widgets.nattable.copy.command.InternalPasteDataCommandHandler
org.eclipse.nebula.widgets.nattable.copy.command.RowSpanningPasteDataCommandHandler
- All Implemented Interfaces:
ILayerCommandHandler<PasteDataCommand>
- Direct Known Subclasses:
HierarchicalTreePasteDataCommandHandler
ILayerCommandHandler
for handling PasteDataCommand
s using the
InternalCellClipboard
. Will treat cells with row spanning as a single
cell.- Since:
- 1.6
-
Field Summary
Fields inherited from class org.eclipse.nebula.widgets.nattable.copy.command.InternalPasteDataCommandHandler
clipboard, selectionLayer
-
Constructor Summary
ConstructorDescriptionRowSpanningPasteDataCommandHandler
(SelectionLayer selectionLayer, InternalCellClipboard clipboard) -
Method Summary
Methods inherited from class org.eclipse.nebula.widgets.nattable.copy.command.InternalPasteDataCommandHandler
getCommandClass, getPasteLayer, getPasteValue, isPasteAllowed, postInternalPaste, preInternalPaste
Methods inherited from class org.eclipse.nebula.widgets.nattable.command.AbstractLayerCommandHandler
doCommand
-
Constructor Details
-
RowSpanningPasteDataCommandHandler
public RowSpanningPasteDataCommandHandler(SelectionLayer selectionLayer, InternalCellClipboard clipboard) - Parameters:
selectionLayer
-SelectionLayer
that is needed to determine the position to paste the values to.clipboard
- TheInternalCellClipboard
that contains the values that should be pasted.
-
-
Method Details
-
doCommand
- Overrides:
doCommand
in classInternalPasteDataCommandHandler
-