changeset 4022:017e3d8526e0

issue417: main-value-annotations.
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Thu, 04 Oct 2012 11:25:27 +0200
parents cc9b6f23eaf8
children e064e781d255
files flys-artifacts/ChangeLog flys-artifacts/doc/conf/default-themes.xml flys-artifacts/doc/conf/second-themes.xml flys-artifacts/doc/conf/virtual-themes.xml
diffstat 4 files changed, 28 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/flys-artifacts/ChangeLog	Thu Oct 04 09:58:36 2012 +0200
+++ b/flys-artifacts/ChangeLog	Thu Oct 04 11:25:27 2012 +0200
@@ -1,3 +1,12 @@
+2012-10-03	Felix Wolfsteller	<felix.wolfsteller@intevation.de>
+
+	Fix issue417.
+
+	* flys-artifacts/doc/conf/default-themes,
+	  flys-artifacts/doc/conf/second-themes,
+	  flys-artifacts/doc/conf/virtual-themes:
+	  Remove not needed theme props from main-value-annotations.
+
 2012-10-02	Felix Wolfsteller	<felix.wolfsteller@intevation.de>
 
 	* flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/AnnotationRiverState.java:
--- a/flys-artifacts/doc/conf/default-themes.xml	Thu Oct 04 09:58:36 2012 +0200
+++ b/flys-artifacts/doc/conf/default-themes.xml	Thu Oct 04 11:25:27 2012 +0200
@@ -624,9 +624,10 @@
     </theme>
 
     <!-- Main Values -->
+    <!-- Default should be to show label, but label should be unshowable -->
     <theme name="MainValuesQ">
         <inherits>
-            <inherit from="HiddenColorLines" />
+            <inherit from="ColorLinesOnly" />
             <inherit from="Text" />
         </inherits>
         <fields>
@@ -645,7 +646,7 @@
 
     <theme name="MainValuesW">
         <inherits>
-            <inherit from="HiddenColorLines" />
+            <inherit from="ColorLinesOnly" />
             <inherit from="Text" />
         </inherits>
         <fields>
--- a/flys-artifacts/doc/conf/second-themes.xml	Thu Oct 04 09:58:36 2012 +0200
+++ b/flys-artifacts/doc/conf/second-themes.xml	Thu Oct 04 11:25:27 2012 +0200
@@ -626,7 +626,7 @@
     <!-- Main Values -->
     <theme name="MainValuesQ">
         <inherits>
-            <inherit from="HiddenColorLines" />
+            <inherit from="ColorLinesOnly" />
             <inherit from="Text" />
         </inherits>
         <fields>
@@ -645,7 +645,7 @@
 
     <theme name="MainValuesW">
         <inherits>
-            <inherit from="HiddenColorLines" />
+            <inherit from="ColorLinesOnly" />
             <inherit from="Text" />
         </inherits>
         <fields>
--- a/flys-artifacts/doc/conf/virtual-themes.xml	Thu Oct 04 09:58:36 2012 +0200
+++ b/flys-artifacts/doc/conf/virtual-themes.xml	Thu Oct 04 11:25:27 2012 +0200
@@ -84,6 +84,20 @@
         </fields>
     </theme>
 
+    <theme name="ColorLinesOnly" type="virtual">
+        <inherits>
+            <inherit from="ColorLines" />
+        </inherits>
+        <fields>
+            <field name="showlines" type="boolean" display="Linie anzeigen"
+                default="true" hints="h" />
+            <field name="linesize" type="int" display="Liniendicke"
+                default="1" hints="h" />
+            <field name="linetype" type="Dash" display="Linienart"
+                default="10" hints="h" />
+        </fields>
+    </theme>
+
     <theme name="ColorPoints" type="virtual">
         <inherits>
             <inherit from="Points" />

http://dive4elements.wald.intevation.org