# HG changeset patch # User Raimund Renkert # Date 1327050893 0 # Node ID 734d5f5e55c04081cf5c857d147ccc95f1aa9013 # Parent 2336927cb096580bd9ff1c023d3667b170a609c2 'New chart' for cross sections. flys-artifacts/trunk@3735 c6561f87-3c4e-4783-a992-168aeb5c3f6f diff -r 2336927cb096 -r 734d5f5e55c0 flys-artifacts/ChangeLog --- a/flys-artifacts/ChangeLog Fri Jan 20 08:38:50 2012 +0000 +++ b/flys-artifacts/ChangeLog Fri Jan 20 09:14:53 2012 +0000 @@ -1,3 +1,24 @@ +2012-01-20 Raimund Renkert + + 'New chart' for cross sections. + + * doc/conf/artifacts/chart.xml: Updated the states and transitions for + new charts. + + * doc/conf/meta-data.xml: Added cross sections to datacage. + + * src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java: + Changed cast from WINFOArtifact to FLYSArtifact. + + * src/main/java/de/intevation/flys/artifacts/ChartArtifact.java: + Changed artifact data strings for chart_type. + + * src/main/resources/messages.properties, + src/main/resources/messages_de_DE.properties, + src/main/resources/messages_en.properties, + src/main/resources/messages_de.properties: + Changed i18n string for cross sections and logitudinal sections. + 2012-01-20 Felix Wolfsteller Add basic (text) styling for HYKs. diff -r 2336927cb096 -r 734d5f5e55c0 flys-artifacts/doc/conf/artifacts/chart.xml --- a/flys-artifacts/doc/conf/artifacts/chart.xml Fri Jan 20 08:38:50 2012 +0000 +++ b/flys-artifacts/doc/conf/artifacts/chart.xml Fri Jan 20 09:14:53 2012 +0000 @@ -34,21 +34,21 @@ - - + + - - + + - + @@ -65,18 +65,34 @@ - + - + + + + + + + + + + + + + + + + + + + - - - - - - - - + + + + + + @@ -94,12 +110,6 @@ - - - - - - @@ -117,7 +127,7 @@ - + @@ -130,23 +140,5 @@ - - - - - - - - - - - - - - - - - - diff -r 2336927cb096 -r 734d5f5e55c0 flys-artifacts/doc/conf/meta-data.xml --- a/flys-artifacts/doc/conf/meta-data.xml Fri Jan 20 08:38:50 2012 +0000 +++ b/flys-artifacts/doc/conf/meta-data.xml Fri Jan 20 09:14:53 2012 +0000 @@ -384,6 +384,7 @@ + diff -r 2336927cb096 -r 734d5f5e55c0 flys-artifacts/src/main/java/de/intevation/flys/artifacts/ChartArtifact.java --- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/ChartArtifact.java Fri Jan 20 08:38:50 2012 +0000 +++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/ChartArtifact.java Fri Jan 20 09:14:53 2012 +0000 @@ -263,13 +263,13 @@ "chart.new.computeddischargecurve"; public static final String DISCHARGE_LONGITUDINAL_CURVE = - "chart.new.discharge_longitudinal_section"; + "chart.new.longitudinal_section"; public static final String W_DIFFERENCES = "chart.new.w_differences"; public static final String WATERLEVEL = - "chart.new.waterlevel"; + "chart.new.crosssection"; public static final String[] CHARTS = { COMPUTED_DISCHARGE_CURVE, diff -r 2336927cb096 -r 734d5f5e55c0 flys-artifacts/src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java --- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java Fri Jan 20 08:38:50 2012 +0000 +++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/CrossSectionArtifact.java Fri Jan 20 09:14:53 2012 +0000 @@ -132,7 +132,7 @@ Object context, CallMeta callMeta) { - WINFOArtifact winfo = (WINFOArtifact) artifact; + FLYSArtifact winfo = (FLYSArtifact) artifact; double[] range = FLYSUtils.getKmRange(winfo); double min = 0.0f; if (range != null && range.length > 0) { diff -r 2336927cb096 -r 734d5f5e55c0 flys-artifacts/src/main/resources/messages.properties --- a/flys-artifacts/src/main/resources/messages.properties Fri Jan 20 08:38:50 2012 +0000 +++ b/flys-artifacts/src/main/resources/messages.properties Fri Jan 20 09:14:53 2012 +0000 @@ -28,9 +28,9 @@ chart.new.durationcurve = Duration Curve chart.new.computeddischargecurve = Discharge Curve -chart.new.discharge_longitudinal_section = Discharge Curve at +chart.new.longitudinal_section = Longitudinal Section chart.new.w_differences = Differences -chart.new.waterlevel = Waterlevel +chart.new.crosssection = Cross Section cross_section = Cross Section diff -r 2336927cb096 -r 734d5f5e55c0 flys-artifacts/src/main/resources/messages_de.properties --- a/flys-artifacts/src/main/resources/messages_de.properties Fri Jan 20 08:38:50 2012 +0000 +++ b/flys-artifacts/src/main/resources/messages_de.properties Fri Jan 20 09:14:53 2012 +0000 @@ -28,9 +28,9 @@ chart.new.durationcurve = Dauerlinie chart.new.computeddischargecurve = Abflusskurve -chart.new.discharge_longitudinal_section = Abflusskurve bei ungleichwertigem Abfluss +chart.new.longitudinal_section = L\u00e4ngsschnitt chart.new.w_differences = Differenzen -chart.new.waterlevel = Wasserstand/Wasserspiegellage +chart.new.crosssection = Querprofil cross_section = Querprofil diff -r 2336927cb096 -r 734d5f5e55c0 flys-artifacts/src/main/resources/messages_de_DE.properties --- a/flys-artifacts/src/main/resources/messages_de_DE.properties Fri Jan 20 08:38:50 2012 +0000 +++ b/flys-artifacts/src/main/resources/messages_de_DE.properties Fri Jan 20 09:14:53 2012 +0000 @@ -28,9 +28,9 @@ chart.new.durationcurve = Dauerlinie chart.new.computeddischargecurve = Abflusskurve -chart.new.discharge_longitudinal_section = Abflusskurve bei ungleichwertigem Abfluss +chart.new.longitudinal_section = L\u00e4ngsschnitt chart.new.w_differences = Differenzen -chart.new.waterlevel = Wasserstand/Wasserspiegellage +chart.new.crosssection = Querprofil cross_section = Querprofil diff -r 2336927cb096 -r 734d5f5e55c0 flys-artifacts/src/main/resources/messages_en.properties --- a/flys-artifacts/src/main/resources/messages_en.properties Fri Jan 20 08:38:50 2012 +0000 +++ b/flys-artifacts/src/main/resources/messages_en.properties Fri Jan 20 09:14:53 2012 +0000 @@ -26,9 +26,9 @@ chart.new.durationcurve = Duration Curve chart.new.computeddischargecurve = Discharge Curve -chart.new.discharge_longitudinal_section = Discharge Curve at +chart.new.longitudinal_section = Longitudinal Section chart.new.w_differences = Differences -chart.new.waterlevel = Waterlevel +chart.new.crosssection = Cross Section cross_section = Cross Section