org.grinvin.list.graphs

Class GraphListElementManager


public class GraphListElementManager
extends java.lang.Object

Manages the mapping between Graph URI's and the GraphListElement objects representing them.

Method Summary

GraphListElement
createGraphListElement(GraphBundle bundle)
GraphListElement
getGraphListElement(URI uri)
Convenience method for retrieving a graph list element with given URI.
GraphListElement
getGraphListElement(URI uri, SectionLoader sloader)
Get the GraphListElement for the given URI.
static GraphListElementManager
getInstance()
Get the singleton instance of this class
GraphGroup
getStandardGraphNodes()

Method Details

createGraphListElement

public GraphListElement createGraphListElement(GraphBundle bundle)

getGraphListElement

public GraphListElement getGraphListElement(URI uri)
Convenience method for retrieving a graph list element with given URI. Same as getGraphListElement(uri,null).

getGraphListElement

public GraphListElement getGraphListElement(URI uri,
                                            SectionLoader sloader)
Get the GraphListElement for the given URI.
Parameters:
Returns:
the graph list element

getInstance

public static GraphListElementManager getInstance()
Get the singleton instance of this class
Returns:
the single shared instance of this class

getStandardGraphNodes

public GraphGroup getStandardGraphNodes()