public class RemoveChildrenCommand extends AbstractCanvasGraphCommand
| Modifier and Type | Field and Description |
|---|---|
protected Collection<Node<?,Edge>> |
children |
protected Node |
parent |
| Constructor and Description |
|---|
RemoveChildrenCommand(Node parent,
Collection<Node<?,Edge>> children) |
RemoveChildrenCommand(Node parent,
Node<?,Edge> child) |
| Modifier and Type | Method and Description |
|---|---|
Collection<Node<?,Edge>> |
getChildren() |
Node |
getParent() |
protected AbstractCanvasCommand |
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 parent
protected final Collection<Node<?,Edge>> children
public RemoveChildrenCommand(Node parent, Collection<Node<?,Edge>> children)
protected Command<GraphCommandExecutionContext,RuleViolation> newGraphCommand(AbstractCanvasHandler context)
AbstractCanvasGraphCommandnewGraphCommand in class AbstractCanvasGraphCommandprotected AbstractCanvasCommand newCanvasCommand(AbstractCanvasHandler context)
AbstractCanvasGraphCommandnewCanvasCommand in class AbstractCanvasGraphCommandpublic Node getParent()
public Collection<Node<?,Edge>> getChildren()
Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.