|
VdexReload 1.1.3 API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.reload.moonunit.dom.ReloadSchemaDocument.UndoableMoveAction
Handles Undo/Redo for Moving Elements
Constructor Summary | |
ReloadSchemaDocument.UndoableMoveAction(org.jdom.Element oldParent,
org.jdom.Element newParent,
org.jdom.Element element)
Constructor |
Method Summary | |
java.lang.String |
getName()
Gets the name of the move element |
void |
redo()
Redo's a move by removing an element from the old parent and adding it to the new parent at the given index |
void |
undo()
Undo's a move by removing the element from the new parent and adding to the old parent at the given index |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ReloadSchemaDocument.UndoableMoveAction(org.jdom.Element oldParent, org.jdom.Element newParent, org.jdom.Element element)
oldParent
- the old parent element from which the given element is moved
newParent the new parent element to which the given element is moved
element the element to moveMethod Detail |
public void undo()
undo
in interface UndoableAction
public void redo()
redo
in interface UndoableAction
public java.lang.String getName()
getName
in interface UndoableAction
|
VdexReload 1.1.3 API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |