public class InsertAnchoredElementCommand extends InsertElementCommand
element, parent, positioncommandManager, committedversion| Constructor and Description |
|---|
InsertAnchoredElementCommand(InstanceLine anchor,
AnchoredElement element)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
doCancel() |
protected void |
doUndo() |
void |
setAnchor(InstanceLine anchor)
Set anchor into the element
|
void |
showEditor(JFrame frame)
Show the editor
|
doExecute, getElement, getModifiedElement, movecancel, commit, execute, undogetVersion, setVersionpublic InsertAnchoredElementCommand(InstanceLine anchor, AnchoredElement element)
anchor - - The anchor valueelement - - The anchor elementpublic void setAnchor(InstanceLine anchor)
anchor - - The new anchorpublic void showEditor(JFrame frame)
frame - - The jFrameprotected void doCancel()
doCancel in class InsertElementCommandprotected void doUndo()
doUndo in class InsertElementCommandCopyright © 2014 Uppsala University and Aalborg University. All Rights Reserved.