public class AddChildNodeCommand extends AbstractCanvasGraphCommand
| Modifier and Type | Field and Description |
|---|---|
protected Node |
candidate |
protected Node |
parent |
protected String |
shapeSetId |
| Constructor and Description |
|---|
AddChildNodeCommand(Node parent,
Node candidate,
String shapeSetId) |
| Modifier and Type | Method and Description |
|---|---|
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, undobuildResultprotected final Node parent
protected final Node candidate
protected final String shapeSetId
protected Command<GraphCommandExecutionContext,RuleViolation> newGraphCommand(AbstractCanvasHandler context)
AbstractCanvasGraphCommandnewGraphCommand in class AbstractCanvasGraphCommandprotected AbstractCanvasCommand newCanvasCommand(AbstractCanvasHandler context)
AbstractCanvasGraphCommandnewCanvasCommand in class AbstractCanvasGraphCommandCopyright © 2001–2017 JBoss by Red Hat. All rights reserved.