# HG changeset patch # User Felix Wolfsteller # Date 1337711012 0 # Node ID 0657e7966c87a6c4b53e75e3bed2f62faa505d23 # Parent a441be7f15892d521997f4dc1b631e8d466749b1 Add cross-section output to dischargelong.section. flys-artifacts/trunk@4463 c6561f87-3c4e-4783-a992-168aeb5c3f6f diff -r a441be7f1589 -r 0657e7966c87 flys-artifacts/ChangeLog --- a/flys-artifacts/ChangeLog Tue May 22 17:09:27 2012 +0000 +++ b/flys-artifacts/ChangeLog Tue May 22 18:23:32 2012 +0000 @@ -1,3 +1,11 @@ +2012-05-22 Felix Wolfsteller + + * doc/conf/artifacts/winfo.xml: Allow cross-section stuff in + dischargelongitudinal state. + + * src/main/java/de/intevation/flys/artifacts/states/DischargeLongitudinalSection.java: + Add CrossSectionWaterLineFacets, will trigger the cross section output. + 2012-05-22 Felix Wolfsteller * src/main/java/de/intevation/flys/artifacts/FixationArtifact.java: diff -r a441be7f1589 -r 0657e7966c87 flys-artifacts/doc/conf/artifacts/winfo.xml --- a/flys-artifacts/doc/conf/artifacts/winfo.xml Tue May 22 17:09:27 2012 +0000 +++ b/flys-artifacts/doc/conf/artifacts/winfo.xml Tue May 22 18:23:32 2012 +0000 @@ -282,6 +282,7 @@ + @@ -390,6 +391,16 @@ + + + + + + + + + + diff -r a441be7f1589 -r 0657e7966c87 flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/DischargeLongitudinalSection.java --- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/DischargeLongitudinalSection.java Tue May 22 17:09:27 2012 +0000 +++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/DischargeLongitudinalSection.java Tue May 22 18:23:32 2012 +0000 @@ -12,6 +12,7 @@ import de.intevation.flys.artifacts.WINFOArtifact; import de.intevation.flys.artifacts.ChartArtifact; +import de.intevation.flys.artifacts.model.CrossSectionWaterLineFacet; import de.intevation.flys.artifacts.model.FacetTypes; import de.intevation.flys.artifacts.model.ReportFacet; import de.intevation.flys.artifacts.model.WaterlevelFacet; @@ -76,6 +77,9 @@ Facet q = new WaterlevelFacet( i, DISCHARGE_LONGITUDINAL_Q, nameQ); + Facet s = new CrossSectionWaterLineFacet(i, nameW); + + facets.add(s); facets.add(w); facets.add(q); @@ -89,7 +93,10 @@ Facet c = new WaterlevelFacet( i, DISCHARGE_LONGITUDINAL_C, nameC); + Facet r = new CrossSectionWaterLineFacet(i, nameC); + facets.add(c); + facets.add(r); } }