public class InsertInstanceCommand extends InsertElementCommand
element, parent, position
commandManager, committed
version
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, getModifiedElement
cancel, commit, execute, undo
getVersion, setVersion
public 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 InsertElementCommand
protected void doCancel()
doCancel
in class InsertElementCommand
protected void doExecute()
doExecute
in class InsertElementCommand
protected void doUndo()
doUndo
in class InsertElementCommand
Copyright © 2014 Uppsala University and Aalborg University. All Rights Reserved.