diff gnv-artifacts/doc/conf/conf.xml @ 426:3a0c0ad113d9

Load palettes from configuration. gnv-artifacts/trunk@474 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Tue, 22 Dec 2009 10:34:15 +0000
parents 8656162eb52d
children 23e9352df09b
line wrap: on
line diff
--- a/gnv-artifacts/doc/conf/conf.xml	Mon Dec 21 19:58:17 2009 +0000
+++ b/gnv-artifacts/doc/conf/conf.xml	Tue Dec 22 10:34:15 2009 +0000
@@ -385,6 +385,26 @@
         
         <artifact name="horizontalCrossSectionMesh" xlink:href="${artifacts.config.dir}/products/horizontalcrosssection/conf_mesh.xml" />
     </artifacts>
+    <charttemplate>
+        <!--    This section configures the path to the template used to create
+                charts. -->
+        <configuration>${artifacts.config.dir}/charttemplate.xml</configuration>
+    </charttemplate>
+    <palettes>
+        <!-- This section configures the palettes used in 2D diagrams. -->
+        <palette name="flow-velocity" 
+                 description="Palette for flow velocity"
+                 file="${artifacts.config.dir}/palette/flow-velocity.xml"/>
+        <palette name="salinity"
+                 description="Palette for salinity"
+                 file="${artifacts.config.dir}/palette/flow-velocity.xml"/>
+        <palette name="water-levels"
+                 description="Palette for water levels"
+                 file="${artifacts.config.dir}/palette/water-levels.xml"/>
+        <palette name="water-temperature"
+                 description="Palette for water temperature"
+                 file="${artifacts.config.dir}/palette/water-temperature.xml"/>
+    </palettes>
     <ehcache>
         <!--  In this Section the Path to Configurationfile for the EHCache,
               which is unsed to store the Results of the Artifacts ,
@@ -415,9 +435,4 @@
         <driver>org.h2.Driver</driver> 
         <sql></sql> -->
     </database>
-    <charttemplate>
-        <!--    This section configures the path to the template used to create
-                charts. -->
-        <configuration>${artifacts.config.dir}/charttemplate.xml</configuration>
-    </charttemplate>
 </artifact-database>

http://dive4elements.wald.intevation.org