changeset 4161:ff74ff82f2d4 flys-2.9.3

Add theme for gauge discharge curve artifact
author Björn Ricks <bjoern.ricks@intevation.de>
date Tue, 16 Oct 2012 16:50:18 +0200
parents bbc49d9450c8
children debd1a706469
files flys-artifacts/ChangeLog flys-artifacts/doc/conf/default-themes.xml flys-artifacts/doc/conf/themes.xml
diffstat 3 files changed, 20 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/flys-artifacts/ChangeLog	Tue Oct 16 16:10:38 2012 +0200
+++ b/flys-artifacts/ChangeLog	Tue Oct 16 16:50:18 2012 +0200
@@ -1,3 +1,9 @@
+2012-10-16	Björn Ricks	<bjoern.ricks@intevation.de>
+
+	* doc/conf/default-themes.xml,
+	  doc/conf/themes.xml:
+	  Add theme for gauge discharge curve artifact.
+
 2012-10-16	Björn Ricks	<bjoern.ricks@intevation.de>
 
 	* src/main/java/de/intevation/flys/artifacts/GaugeDischargeCurveArtifact.java:
--- a/flys-artifacts/doc/conf/default-themes.xml	Tue Oct 16 16:10:38 2012 +0200
+++ b/flys-artifacts/doc/conf/default-themes.xml	Tue Oct 16 16:50:18 2012 +0200
@@ -13,6 +13,19 @@
         </fields>
     </theme>
 
+    <theme name="GaugeDischargeCurve">
+        <inherits>
+            <inherit from="HiddenColorLines" />
+            <inherit from="MinMaxPoints" />
+        </inherits>
+        <fields>
+            <field name="linecolor" type="Color" display="Linienfarbe"
+                default="0, 0, 153" />
+            <field name="linesize" type="int" display="Liniendicke"
+                default="2" hints="h" />
+        </fields>
+    </theme>
+
     <!-- concrete theme for historical discharge curves -->
     <theme name="HistoricalDischargeCurveQ">
         <inherits>
--- a/flys-artifacts/doc/conf/themes.xml	Tue Oct 16 16:10:38 2012 +0200
+++ b/flys-artifacts/doc/conf/themes.xml	Tue Oct 16 16:50:18 2012 +0200
@@ -268,5 +268,6 @@
 		<mapping from="fix_derivate_curve.manualpoints" to="ManualPoints" />
 		<mapping from="fix_deltawt_curve.manualpoints" to="ManualPoints" />
 		<mapping from="qsectors" to="QSectors" />
+		<mapping from="gauge_discharge_curve" to="GaugeDischargeCurve" />
 	</mappings>
 </themes>

http://dive4elements.wald.intevation.org