changeset 4565:ce6bea03156c 2.9.6

Add help anchors for fix analysis
author Sascha L. Teichmann <teichmann@intevation.de>
date Fri, 16 Nov 2012 18:23:26 +0100
parents 080411ac948f
children 1784ef23e29e
files flys-artifacts/contrib/extract-help.xsl flys-artifacts/doc/conf/artifacts/fixanalysis.xml flys-artifacts/src/main/resources/messages.properties flys-artifacts/src/main/resources/messages_de.properties flys-artifacts/src/main/resources/messages_de_DE.properties flys-artifacts/src/main/resources/messages_en.properties
diffstat 6 files changed, 98 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/flys-artifacts/contrib/extract-help.xsl	Fri Nov 16 18:23:26 2012 +0100
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsl:stylesheet
+  version="1.0"
+  xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+
+  <xsl:output method="text"/>
+
+  <xsl:param name="base-url">https://flys-intern.intevation.de/Flys-3.0/OnlineHilfe</xsl:param>
+  <xsl:param name="module">Fixierungsanalyse</xsl:param>
+
+  <xsl:template match="//state">
+      <xsl:value-of select="@helpText"/>=<xsl:value-of
+              select="concat($base-url, '/', $module, '#', @helpText)"/>
+      <xsl:text>&#10;</xsl:text>
+  </xsl:template>
+
+  <xsl:template match="text()"/>
+
+</xsl:stylesheet>
--- a/flys-artifacts/doc/conf/artifacts/fixanalysis.xml	Fri Nov 16 17:39:47 2012 +0100
+++ b/flys-artifacts/doc/conf/artifacts/fixanalysis.xml	Fri Nov 16 18:23:26 2012 +0100
@@ -2,6 +2,7 @@
 <artifact name="fixanalysis">
     <states>
         <state id="state.fix.river" description="state.fix.river"
+            helpText="help.state.fix.river"
             state="de.intevation.flys.artifacts.states.RiverSelect">
             <data name="river" type="String" />
         </state>
@@ -12,6 +13,7 @@
         </transition>
 
         <state id="state.fix.calculation.mode"
+            helpText="help.state.fix.calculation.mode"
             description="state.fix.calcuation.mode"
             state="de.intevation.flys.artifacts.states.fixation.FixationSelect">
             <data name="calculation.mode" type="String"/>
@@ -23,6 +25,7 @@
         </transition>
 
         <state id="state.fix.location" description="state.fix.location"
+            helpText="help.state.fix.location"
             state="de.intevation.flys.artifacts.states.fixation.LocationSelect">
             <data name="from" type="Double"/>
             <data name="to" type="Double"/>
@@ -35,6 +38,7 @@
         </transition>
 
         <state id="state.fix.period" description="state.fix.period"
+            helpText="help.state.fix.period"
             state="de.intevation.flys.artifacts.states.fixation.FixationPeriod">
             <data name="start" type="Long"/>
             <data name="end" type="Long"/>
@@ -46,6 +50,7 @@
         </transition>
 
         <state id="state.fix.gaugerange" description="state.fix.gaugerange"
+            helpText="help.state.fix.gaugerange"
             state="de.intevation.flys.artifacts.states.fixation.GaugeRange">
             <data name="q1" type="Integer"/>
             <data name="q2" type="Integer"/>
@@ -57,6 +62,7 @@
         </transition>
 
         <state id="state.fix.eventselect" description="state.fix.eventselect"
+            helpText="help.state.fix.eventselect"
             state="de.intevation.flys.artifacts.states.fixation.EventSelect">
             <data name="events" type="intarray"/>
         </state>
@@ -76,6 +82,7 @@
         </transition>
 
         <state id="state.fix.analysis.referenceperiod"
+            helpText="help.state.fix.analysis.referenceperiod"
             description="state.fix.analysis.referenceperiod"
             state="de.intevation.flys.artifacts.states.fixation.ReferencePeriod">
             <data name="ref_start" type="Long"/>
