Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/WaterlevelState.java @ 1141:bcba246d9c03
Fix various issues like i18n in cross section diagrams.
flys-artifacts/trunk@2662 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Wed, 07 Sep 2011 10:37:14 +0000 |
parents | 96d7842e80ee |
children | fbe18ad4caff |
comparison
equal
deleted
inserted
replaced
1140:96d7842e80ee | 1141:bcba246d9c03 |
---|---|
92 if (res.getReport().hasProblems()) { | 92 if (res.getReport().hasProblems()) { |
93 facets.add(new ReportFacet(ComputeType.ADVANCE, hash, id)); | 93 facets.add(new ReportFacet(ComputeType.ADVANCE, hash, id)); |
94 } | 94 } |
95 | 95 |
96 // Also register the CrossSectionFacet (added to respective out). | 96 // Also register the CrossSectionFacet (added to respective out). |
97 facets.add(new CrossSectionFacet("facet.cross_section")); | 97 facets.add(new CrossSectionFacet(winfo.getCrossSectionName())); |
98 facets.add(new CrossSectionWaterLineFacet("facet.cross_section_water_line")); | 98 // Assume to be in wq_single mode. |
99 facets.add(new CrossSectionWaterLineFacet("Q=" + winfo.getDataAsString("wq_single"))); | |
99 return res; | 100 return res; |
100 } | 101 } |
101 | 102 |
102 | 103 |
103 /** | 104 /** |