public class UpdateControlPointPositionCommand extends AbstractCanvasGraphCommand
ControlPoint position on a given Edge.| Constructor and Description |
|---|
UpdateControlPointPositionCommand(Edge candidate,
ControlPoint[] controlPoints) |
| Modifier and Type | Method and Description |
|---|---|
Edge |
getCandidate() |
protected Command<AbstractCanvasHandler,CanvasViolation> |
newCanvasCommand(AbstractCanvasHandler context)
Creates a new command instance for the canvas context.
|
protected Command<GraphCommandExecutionContext,RuleViolation> |
newGraphCommand(AbstractCanvasHandler context)
Creates a new command instance for the graph context.
|
String |
toString() |
allow, execute, getCanvasCommand, getGraphCommand, getNode, undobuildResult, checkShapeNotNull, toUUID, toUUIDspublic UpdateControlPointPositionCommand(Edge candidate, ControlPoint[] controlPoints)
protected Command<GraphCommandExecutionContext,RuleViolation> newGraphCommand(AbstractCanvasHandler context)
AbstractCanvasGraphCommandnewGraphCommand in class AbstractCanvasGraphCommandprotected Command<AbstractCanvasHandler,CanvasViolation> newCanvasCommand(AbstractCanvasHandler context)
AbstractCanvasGraphCommandnewCanvasCommand in class AbstractCanvasGraphCommandpublic Edge getCandidate()
Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.