| com.xoetrope.carousel.services.ModelManager
ModelManager | public class ModelManager extends XOptionalDataSource (Code) | | Copyright (c) Xoetrope Ltd., 2001-2006, This software is licensed under
the GNU Public License (GPL), please see license.txt for more details. If
you make commercial use of this software you must purchase a commercial
license from Xoetrope.
$Revision: 1.7 $
|
Constructor Summary | |
public | ModelManager(XEditorProject project) |
ModelManager | public ModelManager(XEditorProject project)(Code) | | |
addDatabaseDataSource | protected void addDatabaseDataSource(String name, String fileName)(Code) | | |
addDatabaseNode | void addDatabaseNode(XmlElement ele)(Code) | | |
getDataSources | public Hashtable getDataSources()(Code) | | Retrieve the dataSources Hashtable
Hashtable containing registered datasources |
getSaveConfigFilename | public String getSaveConfigFilename()(Code) | | |
getServicesFileName | public String getServicesFileName()(Code) | | |
loadDatabaseData | XModel loadDatabaseData(String fileName)(Code) | | |
read | public void read(Reader r)(Code) | | Read a model from the Reader
Parameters: r - the Reader |
readXmlFile | public void readXmlFile()(Code) | | Reset the project model and load the datasets as defined by the file named
by the 'ModelData' startup property
|
registerDataSource | public void registerDataSource(XmlElement source)(Code) | | Register a basic datasource element
Parameters: source - the XmlElement containg the datasouce reference |
registerDatabaseNode | public void registerDatabaseNode(XmlElement source)(Code) | | Register a datasource element of type 'database'
Parameters: source - the XmlElement containg the datasouce reference |
setRoutingFileName | void setRoutingFileName(String filename)(Code) | | |
setSaveConfigFilename | void setSaveConfigFilename(String file)(Code) | | |
showVisualisation | protected void showVisualisation()(Code) | | If the ShowVisualiser property is set to true then show the visualiser
for debugging
|
writeDatabaseDatasets | void writeDatabaseDatasets(XEditorProject project)(Code) | | |
writeDatasets | void writeDatasets(XEditorProject project)(Code) | | |
writeSaveConfig | void writeSaveConfig(XEditorProject project)(Code) | | |
|
|