@@ -88,6 +95,7 @@
         </transition>
 
         <state id="state.fix.analysis.analysisperiods"
+            helpText="help.state.fix.analysis.analysisperiods"
             description="state.fix.analysis.analysisperiods"
             state="de.intevation.flys.artifacts.states.fixation.AnalysisPeriods">
             <data name="ana_data" type="String"/>
@@ -99,6 +107,7 @@
         </transition>
 
         <state id="state.fix.analysis.function"
+            helpText="help.state.fix.analysis.function"
             description="state.fix.analysis.function"
             state="de.intevation.flys.artifacts.states.fixation.FunctionSelect">
             <data name="function" type="String"/>
@@ -110,6 +119,7 @@
         </transition>
 
         <state id="state.fix.analysis.preprocessing"
+            helpText="help.state.fix.analysis.preprocessing"
             description="state.fix.analysis.preprocessing"
             state="de.intevation.flys.artifacts.states.fixation.PreprocessingSelect">
             <data name="preprocessing" type="Boolean"/>
@@ -121,6 +131,7 @@
         </transition>
 
         <state id="state.fix.analysis.compute"
+            helpText="help.state.fix.analysis.compute"
             description="state.fix.analysis.compute"
             state="de.intevation.flys.artifacts.states.fixation.FixAnalysisCompute">
             <outputmodes>
@@ -208,6 +219,7 @@
         </state>
 
         <state id="state.fix.vollmer.function"
+            helpText="help.state.fix.vollmer.function"
             description="state.fix.vollmer.function"
             state="de.intevation.flys.artifacts.states.fixation.FunctionSelect">
             <data name="function" type="String"/>
@@ -219,6 +231,7 @@
         </transition>
 
         <state id="state.fix.vollmer.preprocessing"
+            helpText="help.state.fix.vollmer.preprocessing"
             description="state.fix.vollmer.preprocessing"
             state="de.intevation.flys.artifacts.states.fixation.PreprocessingSelect">
             <data name="preprocessing" type="Boolean"/>
@@ -230,6 +243,7 @@
         </transition>
 
         <state id="state.fix.vollmer.qs" description="state.fix.vollmer.qs"
+            helpText="help.state.fix.vollmer.qs"
             state="de.intevation.flys.artifacts.states.WQAdapted">
             <data name="wq_isq"   type="String" />
             <data name="wq_values" type="WQTriple" />
@@ -241,6 +255,7 @@
         </transition>
 
         <state id="state.fix.vollmer.compute"
+            helpText="help.state.fix.vollmer.compute"
             description="state.fix.vollmer.compute"
             state="de.intevation.flys.artifacts.states.fixation.FixRealizingCompute">
             <outputmodes>
--- a/flys-artifacts/src/main/resources/messages.properties	Fri Nov 16 17:39:47 2012 +0100
+++ b/flys-artifacts/src/main/resources/messages.properties	Fri Nov 16 18:23:26 2012 +0100
@@ -558,3 +558,19 @@
 gauge.discharge.service.chart.y.title = W [cm]
 gauge.discharge.service.chart.series.title = Discharge Curve {0,date,short} - {1,date,short}
 gauge.discharge.service.chart.series.title.master = Current Discharge Curve since {0,date,short}
