|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for creating new Nodes.
This interface is extended in contexts from which new Nodes may be created, namelu NodeEditor and Repository.
Method Summary | |
NodeContent.Editor |
cloneNode(Node node)
Create a clone of an existing Node using this factory as context. |
NodeContent.Editor |
cloneNode(Node node,
Node context)
Create a clone of an existing Node. |
NodeContent.Editor |
createNode(NodeType type)
Create a new Node of the given type using this factory as context. |
NodeContent.Editor |
createNode(NodeType type,
Node context)
Create a new Node of the given type. |
Method Detail |
public NodeContent.Editor createNode(NodeType type)
public NodeContent.Editor createNode(NodeType type, Node context)
type
- The NodeType that will be assigned to the new Node.context
- The Node from which context metadata wil be
inherited.public NodeContent.Editor cloneNode(Node node)
node
- The node to be cloned.public NodeContent.Editor cloneNode(Node node, Node context)
node
- The node to be cloned.context
- The Node from which context metadata wil be
inherited.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |