public class DeleteNodeCommand extends AbstractCanvasGraphCommand
| Modifier and Type | Class and Description |
|---|---|
static class |
DeleteNodeCommand.CanvasDeleteProcessor |
| Constructor and Description |
|---|
DeleteNodeCommand(Node candidate) |
DeleteNodeCommand(Node candidate,
SafeDeleteNodeCommand.Options options) |
| Modifier and Type | Method and Description |
|---|---|
Node |
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.
|
allow, execute, getCanvasCommand, getGraphCommand, getNode, toString, undobuildResult, getUUIDpublic DeleteNodeCommand(Node candidate)
public DeleteNodeCommand(Node candidate, SafeDeleteNodeCommand.Options options)
public Node getCandidate()
protected Command<GraphCommandExecutionContext,RuleViolation> newGraphCommand(AbstractCanvasHandler context)
AbstractCanvasGraphCommandnewGraphCommand in class AbstractCanvasGraphCommandprotected Command<AbstractCanvasHandler,CanvasViolation> newCanvasCommand(AbstractCanvasHandler context)
AbstractCanvasGraphCommandnewCanvasCommand in class AbstractCanvasGraphCommandCopyright © 2001–2018 JBoss by Red Hat. All rights reserved.