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
public class RowSpanningPasteDataCommandHandler extends InternalPasteDataCommandHandler
ILayerCommandHandler
for handlingPasteDataCommand
s using theInternalCellClipboard
. 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
Constructors Constructor Description RowSpanningPasteDataCommandHandler(SelectionLayer selectionLayer, InternalCellClipboard clipboard)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
doCommand(PasteDataCommand command)
-
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 Detail
-
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 Detail
-
doCommand
protected boolean doCommand(PasteDataCommand command)
- Overrides:
doCommand
in classInternalPasteDataCommandHandler
-
-