public class InsertInstanceCommand extends InsertElementCommand
element, parent, positioncommandManager, committedversion| Constructor and Description |
|---|
InsertInstanceCommand(AbstractTemplate parent,
Node position,
Node element,
ViewWorkAround view)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
doCancel() |
protected void |
doExecute() |
protected void |
doUndo() |
void |
move(int x,
int y) |
getElement, getModifiedElementcancel, commit, execute, undogetVersion, setVersionpublic InsertInstanceCommand(AbstractTemplate parent, Node position, Node element, ViewWorkAround view)
parent - - The parent abstract templateposition - - The insert positionelement - - The elementview - - The view work aroundpublic void move(int x,
int y)
move in class InsertElementCommandprotected void doCancel()
doCancel in class InsertElementCommandprotected void doExecute()
doExecute in class InsertElementCommandprotected void doUndo()
doUndo in class InsertElementCommandCopyright © 2014 Uppsala University and Aalborg University. All Rights Reserved.