public class RemoveAnchorCommand extends AbstractTransaction
Modifier and Type | Field and Description |
---|---|
protected Condition |
element |
protected InstanceLine |
oldAnchor |
commandManager, committed
version
Constructor and Description |
---|
RemoveAnchorCommand(CommandManager commandManager,
Element element,
InstanceLine anchor)
Constructor
|
Modifier and Type | Method and Description |
---|---|
protected void |
doCancel()
Undo the translation.
|
protected void |
doExecute() |
protected void |
doUndo() |
Element |
getModifiedElement() |
void |
removeAnchor(ViewWorkAround view)
Remove the anchor
|
cancel, commit, execute, move, undo
getVersion, setVersion
protected InstanceLine oldAnchor
protected Condition element
public RemoveAnchorCommand(CommandManager commandManager, Element element, InstanceLine anchor)
commandManager
- - The command managerelement
- anchor
- public void removeAnchor(ViewWorkAround view)
view
- - The work around viewprotected void doCancel()
doCancel
in class AbstractTransaction
protected void doExecute()
doExecute
in class AbstractTransaction
protected void doUndo()
doUndo
in class AbstractTransaction
public Element getModifiedElement()
Copyright © 2014 Uppsala University and Aalborg University. All Rights Reserved.