public class InsertAnchoredElementCommand extends InsertElementCommand
element, parent, position
commandManager, committed
version
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, move
cancel, commit, execute, undo
getVersion, setVersion
public 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 InsertElementCommand
protected void doUndo()
doUndo
in class InsertElementCommand
Copyright © 2014 Uppsala University and Aalborg University. All Rights Reserved.