Class PasteNode
java.lang.Object
javax.swing.undo.AbstractUndoableEdit
com.marginallyclever.ro3.apps.commands.PasteNode
- All Implemented Interfaces:
Serializable
,UndoableEdit
Paste the copied nodes as children of the parent nodes.
- See Also:
-
Constructor Summary
-
Method Summary
Methods inherited from class javax.swing.undo.AbstractUndoableEdit
addEdit, canRedo, canUndo, die, getRedoPresentationName, getUndoPresentationName, isSignificant, replaceEdit, toString
-
Constructor Details
-
PasteNode
Paste the copied nodes as children of the parent nodes.- Parameters:
parents
- the parent nodes.
-
-
Method Details
-
getPresentationName
- Specified by:
getPresentationName
in interfaceUndoableEdit
- Overrides:
getPresentationName
in classAbstractUndoableEdit
-
redo
public void redo()- Specified by:
redo
in interfaceUndoableEdit
- Overrides:
redo
in classAbstractUndoableEdit
-
execute
public void execute() -
undo
- Specified by:
undo
in interfaceUndoableEdit
- Overrides:
undo
in classAbstractUndoableEdit
- Throws:
CannotUndoException
-