public class RemoveAnchorCommand extends AbstractTransaction
Modifier and Type | Field and Description |
---|---|
protected Condition |
element |
protected InstanceLine |
oldAnchor |
committed, document
version
Constructor and Description |
---|
RemoveAnchorCommand(Document document,
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) |
cancel, commit, execute, move, undo
getVersion, setVersion
protected InstanceLine oldAnchor
protected Condition element
public RemoveAnchorCommand(Document document, Element element, InstanceLine anchor)
document
- element
- public void removeAnchor(ViewWorkAround view)
protected void doCancel()
doCancel
in class AbstractTransaction
protected void doExecute()
doExecute
in class AbstractTransaction
protected void doUndo()
doUndo
in class AbstractTransaction
public Element getModifiedElement()
Copyright © 2012 Uppsala University and Aalborg University. All Rights Reserved.