public class RemoveAnchorCommand extends AbstractTransaction
| Modifier and Type | Field and Description |
|---|---|
protected Condition |
element |
protected InstanceLine |
oldAnchor |
commandManager, committedversion| 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, undogetVersion, setVersionprotected 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 AbstractTransactionprotected void doExecute()
doExecute in class AbstractTransactionprotected void doUndo()
doUndo in class AbstractTransactionpublic Element getModifiedElement()
Copyright © 2014 Uppsala University and Aalborg University. All Rights Reserved.