Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/fixation/FixationCompute.java @ 3205:bbb488b145ce
Set text orientation to horizontal for points in Fixation W/Q curve
flys-artifacts/trunk@4822 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Christian Lins <christian.lins@intevation.de> |
---|---|
date | Thu, 28 Jun 2012 13:52:12 +0000 |
parents | 19ce06eb56c3 |
children | ae14f412ba10 |
comparison
equal
deleted
inserted
replaced
3204:19ce06eb56c3 | 3205:bbb488b145ce |
---|---|
163 | 163 |
164 int sectorNdx = j - access.getQSectorStart().intValue(); | 164 int sectorNdx = j - access.getQSectorStart().intValue(); |
165 int facetNdx = i << 2; | 165 int facetNdx = i << 2; |
166 facetNdx = facetNdx | j; | 166 facetNdx = facetNdx | j; |
167 | 167 |
168 if (facetNdx > maxId) maxId = facetNdx; | 168 if (facetNdx > maxId) |
169 maxId = facetNdx; | |
169 | 170 |
170 facets.add( | 171 facets.add( |
171 new FixAvSectorFacet(facetNdx, | 172 new FixAvSectorFacet(facetNdx, |
172 FIX_SECTOR_AVERAGE_DWT + "_" + sectorNdx, | 173 FIX_SECTOR_AVERAGE_DWT + "_" + sectorNdx, |
173 description)); | 174 description)); |
202 facets.add(new FixAnalysisEventsFacet(i, | 203 facets.add(new FixAnalysisEventsFacet(i, |
203 FIX_ANALYSIS_EVENTS_WQ, | 204 FIX_ANALYSIS_EVENTS_WQ, |
204 eventDesc)); | 205 eventDesc)); |
205 } | 206 } |
206 | 207 |
207 IdGenerator idg = new IdGenerator(maxId); | 208 IdGenerator idg = new IdGenerator(maxId + 1); |
208 | 209 |
209 String i18n_ref = Resources.getMsg(context.getMeta(), | 210 String i18n_ref = Resources.getMsg(context.getMeta(), |
210 I18N_REFERENCEPERIOD, | 211 I18N_REFERENCEPERIOD, |
211 I18N_REFERENCEPERIOD); | 212 I18N_REFERENCEPERIOD); |
212 String i18n_dev = Resources.getMsg(context.getMeta(), | 213 String i18n_dev = Resources.getMsg(context.getMeta(), |