public class SetConnectionTargetNodeCommand extends AbstractCanvasGraphCommand
| Constructor and Description |
|---|
SetConnectionTargetNodeCommand(Node<? extends View<?>,Edge> node,
Edge<? extends View<?>,Node> edge,
Magnet magnet,
boolean isNewConnection) |
| Modifier and Type | Method and Description |
|---|---|
Edge<? extends View<?>,Node> |
getEdge() |
Magnet |
getMagnet() |
Node<? extends View<?>,Edge> |
getNode() |
boolean |
isNewConnection() |
protected AbstractCanvasCommand |
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.
|
allow, execute, getCanvasCommand, getGraphCommand, getNode, toString, undobuildResult, getUUIDprotected Command<GraphCommandExecutionContext,RuleViolation> newGraphCommand(AbstractCanvasHandler context)
AbstractCanvasGraphCommandnewGraphCommand in class AbstractCanvasGraphCommandprotected AbstractCanvasCommand newCanvasCommand(AbstractCanvasHandler context)
AbstractCanvasGraphCommandnewCanvasCommand in class AbstractCanvasGraphCommandpublic Magnet getMagnet()
public boolean isNewConnection()
Copyright © 2001–2017 JBoss by Red Hat. All rights reserved.