public class SetSourceCommand extends SetEndPointCommand
edge, location, nailcommitted, documentversion| Constructor and Description |
|---|
SetSourceCommand(Document document,
Edge edge) |
| Modifier and Type | Method and Description |
|---|---|
AbstractLocation |
getLocation()
Returns the current end point.
|
protected void |
insertNail(Nail nail)
Inserts a nail next to the end point.
|
protected void |
setLocation(AbstractLocation location)
Sets the current end point on the edge.
|
convertToNail, doCancel, doExecute, doUndo, getModifiedElement, moveNailTo, setEndPoint, swapcancel, commit, execute, move, undogetVersion, setVersionpublic AbstractLocation getLocation()
SetEndPointCommandgetLocation in class SetEndPointCommandprotected void setLocation(AbstractLocation location)
SetEndPointCommandsetLocation in class SetEndPointCommandprotected void insertNail(Nail nail)
SetEndPointCommandinsertNail in class SetEndPointCommandCopyright © 2012 Uppsala University and Aalborg University. All Rights Reserved.