public class SetTargetCommand extends SetEndPointCommand
edge, location, nail
committed, document
version
Constructor and Description |
---|
SetTargetCommand(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, swap
cancel, commit, execute, move, undo
getVersion, setVersion
public AbstractLocation getLocation()
SetEndPointCommand
getLocation
in class SetEndPointCommand
protected void setLocation(AbstractLocation location)
SetEndPointCommand
setLocation
in class SetEndPointCommand
protected void insertNail(Nail nail)
SetEndPointCommand
insertNail
in class SetEndPointCommand
Copyright © 2012 Uppsala University and Aalborg University. All Rights Reserved.