public class PasteAtSourcePositionAction extends AbstractPasteAction
PasteAction
that pastes at the exact source location the item was copied from.JosmAction.ActiveLayerChangeAdapter, JosmAction.LayerChangeAdapter, JosmAction.SelectionChangeAdapter
transferHandler
sc
Constructor and Description |
---|
PasteAtSourcePositionAction()
Constructs a new
PasteAtSourcePositionAction . |
Modifier and Type | Method and Description |
---|---|
protected EastNorth |
computePastePosition(java.awt.event.ActionEvent e)
Compute the location the objects should be pasted at.
|
actionPerformed, doPaste, flavorsChanged, updateEnabledState
checkAndConfirmOutlyingOperation, destroy, getLayerManager, getShortcut, initEnabledState, installAdapters, listenToLayerChange, listenToSelectionChange, setTooltip, updateEnabledState, updateEnabledStateOnCurrentSelection, updateEnabledStateOnCurrentSelection, updateEnabledStateOnModifiableSelection, waitFuture
public PasteAtSourcePositionAction()
PasteAtSourcePositionAction
.protected EastNorth computePastePosition(java.awt.event.ActionEvent e)
AbstractPasteAction
computePastePosition
in class AbstractPasteAction
e
- The action event that triggered the paste