public class DeleteElementsCommand extends AbstractCanvasGraphCommand
| Constructor and Description |
|---|
DeleteElementsCommand(Collection<Element> elements) |
| Modifier and Type | Method and Description |
|---|---|
protected CompositeCommand<AbstractCanvasHandler,CanvasViolation> |
getCommand() |
Collection<Element> |
getElements() |
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 DeleteElementsCommand(Collection<Element> elements)
public Collection<Element> getElements()
protected Command<GraphCommandExecutionContext,RuleViolation> newGraphCommand(AbstractCanvasHandler context)
AbstractCanvasGraphCommandnewGraphCommand in class AbstractCanvasGraphCommandprotected Command<AbstractCanvasHandler,CanvasViolation> newCanvasCommand(AbstractCanvasHandler context)
AbstractCanvasGraphCommandnewCanvasCommand in class AbstractCanvasGraphCommandprotected CompositeCommand<AbstractCanvasHandler,CanvasViolation> getCommand()
Copyright © 2001–2018 JBoss by Red Hat. All rights reserved.