public final class AddCanvasNodeCommand extends AbstractCanvasCommand
| Constructor and Description |
|---|
AddCanvasNodeCommand(Node candidate,
String shapeSetId) |
| Modifier and Type | Method and Description |
|---|---|
CommandResult<CanvasViolation> |
execute(AbstractCanvasHandler context) |
Node |
getCandidate() |
String |
getShapeSetId() |
CommandResult<CanvasViolation> |
undo(AbstractCanvasHandler context) |
allow, buildResultpublic CommandResult<CanvasViolation> execute(AbstractCanvasHandler context)
public CommandResult<CanvasViolation> undo(AbstractCanvasHandler context)
public Node getCandidate()
public String getShapeSetId()
Copyright © 2001–2016 JBoss by Red Hat. All rights reserved.