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 String
getCurrentConfigDir()
String
getCurrentRDBMSDir()
String
getCurrentTMDir()
String
getRDFMappingFile()
List
getRecentFiles()
protected void
init()
void
setCurrentConfigDir(String dir)
void
setCurrentRDBMSDir(String dir)
void
setCurrentTMDir(String currentTMDir)
void
setRdfMappingFile(File aFile)
void
updateRecentFiles(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:
init
in 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)
-
-