public class AddAnchorCommand extends AbstractTransaction
| Modifier and Type | Field and Description |
|---|---|
protected InstanceLine |
anchor |
protected Condition |
element |
committed, documentversion| Constructor and Description |
|---|
AddAnchorCommand(Document document,
Element element)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
addAnchor(InstanceLine anchor,
int x) |
protected void |
doCancel()
Undo the translation.
|
protected void |
doExecute() |
protected void |
doUndo() |
Element |
getModifiedElement() |
cancel, commit, execute, move, undogetVersion, setVersionprotected Condition element
protected InstanceLine anchor
public void addAnchor(InstanceLine anchor, int x)
protected void doCancel()
doCancel in class AbstractTransactionprotected void doExecute()
doExecute in class AbstractTransactionprotected void doUndo()
doUndo in class AbstractTransactionpublic Element getModifiedElement()
Copyright © 2012 Uppsala University and Aalborg University. All Rights Reserved.