<?xml version="1.0" encoding="UTF-8"?>

<!--
/**
 *  '$rcsfile: test_xmlproperties.xml,v $'
 *  copyright: 2002 regents of the university of california
 *    authors: @authors@
 *    release: @release@
 *
 *   '$author: brooke $'
 *     '$date: 2003/06/24 00:58:49 $'
 * '$revision: 1.1 $'
 *
 * Permission is hereby granted, without written agreement and without
 * license or royalty fees, to use, copy, modify, and distribute this
 * software and its documentation for any purpose, provided that the above
 * copyright notice and the following two paragraphs appear in all copies
 * of this software.
 *
 * IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY
 * FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
 * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
 * THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF
 * SUCH DAMAGE.
 *
 * THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
 * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE
 * PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF
 * CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
 * ENHANCEMENTS, OR MODIFICATIONS.
 */
-->

<properties>


    <!--classpath-relative path to xml file containing nodetype definitions for
    nodetyperesolver. starts with a "/", and is basically the path within
    the jar file
       -->
    <nodetype_definitions_filename>/edu/ucsb/nceas/jalama/nodetype_defs.xml</nodetype_definitions_filename>

    <!-- 
    key pair to be used for "generic" nodetype (maybe points to a generic 
    tree-view etc?) that is returned by nodetyperesolver when the document is 
    not recognized.  the file pointed to by nodetype_definitions_filename 
    should therefore contain an entry as follows:
       *
    <?xml version='1.0' encoding='iso-8859-1'?>
    <nodetypes>
      <nodetype>
        <doctype>generic_doctype</doctype>
        <xpath>generic_xpath</xpath>
    note: next line should contain *actual* chrome or id - this is a sample:
        <jalama_id>chrome://jalama_generic/content/</jalama_id>
      </nodetype>
       ...
       ...other <nodetype> definitions here...
       ...
    </nodetypes>
       -->
    <generic_doctype>GENERIC_DOCTYPE</generic_doctype>
    <generic_xpath>GENERIC_XPATH</generic_xpath>

    <!-- 
    root name of the jljvmregistry shared object/dynamic link library
    - note that this should not include the "lib" prefix that is conventional
    in linux - the prefix will be added later
       -->
    <jvm_registry_lib_name>jljvmregistry</jvm_registry_lib_name>

    <!-- 
    path to the mozilla binary

    next version - use ant filtering to set this in xml during build

    <mozilla_bin>system.getproperty("mozilla.bindir")</mozilla_bin>

    -->


    <!--
    jalamagui ettings
    -->
    <jalama_gui>

      <!--
      jalamagui should renderer selection menu items be shown?
      -->
      <show_renderer_menu>false</show_renderer_menu>

      <!-- 
      default initial size and location of gui
      -->
      <default_width>750</default_width>
      <default_height>500</default_height>

      <!--
      startup xml file to display in jalamagui
      -->
      <initial_xml/>

      <!--
      jalamagui color of background for xml display panel
      -->
      <xmldisplay_bg_color>
        <red>244</red>
        <green>244</green>
        <blue>244</blue>
      </xmldisplay_bg_color>

    <!--
    jalamagui color of foreground for xml display panel
    -->
      <xmldisplay_fg_color>
        <red>22</red>
        <green>22</green>
        <blue>22</blue>
      </xmldisplay_fg_color>

    <!--
    jalamagui color of foreground for renderer status display panel
    -->
      <renderer_status_fg_color>
        <red>153</red>
        <green>0</green>
        <blue>0</blue>
      </renderer_status_fg_color>

      <!--
      jalamagui - doctype and xpath used when calling wizard
      -->
      <wizard>
        <doctype>eml://ecoinformatics.org/dataset-2.0.0</doctype>
        <xpath>/eml:eml/dataset</xpath>
      </wizard>
    </jalama_gui>
    <!--
    jalamagui - default renderer to be instantiated at startup
    can be either "mozilla" or "webclient"
    -->
    <default_renderer>webclient</default_renderer>

    <!-- 
    default initial size and location of wizard
    -->
    <editor_wizard>
      <width>800</width>
      <height>600</height>
    </editor_wizard>

    <!--
    default initial size and location of editor
    -->

    <editor_default>
      <width>480</width>
      <height>640</height>
    </editor_default>

    <!--
     name of the jljvmregistry shared object/dynamic link library

    next version - use ant filtering to set this in xml during build

    <jvm_registry_libname>getlibname();

    -->

    <!-- 
    default initial xml (basically root node) for documents created by wizard
    -->

    <new_wizard_document_xml><![CDATA[   
      <eml:eml packageId="eml.1.1" system="knb"
               xmlns:eml="eml://ecoinformatics.org/eml-2.0.0"
               xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
               xmlns:ds="eml://ecoinformatics.org/dataset-2.0.0"
               xsi:schemaLocation="eml://ecoinformatics.org/eml-2.0.0 eml.xsd">
         <dataset/>
       </eml:eml>
    ]]></new_wizard_document_xml>

    
</properties>