public class InsertElementCommand extends AbstractTransaction
| Modifier and Type | Field and Description |
|---|---|
protected Node |
element |
protected Node |
parent |
protected Node |
position |
committed, documentversion| Constructor and Description |
|---|
InsertElementCommand(Node parent,
Node position,
Node element) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doCancel() |
protected void |
doExecute() |
protected void |
doUndo() |
Element |
getElement() |
Element |
getModifiedElement() |
void |
move(int x,
int y) |
cancel, commit, execute, undogetVersion, setVersionprotected Node parent
protected Node element
protected Node position
public void move(int x,
int y)
move in class AbstractTransactionpublic Element getElement()
protected void doCancel()
doCancel in class AbstractTransactionprotected void doExecute()
doExecute in class AbstractTransactionprotected void doUndo()
doUndo in class AbstractTransactionpublic Element getModifiedElement()
Copyright © 2012 Uppsala University and Aalborg University. All Rights Reserved.