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 PasteDataCommands 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
ConstructorsConstructorDescriptionRowSpanningPasteDataCommandHandler(SelectionLayer selectionLayer, InternalCellClipboard clipboard) -
Method Summary
Methods inherited from class org.eclipse.nebula.widgets.nattable.copy.command.InternalPasteDataCommandHandler
getCommandClass, getPasteLayer, getPasteValue, isPasteAllowed, postInternalPaste, preInternalPasteMethods inherited from class org.eclipse.nebula.widgets.nattable.command.AbstractLayerCommandHandler
doCommand
-
Constructor Details
-
RowSpanningPasteDataCommandHandler
public RowSpanningPasteDataCommandHandler(SelectionLayer selectionLayer, InternalCellClipboard clipboard) - Parameters:
selectionLayer-SelectionLayerthat is needed to determine the position to paste the values to.clipboard- TheInternalCellClipboardthat contains the values that should be pasted.
-
-
Method Details
-
doCommand
- Overrides:
doCommandin classInternalPasteDataCommandHandler
-