Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/WaterlevelInfoState.java @ 2103:b9f7ec9bda18
Removed call to removed functions.
flys-artifacts/trunk@3660 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Thu, 12 Jan 2012 12:22:40 +0000 |
parents | 00f14b837e65 |
children | 51b9899f819d |
comparison
equal
deleted
inserted
replaced
2102:16e74c5e636f | 2103:b9f7ec9bda18 |
---|---|
103 | 103 |
104 if (res.getReport().hasProblems()) { | 104 if (res.getReport().hasProblems()) { |
105 facets.add(new ReportFacet(ComputeType.ADVANCE, hash, id)); | 105 facets.add(new ReportFacet(ComputeType.ADVANCE, hash, id)); |
106 } | 106 } |
107 | 107 |
108 // Also register the CrossSectionFacets (added to respective out). | |
109 int idx = 0; | |
110 for (String name: winfo.getCrossSectionNames()) { | |
111 facets.add(new CrossSectionFacet(idx++, name)); | |
112 } | |
113 | |
114 // TODO Adjust to WaterlevelState - implementation. | 108 // TODO Adjust to WaterlevelState - implementation. |
115 facets.add(new CrossSectionWaterLineFacet(0, "Q=" + winfo.getDataAsString("wq_single"))); | 109 facets.add(new CrossSectionWaterLineFacet(0, "Q=" + winfo.getDataAsString("wq_single"))); |
116 | 110 |
117 // Assume to be in wq_single mode. | 111 // Assume to be in wq_single mode. |
118 return res; | 112 return res; |