Package net.ontopia.topicmaps.viz
Class VizGeneralConfigurationManager
- java.lang.Object
-
- net.ontopia.topicmaps.viz.VizConfigurationManager
-
- net.ontopia.topicmaps.viz.VizGeneralConfigurationManager
-
public class VizGeneralConfigurationManager extends VizConfigurationManager
PUBLIC: Description: Configuration Manager for General options
-
-
Field Summary
-
Fields inherited from class net.ontopia.topicmaps.viz.VizConfigurationManager
BASE, builder, DEFAULT_ASSOCIATION_TYPE, DEFAULT_TYPE, defaultAssociationType, defaultType, GENERAL_TOPIC, generalTopic, topicmap, UNTYPED, untypedTopic
-
-
Constructor Summary
Constructors Constructor Description VizGeneralConfigurationManager()Creates an empty configuration manager where everything is set to default.VizGeneralConfigurationManager(File tmfile)Constructor initializes the configuration by loading a topic map from the URL given in the parameter.VizGeneralConfigurationManager(URL tmurl)Constructor initializes the configuration by loading a topic map from the URL given in the parameter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCurrentConfigDir()StringgetCurrentRDBMSDir()StringgetCurrentTMDir()StringgetRDFMappingFile()ListgetRecentFiles()protected voidinit()voidsetCurrentConfigDir(String dir)voidsetCurrentRDBMSDir(String dir)voidsetCurrentTMDir(String currentTMDir)voidsetRdfMappingFile(File aFile)voidupdateRecentFiles(File f)-
Methods inherited from class net.ontopia.topicmaps.viz.VizConfigurationManager
getConfigTopic, getOccurrence, getOccurrenceValue, getOccurrenceValue, getOccurrenceValue, getTopic, getTopic, getTopicMap, removeOccurence, removeOccurrence, save, setOccurenceValue, setOccurenceValue, setOccurrenceValue
-
-
-
-
Constructor Detail
-
VizGeneralConfigurationManager
public VizGeneralConfigurationManager()
Creates an empty configuration manager where everything is set to default.
-
VizGeneralConfigurationManager
public VizGeneralConfigurationManager(File tmfile) throws IOException
Constructor initializes the configuration by loading a topic map from the URL given in the parameter.- Throws:
IOException
-
VizGeneralConfigurationManager
public VizGeneralConfigurationManager(URL tmurl) throws IOException
Constructor initializes the configuration by loading a topic map from the URL given in the parameter.- Throws:
IOException
-
-
Method Detail
-
updateRecentFiles
public void updateRecentFiles(File f)
-
getRecentFiles
public List getRecentFiles()
-
init
protected void init()
- Overrides:
initin classVizConfigurationManager
-
getRDFMappingFile
public String getRDFMappingFile()
-
setRdfMappingFile
public void setRdfMappingFile(File aFile)
-
getCurrentTMDir
public String getCurrentTMDir()
-
setCurrentTMDir
public void setCurrentTMDir(String currentTMDir)
-
getCurrentRDBMSDir
public String getCurrentRDBMSDir()
-
setCurrentRDBMSDir
public void setCurrentRDBMSDir(String dir)
-
getCurrentConfigDir
public String getCurrentConfigDir()
-
setCurrentConfigDir
public void setCurrentConfigDir(String dir)
-
-