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 Details

  • Method Details

    • createNode

      public abstract IMapNode createNode​(Object... params)
      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

      public IMapNodeComposite getParent()
      Parent that any new nodes will be created on/existing nodes edited/manipulated on.
      Returns:
      IMapNodeComposite parent.