+
+help.state.fix.river=https://flys-intern.intevation.de/Flys-3.0/OnlineHilfe/Fixierungsanalyse#help.state.fix.river
+help.state.fix.calculation.mode=https://flys-intern.intevation.de/Flys-3.0/OnlineHilfe/Fixierungsanalyse#help.state.fix.calculation.mode
+help.state.fix.location=https://flys-intern.intevation.de/Flys-3.0/OnlineHilfe/Fixierungsanalyse#help.state.fix.location
+help.state.fix.period=https://flys-intern.intevation.de/Flys-3.0/OnlineHilfe/Fixierungsanalyse#help.state.fix.period
+help.state.fix.gaugerange=https://flys-intern.intevation.de/Flys-3.0/OnlineHilfe/Fixierungsanalyse#help.state.fix.gaugerange
+help.state.fix.eventselect=https://flys-intern.intevation.de/Flys-3.0/OnlineHilfe/Fixierungsanalyse#help.state.fix.eventselect
+help.state.fix.analysis.referenceperiod=https://flys-intern.intevation.de/Flys-3.0/OnlineHilfe/Fixierungsanalyse#help.state.fix.analysis.referenceperiod
+help.state.fix.analysis.analysisperiods=https://flys-intern.intevation.de/Flys-3.0/OnlineHilfe/Fixierungsanalyse#help.state.fix.analysis.analysisperiods
+help.state.fix.analysis.function=https://flys-intern.intevation.de/Flys-3.0/OnlineHilfe/Fixierungsanalyse#help.state.fix.analysis.function
+help.state.fix.analysis.preprocessing=https://flys-intern.intevation.de/Flys-3.0/OnlineHilfe/Fixierungsanalyse#help.state.fix.analysis.preprocessing
+help.state.fix.analysis.compute=https://flys-intern.intevation.de/Flys-3.0/OnlineHilfe/Fixierungsanalyse#help.state.fix.analysis.compute
+help.state.fix.vollmer.function=https://flys-intern.intevation.de/Flys-3.0/OnlineHilfe/Fixierungsanalyse#help.state.fix.vollmer.function
+help.state.fix.vollmer.preprocessing=https://flys-intern.intevation.de/Flys-3.0/OnlineHilfe/Fixierungsanalyse#help.state.fix.vollmer.preprocessing
+help.state.fix.vollmer.qs=https://flys-intern.intevation.de/Flys-3.0/OnlineHilfe/Fixierungsanalyse#help.state.fix.vollmer.qs
+help.state.fix.vollmer.compute=https://flys-intern.intevation.de/Flys-3.0/OnlineHilfe/Fixierungsanalyse#help.state.fix.vollmer.compute
--- a/flys-artifacts/src/main/resources/messages_de.properties	Fri Nov 16 17:39:47 2012 +0100
+++ b/flys-artifacts/src/main/resources/messages_de.properties	Fri Nov 16 18:23:26 2012 +0100
@@ -551,3 +551,19 @@
 gauge.discharge.service.chart.y.title = W [cm]
 gauge.discharge.service.chart.series.title = Abflusskurve {0,date,short} - {1,date,short}
 gauge.discharge.service.chart.series.title.master = Aktuelle Abflusskurve ab {0,date,short}
