public class AddConnectorCommand extends AbstractCanvasGraphCommand
| Constructor and Description |
|---|
AddConnectorCommand(Node source,
Edge candidate,
Connection connection,
String shapeSetId) |
| Modifier and Type | Method and Description |
|---|---|
Edge |
getCandidate() |
Connection |
getConnection() |
String |
getShapeSetId() |
Node |
getSource() |
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.
|
String |
toString() |
allow, execute, getCanvasCommand, getGraphCommand, getNode, undobuildResult, checkShapeNotNull, toUUID, toUUIDspublic AddConnectorCommand(Node source, Edge candidate, Connection connection, String shapeSetId)
protected Command<GraphCommandExecutionContext,RuleViolation> newGraphCommand(AbstractCanvasHandler context)
AbstractCanvasGraphCommandnewGraphCommand in class AbstractCanvasGraphCommandprotected AbstractCanvasCommand newCanvasCommand(AbstractCanvasHandler context)
AbstractCanvasGraphCommandnewCanvasCommand in class AbstractCanvasGraphCommandpublic Node getSource()
public Edge getCandidate()
public Connection getConnection()
public String getShapeSetId()
Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.