org.topbraidcomposer.gef.graph.config
Class GraphConfigPlugin

java.lang.Object
  extended by org.topbraid.core.config.AbstractConfigPlugin
      extended by org.topbraidcomposer.gef.graph.config.GraphConfigPlugin
All Implemented Interfaces:
IConfigPlugin

public class GraphConfigPlugin
extends AbstractConfigPlugin


Constructor Summary
GraphConfigPlugin()
           
 
Method Summary
 boolean configLoaded(java.net.URI baseURI, com.hp.hpl.jena.rdf.model.Model configModel)
          Called immediately after a config file has been loaded (or an empty config has been created).
 void setPrefixes(com.hp.hpl.jena.rdf.model.Model configModel)
           
 
Methods inherited from class org.topbraid.core.config.AbstractConfigPlugin
changeOperationPerformed, configSaved, getSystemModels
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GraphConfigPlugin

public GraphConfigPlugin()
Method Detail

configLoaded

public boolean configLoaded(java.net.URI baseURI,
                            com.hp.hpl.jena.rdf.model.Model configModel)
Description copied from interface: IConfigPlugin
Called immediately after a config file has been loaded (or an empty config has been created). This can be used to load additional files that are referenced from the configuration file, e.g. external form files.

Specified by:
configLoaded in interface IConfigPlugin
Overrides:
configLoaded in class AbstractConfigPlugin
Parameters:
baseURI - the base URI
configModel - the new configuration model
Returns:
true if the method has had side effects (such as deleting legacy files) so that the tbc file should be saved immediately

setPrefixes

public void setPrefixes(com.hp.hpl.jena.rdf.model.Model configModel)
Specified by:
setPrefixes in interface IConfigPlugin
Overrides:
setPrefixes in class AbstractConfigPlugin