changeset 3570:9eba1e2d821d

Set info attribute in datacage, to have tooltips in gui. flys-artifacts/trunk@5170 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Wed, 08 Aug 2012 08:13:24 +0000
parents adf9c41610c7
children 64a59cca1887
files flys-artifacts/ChangeLog flys-artifacts/doc/conf/meta-data.xml
diffstat 2 files changed, 47 insertions(+), 13 deletions(-) [+]
line wrap: on
line diff
--- a/flys-artifacts/ChangeLog	Tue Aug 07 12:59:30 2012 +0000
+++ b/flys-artifacts/ChangeLog	Wed Aug 08 08:13:24 2012 +0000
@@ -1,3 +1,8 @@
+2012-08-08	Felix Wolfsteller	<felix.wolfsteller@intevation.de>
+
+	* doc/conf/meta-data.xml: Set info attribute (will evaluate as tooltip
+	  in GUI.
+
 2012-08-07	Felix Wolfsteller	<felix.wolfsteller@intevation.de>
 
 	* src/main/resources/messages.properties,
--- a/flys-artifacts/doc/conf/meta-data.xml	Tue Aug 07 12:59:30 2012 +0000
+++ b/flys-artifacts/doc/conf/meta-data.xml	Wed Aug 08 08:13:24 2012 +0000
@@ -27,7 +27,8 @@
                       <dc:statement>
                         SELECT id       AS prot_column_id,
                                name     AS prot_column_name,
-                               position AS prot_rel_pos
+                               position AS prot_rel_pos,
+                               description AS info
                         FROM wst_columns WHERE wst_id = ${prot_id}
                         ORDER by position
                       </dc:statement>
@@ -36,6 +37,7 @@
                           <dc:attribute name="name" value="${prot_column_name}"/>
                           <dc:attribute name="ids" value="base_data-wstv-${prot_rel_pos}-${prot_id}"/>
                           <dc:attribute name="factory" value="staticwkms"/>
+                          <dc:attribute name="info" value="${info}"/>
                         </column>
                       </dc:elements>
                     </dc:context>
@@ -60,7 +62,8 @@
                       <dc:statement>
                         SELECT id       AS prot_column_id,
                                name     AS prot_column_name,
-                               position AS prot_rel_pos
+                               position AS prot_rel_pos,
+                               description AS info
                         FROM wst_columns WHERE wst_id = ${prot_id}
                         ORDER by position
                       </dc:statement>
@@ -69,6 +72,7 @@
                           <dc:attribute name="name" value="${prot_column_name}"/>
                           <dc:attribute name="ids" value="base_data-wstv-${prot_rel_pos}-${prot_id}"/>
                           <dc:attribute name="factory" value="wqinterpol"/>
+                          <dc:attribute name="info" value="${info}"/>
                         </column>
                       </dc:elements>
                     </dc:context>
@@ -94,7 +98,8 @@
                       <dc:statement>
                         SELECT id       AS prot_column_id,
                                name     AS prot_column_name,
-                               position AS prot_rel_pos
+                               position AS prot_rel_pos,
+                               description AS info
                         FROM wst_columns WHERE wst_id = ${prot_id}
                         ORDER by position
                       </dc:statement>
@@ -103,6 +108,7 @@
                           <dc:attribute name="name" value="${prot_column_name}"/>
                           <dc:attribute name="ids" value="additionals-wstv-${prot_rel_pos}-${prot_id}"/>
                           <dc:attribute name="factory" value="staticwkms"/>
+                          <dc:attribute name="info" value="${info}"/>
                         </column>
                       </dc:elements>
                     </dc:context>
@@ -128,7 +134,8 @@
                       <dc:statement>
                         SELECT id       AS prot_column_id,
                                name     AS prot_column_name,
-                               position AS prot_rel_pos
+                               position AS prot_rel_pos,
+                               description AS info
                         FROM wst_columns WHERE wst_id = ${prot_id}
                         ORDER by position
                       </dc:statement>
@@ -137,6 +144,7 @@
                           <dc:attribute name="name" value="${prot_column_name}"/>
                           <dc:attribute name="ids" value="additionals-wstv-${prot_rel_pos}-${prot_id}"/>
                           <dc:attribute name="factory" value="staticwkms"/>
+                          <dc:attribute name="info" value="${info}"/>
                         </column>
                       </dc:elements>
                     </dc:context>
@@ -162,7 +170,8 @@
                     <dc:statement>
                       SELECT id       AS prot_column_id,
                              name     AS prot_column_name,
-                             position AS prot_rel_pos
+                             position AS prot_rel_pos,
+                             description AS info
                       FROM wst_columns WHERE wst_id = ${prot_id}
                       ORDER by position
                     </dc:statement>
@@ -171,6 +180,7 @@
                         <dc:attribute name="name" value="${prot_column_name}"/>
                         <dc:attribute name="ids" value="fixations-wstv-${prot_rel_pos}-${prot_id}"/>
                         <dc:attribute name="factory" value="wqinterpol"/>
+                        <dc:attribute name="info" value="${info}"/>
                       </column>
                     </dc:elements>
                   </dc:context>
@@ -195,7 +205,8 @@
                     <dc:statement>
                       SELECT id       AS prot_column_id,
                              name     AS prot_column_name,
-                             position AS prot_rel_pos
+                             position AS prot_rel_pos,
+                             desciption AS info
                       FROM wst_columns WHERE wst_id = ${prot_id}
                       ORDER by position
                     </dc:statement>
@@ -204,6 +215,7 @@
                         <dc:attribute name="name" value="${prot_column_name}"/>
                         <dc:attribute name="ids" value="fixations-wstv-${prot_rel_pos}-${prot_id}"/>
                         <dc:attribute name="factory" value="wqinterpol"/>
+                        <dc:attribute name="info" value="${info}"/>
                       </column>
                     </dc:elements>
                   </dc:context>
@@ -228,7 +240,8 @@
                     <dc:statement>
                       SELECT id       AS prot_column_id,
                              name     AS prot_column_name,
-                             position AS prot_rel_pos
+                             position AS prot_rel_pos,
+                             description AS info
                       FROM wst_columns WHERE wst_id = ${prot_id}
                       ORDER by position
                     </dc:statement>
@@ -237,6 +250,7 @@
                         <dc:attribute name="name" value="${prot_column_name}"/>
                         <dc:attribute name="ids" value="fixations-wstv-${prot_rel_pos}-${prot_id}"/>
                         <dc:attribute name="factory" value="staticwkms"/>
+                        <dc:attribute name="info" value="${info}"/>
                       </column>
                     </dc:elements>
                   </dc:context>
@@ -261,7 +275,8 @@
                     <dc:statement>
                       SELECT id       AS prot_column_id,
                              name     AS prot_column_name,
-                             position AS prot_rel_pos
+                             position AS prot_rel_pos,
+                             description AS info
                       FROM wst_columns WHERE wst_id = ${prot_id}
                       ORDER by position
                     </dc:statement>
@@ -270,6 +285,7 @@
                         <dc:attribute name="name" value="${prot_column_name}"/>
                         <dc:attribute name="ids" value="fixations-wstv-${prot_rel_pos}-${prot_id}"/>
                         <dc:attribute name="factory" value="staticwkms"/>
+                        <dc:attribute name="info" value="${info}"/>
                       </column>
                     </dc:elements>
                   </dc:context>
@@ -295,7 +311,8 @@
                       <dc:statement>
                         SELECT id       AS prot_column_id,
                                name     AS prot_column_name,
-                               position AS prot_rel_pos
+                               position AS prot_rel_pos,
+                               description AS info
                         FROM wst_columns WHERE wst_id = ${prot_id}
                         ORDER by position
                       </dc:statement>
@@ -304,6 +321,7 @@
                           <dc:attribute name="name" value="${prot_column_name}"/>
                           <dc:attribute name="ids" value="additionals-wstv-${prot_rel_pos}-${prot_id}"/>
                           <dc:attribute name="factory" value="staticwkms"/>
+                          <dc:attribute name="info" value="${info}"/>
                         </column>
                       </dc:elements>
                     </dc:context>
@@ -328,7 +346,8 @@
                     <dc:statement>
                       SELECT id       AS prot_column_id,
                              name     AS prot_column_name,
-                             position AS prot_rel_pos
+                             position AS prot_rel_pos,
+                             description AS info
                       FROM wst_columns WHERE wst_id = ${prot_id}
                       ORDER by position
                     </dc:statement>
@@ -337,6 +356,7 @@
                         <dc:attribute name="name" value="${prot_column_name}"/>
                         <dc:attribute name="ids" value="heightmarks_points-wstv-${prot_rel_pos}-${prot_id}"/>
                         <dc:attribute name="factory" value="staticwkms"/>
+                        <dc:attribute name="info" value="${info}"/>
                       </column>
                     </dc:elements>
                   </dc:context>
@@ -361,7 +381,8 @@
                     <dc:statement>
                       SELECT id       AS prot_column_id,
                              name     AS prot_column_name,
-                             position AS prot_rel_pos
+                             position AS prot_rel_pos,
+                             description AS info
                       FROM wst_columns WHERE wst_id = ${prot_id}
                       ORDER by position
                     </dc:statement>
@@ -370,6 +391,7 @@
                         <dc:attribute name="name" value="${prot_column_name}"/>
                         <dc:attribute name="ids" value="heightmarks_points-wstv-${prot_rel_pos}-${prot_id}"/>
                         <dc:attribute name="factory" value="staticwkms"/>
+                        <dc:attribute name="info" value="${info}"/>
                       </column>
                     </dc:elements>
                   </dc:context>
@@ -394,7 +416,8 @@
                     <dc:statement>
                       SELECT id       AS prot_column_id,
                              name     AS prot_column_name,
-                             position AS prot_rel_pos
+                             position AS prot_rel_pos,
+                             description AS info
                       FROM wst_columns WHERE wst_id = ${prot_id}
                       ORDER by position
                     </dc:statement>
@@ -403,6 +426,7 @@
                         <dc:attribute name="name" value="${prot_column_name}"/>
                         <dc:attribute name="ids" value="heightmarks_annotations-wstv-${prot_rel_pos}-${prot_id}"/>
                         <dc:attribute name="factory" value="wqinterpol"/>
+                        <dc:attribute name="info" value="${info}"/>
                       </column>
                     </dc:elements>
                   </dc:context>
@@ -431,7 +455,8 @@
                       <dc:statement>
                         SELECT id       AS prot_column_id,
                                name     AS prot_column_name,
-                               position AS prot_rel_pos
+                               position AS prot_rel_pos,
+                               description AS info
                         FROM wst_columns WHERE wst_id = ${prot_id}
                         ORDER by position
                       </dc:statement>
@@ -440,6 +465,7 @@
                           <dc:attribute name="name" value="${prot_column_name}"/>
                           <dc:attribute name="ids" value="flood_protection-wstv-${prot_rel_pos}-${prot_id}"/>
                           <dc:attribute name="factory" value="staticwkms"/>
+                          <dc:attribute name="info" value="${info}"/>
                         </column>
                       </dc:elements>
                     </dc:context>
@@ -576,6 +602,7 @@
                  <dc:call-macro name="basedata_0"/>
                  <dc:call-macro name="basedata_1_additionals"/>
                  <dc:call-macro name="basedata_2_fixations"/>
+                 <dc:call-macro name="basedata_3_officials"/>
                  <dc:call-macro name="basedata_4_heightmarks-points"/>
                  <dc:call-macro name="cross_sections"/>
                  <dc:call-macro name="hyks"/>
@@ -725,6 +752,7 @@
           </dc:if>
 
           <dc:if test="dc:contains($artifact-outs, 'longitudinal_section')">
+
               <longitudinal_section>
                 <dc:call-macro name="annotations"/>
               </longitudinal_section>
@@ -1204,6 +1232,7 @@
           </dc:elements>
           </officiallines>
         </dc:if>
+        <!-- END OFFICIAL LINES -->
 
         <dc:comment>
           SHOW W-DIFFERENCES

http://dive4elements.wald.intevation.org