public abstract class AbstractNodeDeregistrationCommand extends AbstractCanvasGraphCommand
| Constructor and Description |
|---|
AbstractNodeDeregistrationCommand(Node candidate) |
| Modifier and Type | Method and Description |
|---|---|
Node |
getCandidate() |
protected CompositeCommand<AbstractCanvasHandler,CanvasViolation> |
getCommand() |
protected abstract Command<AbstractCanvasHandler,CanvasViolation> |
getDeregistrationCommand() |
protected SafeDeleteNodeProcessor.Callback |
getSafeDeleteCallback(AbstractCanvasHandler context) |
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, undobuildResultpublic AbstractNodeDeregistrationCommand(Node candidate)
protected abstract Command<AbstractCanvasHandler,CanvasViolation> getDeregistrationCommand()
protected Command<GraphCommandExecutionContext,RuleViolation> newGraphCommand(AbstractCanvasHandler context)
AbstractCanvasGraphCommandnewGraphCommand in class AbstractCanvasGraphCommandprotected SafeDeleteNodeProcessor.Callback getSafeDeleteCallback(AbstractCanvasHandler context)
protected Command<AbstractCanvasHandler,CanvasViolation> newCanvasCommand(AbstractCanvasHandler context)
AbstractCanvasGraphCommandnewCanvasCommand in class AbstractCanvasGraphCommandpublic Node getCandidate()
protected CompositeCommand<AbstractCanvasHandler,CanvasViolation> getCommand()
Copyright © 2001–2017 JBoss by Red Hat. All rights reserved.