Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/exports/LongitudinalSectionGenerator.java @ 5867:59ff03ff48f1
River artifacts: Renamed FLYSArtifact(Collection) to D4EArtifact(Collection).
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Sun, 28 Apr 2013 15:23:01 +0200 |
parents | 73da40528cf2 |
children | af13ceeba52a |
comparison
equal
deleted
inserted
replaced
5866:9a6741ccf6d4 | 5867:59ff03ff48f1 |
---|---|
8 | 8 |
9 package org.dive4elements.river.exports; | 9 package org.dive4elements.river.exports; |
10 | 10 |
11 import org.dive4elements.artifactdatabase.state.ArtifactAndFacet; | 11 import org.dive4elements.artifactdatabase.state.ArtifactAndFacet; |
12 import org.dive4elements.artifactdatabase.state.Facet; | 12 import org.dive4elements.artifactdatabase.state.Facet; |
13 import org.dive4elements.river.artifacts.FLYSArtifact; | 13 import org.dive4elements.river.artifacts.D4EArtifact; |
14 import org.dive4elements.river.artifacts.geom.Lines; | 14 import org.dive4elements.river.artifacts.geom.Lines; |
15 import org.dive4elements.river.artifacts.model.AreaFacet; | 15 import org.dive4elements.river.artifacts.model.AreaFacet; |
16 import org.dive4elements.river.artifacts.model.FacetTypes; | 16 import org.dive4elements.river.artifacts.model.FacetTypes; |
17 import org.dive4elements.river.artifacts.model.WKms; | 17 import org.dive4elements.river.artifacts.model.WKms; |
18 import org.dive4elements.river.artifacts.model.WQKms; | 18 import org.dive4elements.river.artifacts.model.WQKms; |
201 /** | 201 /** |
202 * Get internationalized label for the x axis. | 202 * Get internationalized label for the x axis. |
203 */ | 203 */ |
204 @Override | 204 @Override |
205 protected String getDefaultXAxisLabel() { | 205 protected String getDefaultXAxisLabel() { |
206 FLYSArtifact flys = (FLYSArtifact) master; | 206 D4EArtifact flys = (D4EArtifact) master; |
207 | 207 |
208 return msg( | 208 return msg( |
209 I18N_XAXIS_LABEL, | 209 I18N_XAXIS_LABEL, |
210 I18N_XAXIS_LABEL_DEFAULT, | 210 I18N_XAXIS_LABEL_DEFAULT, |
211 new Object[] { RiverUtils.getRiver(flys).getName() }); | 211 new Object[] { RiverUtils.getRiver(flys).getName() }); |
232 | 232 |
233 /** | 233 /** |
234 * Get internationalized label for the y axis. | 234 * Get internationalized label for the y axis. |
235 */ | 235 */ |
236 protected String getWAxisLabel() { | 236 protected String getWAxisLabel() { |
237 FLYSArtifact flys = (FLYSArtifact) master; | 237 D4EArtifact flys = (D4EArtifact) master; |
238 | 238 |
239 String unit = RiverUtils.getRiver(flys).getWstUnit().getName(); | 239 String unit = RiverUtils.getRiver(flys).getWstUnit().getName(); |
240 | 240 |
241 return msg( | 241 return msg( |
242 I18N_YAXIS_LABEL, | 242 I18N_YAXIS_LABEL, |
424 /** | 424 /** |
425 * Process the output for Q facets in a longitudinal section curve. | 425 * Process the output for Q facets in a longitudinal section curve. |
426 * | 426 * |
427 * @param wqkms An array of WQKms values. | 427 * @param wqkms An array of WQKms values. |
428 * @param aandf The facet and artifact. This facet does NOT support any data objects. Use | 428 * @param aandf The facet and artifact. This facet does NOT support any data objects. Use |
429 * FLYSArtifact.getNativeFacet() instead to retrieve a Facet which supports | 429 * D4EArtifact.getNativeFacet() instead to retrieve a Facet which supports |
430 * data. | 430 * data. |
431 * @param theme The theme that contains styling information. | 431 * @param theme The theme that contains styling information. |
432 * @param visible The visibility of the curve. | 432 * @param visible The visibility of the curve. |
433 */ | 433 */ |
434 protected void doQOut( | 434 protected void doQOut( |