+
+help.state.fix.river=https://flys-intern.intevation.de/Flys-3.0/OnlineHilfe/Fixierungsanalyse#help.state.fix.river
+help.state.fix.calculation.mode=https://flys-intern.intevation.de/Flys-3.0/OnlineHilfe/Fixierungsanalyse#help.state.fix.calculation.mode
+help.state.fix.location=https://flys-intern.intevation.de/Flys-3.0/OnlineHilfe/Fixierungsanalyse#help.state.fix.location
+help.state.fix.period=https://flys-intern.intevation.de/Flys-3.0/OnlineHilfe/Fixierungsanalyse#help.state.fix.period
+help.state.fix.gaugerange=https://flys-intern.intevation.de/Flys-3.0/OnlineHilfe/Fixierungsanalyse#help.state.fix.gaugerange
+help.state.fix.eventselect=https://flys-intern.intevation.de/Flys-3.0/OnlineHilfe/Fixierungsanalyse#help.state.fix.eventselect
+help.state.fix.analysis.referenceperiod=https://flys-intern.intevation.de/Flys-3.0/OnlineHilfe/Fixierungsanalyse#help.state.fix.analysis.referenceperiod
+help.state.fix.analysis.analysisperiods=https://flys-intern.intevation.de/Flys-3.0/OnlineHilfe/Fixierungsanalyse#help.state.fix.analysis.analysisperiods
+help.state.fix.analysis.function=https://flys-intern.intevation.de/Flys-3.0/OnlineHilfe/Fixierungsanalyse#help.state.fix.analysis.function
+help.state.fix.analysis.preprocessing=https://flys-intern.intevation.de/Flys-3.0/OnlineHilfe/Fixierungsanalyse#help.state.fix.analysis.preprocessing
+help.state.fix.analysis.compute=https://flys-intern.intevation.de/Flys-3.0/OnlineHilfe/Fixierungsanalyse#help.state.fix.analysis.compute
+help.state.fix.vollmer.function=https://flys-intern.intevation.de/Flys-3.0/OnlineHilfe/Fixierungsanalyse#help.state.fix.vollmer.function
+help.state.fix.vollmer.preprocessing=https://flys-intern.intevation.de/Flys-3.0/OnlineHilfe/Fixierungsanalyse#help.state.fix.vollmer.preprocessing
+help.state.fix.vollmer.qs=https://flys-intern.intevation.de/Flys-3.0/OnlineHilfe/Fixierungsanalyse#help.state.fix.vollmer.qs
+help.state.fix.vollmer.compute=https://flys-intern.intevation.de/Flys-3.0/OnlineHilfe/Fixierungsanalyse#help.state.fix.vollmer.compute
--- a/flys-artifacts/src/main/resources/messages_de_DE.properties	Fri Nov 16 17:39:47 2012 +0100
+++ b/flys-artifacts/src/main/resources/messages_de_DE.properties	Fri Nov 16 18:23:26 2012 +0100
@@ -561,3 +561,19 @@
 gauge.discharge.service.chart.y.title = W [cm]
 gauge.discharge.service.chart.series.title = Abflusskurve {0,date,short} - {1,date,short}
 gauge.discharge.service.chart.series.title.master = Aktuelle Abflusskurve ab {0,date,short}
+
+help.state.fix.river=https://flys-intern.intevation.de/Flys-3.0/OnlineHilfe/Fixierungsanalyse#help.state.fix.river
+help.state.fix.calculation.mode=https://flys-intern.intevation.de/Flys-3.0/OnlineHilfe/Fixierungsanalyse#help.state.fix.calculation.mode
+help.state.fix.location=https://flys-intern.intevation.de/Flys-3.0/OnlineHilfe/Fixierungsanalyse#help.state.fix.location
+help.state.fix.period=https://flys-intern.intevation.de/Flys-3.0/OnlineHilfe/Fixierungsanalyse#help.state.fix.period
+help.state.fix.gaugerange=https://flys-intern.intevation.de/Flys-3.0/OnlineHilfe/Fixierungsanalyse#help.state.fix.gaugerange
+help.state.fix.eventselect=https://flys-intern.intevation.de/Flys-3.0/OnlineHilfe/Fixierungsanalyse#help.state.fix.eventselect
+help.state.fix.analysis.referenceperiod=https://flys-intern.intevation.de/Flys-3.0/OnlineHilfe/Fixierungsanalyse#help.state.fix.analysis.referenceperiod
+help.state.fix.analysis.analysisperiods=https://flys-intern.intevation.de/Flys-3.0/OnlineHilfe/Fixierungsanalyse#help.state.fix.analysis.analysisperiods
+help.state.fix.analysis.function=https://flys-intern.intevation.de/Flys-3.0/OnlineHilfe/Fixierungsanalyse#help.state.fix.analysis.function
+help.state.fix.analysis.preprocessing=https://flys-intern.intevation.de/Flys-3.0/OnlineHilfe/Fixierungsanalyse#help.state.fix.analysis.preprocessing
+help.state.fix.analysis.compute=https://flys-intern.intevation.de/Flys-3.0/OnlineHilfe/Fixierungsanalyse#help.state.fix.analysis.compute
+help.state.fix.vollmer.function=https://flys-intern.intevation.de/Flys-3.0/OnlineHilfe/Fixierungsanalyse#help.state.fix.vollmer.function
+help.state.fix.vollmer.preprocessing=https://flys-intern.intevation.de/Flys-3.0/OnlineHilfe/Fixierungsanalyse#help.state.fix.vollmer.preprocessing
+help.state.fix.vollmer.qs=https://flys-intern.intevation.de/Flys-3.0/OnlineHilfe/Fixierungsanalyse#help.state.fix.vollmer.qs
+help.state.fix.vollmer.compute=https://flys-intern.intevation.de/Flys-3.0/OnlineHilfe/Fixierungsanalyse#help.state.fix.vollmer.compute
--- a/flys-artifacts/src/main/resources/messages_en.properties	Fri Nov 16 17:39:47 2012 +0100
+++ b/flys-artifacts/src/main/resources/messages_en.properties	Fri Nov 16 18:23:26 2012 +0100
@@ -559,3 +559,19 @@
 gauge.discharge.service.chart.y.title = W [cm]
 gauge.discharge.service.chart.series.title = Discharge Curve {0,date,short} - {1,date,short}
 gauge.discharge.service.chart.series.title.master = Current Discharge Curve since {0,date,short}
