Class IMapNodeFactory
java.lang.Object
rs.edu.raf.dsw.rudok.app.repository.nodefactory.IMapNodeFactory
- Direct Known Subclasses:
ElementFactory
,MindMapFactory
,ProjectExplorerFactory
,ProjectFactory
public abstract class IMapNodeFactory extends Object
Node factory
Creates a new node on the given parent. Parent should be set in the constructor.-
Constructor Summary
Constructors Constructor Description IMapNodeFactory(IMapNodeComposite parent)
-
Method Summary
Modifier and Type Method Description abstract IMapNode
createNode(Object... params)
Creates a new node on the given parent.IMapNodeComposite
getParent()
Parent that any new nodes will be created on/existing nodes edited/manipulated on.
-
Constructor Details
-
IMapNodeFactory
-
-
Method Details
-
createNode
Creates a new node on the given parent. If no parent, only creates the node and assigns to no parent.- Returns:
IMapNode
new node on the given parent.
-
getParent
Parent that any new nodes will be created on/existing nodes edited/manipulated on.- Returns:
IMapNodeComposite
parent.
-