public class DeleteNodeCommand extends AbstractCanvasGraphCommand
| Modifier and Type | Class and Description |
|---|---|
static class |
DeleteNodeCommand.CanvasDeleteProcessor |
| Modifier and Type | Field and Description |
|---|---|
protected Node |
candidate |
protected DeleteNodeCommand.CanvasDeleteProcessor |
deleteProcessor |
protected SafeDeleteNodeCommand.Options |
options |
| Constructor and Description |
|---|
DeleteNodeCommand(Node candidate) |
DeleteNodeCommand(Node candidate,
SafeDeleteNodeCommand.Options options) |
DeleteNodeCommand(Node candidate,
SafeDeleteNodeCommand.Options options,
DeleteNodeCommand.CanvasDeleteProcessor deleteProcessor) |
| 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.
|
String |
toString() |
allow, execute, getCanvasCommand, getGraphCommand, getNode, undobuildResult, checkShapeNotNull, toUUID, toUUIDsprotected final Node candidate
protected final SafeDeleteNodeCommand.Options options
protected transient DeleteNodeCommand.CanvasDeleteProcessor deleteProcessor
public DeleteNodeCommand(Node candidate)
public DeleteNodeCommand(Node candidate, SafeDeleteNodeCommand.Options options)
public DeleteNodeCommand(Node candidate, SafeDeleteNodeCommand.Options options, DeleteNodeCommand.CanvasDeleteProcessor deleteProcessor)
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–2019 JBoss by Red Hat. All rights reserved.