How to save and load project
(→Internal structure of Wandora project file) |
(→Internal structure of Wandora project file) |
||
Line 9: | Line 9: | ||
[[Image:project_in_zip.gif|center]] | [[Image:project_in_zip.gif|center]] | ||
+ | |||
+ | |||
+ | <?xml version="1.0" encoding="UTF-8"?> | ||
+ | <options> | ||
+ | <layer1> | ||
+ | <visiblity>true</visiblity> | ||
+ | <readonly>true</readonly> | ||
+ | <name>out.ltm</name> | ||
+ | <type>com.gripstudios.applications.wandora.topicmap.memory.TopicMapImpl</type> | ||
+ | </layer1> | ||
+ | <layer0> | ||
+ | <visiblity>true</visiblity> | ||
+ | <readonly>false</readonly> | ||
+ | <name>base.xtm</name> | ||
+ | <selected>true</selected> | ||
+ | <type>com.gripstudios.applications.wandora.topicmap.memory.TopicMapImpl</type> | ||
+ | </layer0> | ||
+ | </options> |
Revision as of 18:43, 12 February 2007
Wandora project is a collection of layers and general Wandora settings. Project is saved with File > Save project top menu bar option. Project is loaded to Wandora with File > Load project option found in top menu bar. Wandora project's file extension is wpr.
Internal structure of Wandora project file
Wandora project file is a zip archive containing configuration file options.xml and layer folders layer0, layer1, layer2, etc. one folder for each layer. Layer folder contains a topic map file in XTM format or XML configuration file. Memory based topic maps generate topic map file topicmap.xtm while database topic maps generate only configuration file dboptions.xml used to establish the database connection.
NOTE: Project file with a database layer contains database user and password used to establish the database connection. Sharing the project file shares also the database settings!!!
<?xml version="1.0" encoding="UTF-8"?> <options> <layer1> <visiblity>true</visiblity> <readonly>true</readonly> <name>out.ltm</name> <type>com.gripstudios.applications.wandora.topicmap.memory.TopicMapImpl</type> </layer1> <layer0> <visiblity>true</visiblity> <readonly>false</readonly> <name>base.xtm</name> <selected>true</selected> <type>com.gripstudios.applications.wandora.topicmap.memory.TopicMapImpl</type> </layer0> </options>