org.topbraidcomposer.gef.graph.initializer
Interface IGraphInitializer


public interface IGraphInitializer

An interface for plugins that can initially populate a Graph.

Author:
Holger Knublauch

Method Summary
 com.hp.hpl.jena.rdf.model.StmtIterator listInitialStatements(com.hp.hpl.jena.rdf.model.Resource rootResource, java.util.Set<com.hp.hpl.jena.rdf.model.Resource> nodeResources)
          Gets a list of statements that shall be displayed initially, and populates a given Set with those Resources that shall be displayed as nodes.
 

Method Detail

listInitialStatements

com.hp.hpl.jena.rdf.model.StmtIterator listInitialStatements(com.hp.hpl.jena.rdf.model.Resource rootResource,
                                                             java.util.Set<com.hp.hpl.jena.rdf.model.Resource> nodeResources)
Gets a list of statements that shall be displayed initially, and populates a given Set with those Resources that shall be displayed as nodes.

Parameters:
rootResource - the resource to start with
nodeResources - will contain the resulting resources
Returns:
null if this initializer does not initialize this graph