+
+help.state.fix.river=https://flys-intern.intevation.de/Flys-3.0/OnlineHilfe/Fixierungsanalyse#help.state.fix.river
+help.state.fix.calculation.mode=https://flys-intern.intevation.de/Flys-3.0/OnlineHilfe/Fixierungsanalyse#help.state.fix.calculation.mode
+help.state.fix.location=https://flys-intern.intevation.de/Flys-3.0/OnlineHilfe/Fixierungsanalyse#help.state.fix.location
+help.state.fix.period=https://flys-intern.intevation.de/Flys-3.0/OnlineHilfe/Fixierungsanalyse#help.state.fix.period
+help.state.fix.gaugerange=https://flys-intern.intevation.de/Flys-3.0/OnlineHilfe/Fixierungsanalyse#help.state.fix.gaugerange
+help.state.fix.eventselect=https://flys-intern.intevation.de/Flys-3.0/OnlineHilfe/Fixierungsanalyse#help.state.fix.eventselect
+help.state.fix.analysis.referenceperiod=https://flys-intern.intevation.de/Flys-3.0/OnlineHilfe/Fixierungsanalyse#help.state.fix.analysis.referenceperiod
+help.state.fix.analysis.analysisperiods=https://flys-intern.intevation.de/Flys-3.0/OnlineHilfe/Fixierungsanalyse#help.state.fix.analysis.analysisperiods
+help.state.fix.analysis.function=https://flys-intern.intevation.de/Flys-3.0/OnlineHilfe/Fixierungsanalyse#help.state.fix.analysis.function
+help.state.fix.analysis.preprocessing=https://flys-intern.intevation.de/Flys-3.0/OnlineHilfe/Fixierungsanalyse#help.state.fix.analysis.preprocessing
+help.state.fix.analysis.compute=https://flys-intern.intevation.de/Flys-3.0/OnlineHilfe/Fixierungsanalyse#help.state.fix.analysis.compute
+help.state.fix.vollmer.function=https://flys-intern.intevation.de/Flys-3.0/OnlineHilfe/Fixierungsanalyse#help.state.fix.vollmer.function
+help.state.fix.vollmer.preprocessing=https://flys-intern.intevation.de/Flys-3.0/OnlineHilfe/Fixierungsanalyse#help.state.fix.vollmer.preprocessing
+help.state.fix.vollmer.qs=https://flys-intern.intevation.de/Flys-3.0/OnlineHilfe/Fixierungsanalyse#help.state.fix.vollmer.qs
+help.state.fix.vollmer.compute=https://flys-intern.intevation.de/Flys-3.0/OnlineHilfe/Fixierungsanalyse#help.state.fix.vollmer.compute

http://dive4elements.wald.intevation.org