Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/exports/DischargeLongitudinalSectionGenerator.java @ 6905:1b35b2ddfc28
Artifacts: Introduce ThemeDocument & make stuff compileable again. THIS BREAKS THE SYSTEM! TODO: Move ThemeUtils into ThemeDocument.
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Thu, 22 Aug 2013 23:31:38 +0200 |
parents | 2874e16c2cc6 |
children | 750ce031e8e0 |
comparison
equal
deleted
inserted
replaced
6904:d710bd3df387 | 6905:1b35b2ddfc28 |
---|---|
10 | 10 |
11 import org.apache.log4j.Logger; | 11 import org.apache.log4j.Logger; |
12 | 12 |
13 import org.jfree.data.xy.XYSeries; | 13 import org.jfree.data.xy.XYSeries; |
14 | 14 |
15 import org.w3c.dom.Document; | |
16 | |
17 import org.dive4elements.artifactdatabase.state.ArtifactAndFacet; | 15 import org.dive4elements.artifactdatabase.state.ArtifactAndFacet; |
18 import org.dive4elements.artifactdatabase.state.Facet; | 16 import org.dive4elements.artifactdatabase.state.Facet; |
19 | 17 |
20 import org.dive4elements.river.artifacts.model.FacetTypes; | 18 import org.dive4elements.river.artifacts.model.FacetTypes; |
21 import org.dive4elements.river.artifacts.model.WQCKms; | 19 import org.dive4elements.river.artifacts.model.WQCKms; |
23 import org.dive4elements.river.exports.process.Processor; | 21 import org.dive4elements.river.exports.process.Processor; |
24 import org.dive4elements.river.exports.process.WOutProcessor; | 22 import org.dive4elements.river.exports.process.WOutProcessor; |
25 | 23 |
26 import org.dive4elements.river.jfree.RiverAnnotation; | 24 import org.dive4elements.river.jfree.RiverAnnotation; |
27 import org.dive4elements.river.jfree.StyledXYSeries; | 25 import org.dive4elements.river.jfree.StyledXYSeries; |
26 import org.dive4elements.river.themes.ThemeDocument; | |
28 | 27 |
29 | 28 |
30 | 29 |
31 /** | 30 /** |
32 * An OutGenerator that generates discharge longitudinal section curves. | 31 * An OutGenerator that generates discharge longitudinal section curves. |
47 | 46 |
48 | 47 |
49 @Override | 48 @Override |
50 public void doOut( | 49 public void doOut( |
51 ArtifactAndFacet artifactFacet, | 50 ArtifactAndFacet artifactFacet, |
52 Document attr, | 51 ThemeDocument attr, |
53 boolean visible | 52 boolean visible |
54 ) { | 53 ) { |
55 logger.debug("DischargeLongitudinalSectionGenerator.doOut"); | 54 logger.debug("DischargeLongitudinalSectionGenerator.doOut"); |
56 | 55 |
57 String name = artifactFacet.getFacetName(); | 56 String name = artifactFacet.getFacetName(); |
109 * | 108 * |
110 * @param wqckms The object that contains the corrected W values. | 109 * @param wqckms The object that contains the corrected W values. |
111 * @param theme The theme that contains styling information. | 110 * @param theme The theme that contains styling information. |
112 */ | 111 */ |
113 protected void doCorrectedWOut( | 112 protected void doCorrectedWOut( |
114 WQCKms wqckms, | 113 WQCKms wqckms, |
115 Facet facet, | 114 Facet facet, |
116 Document theme, | 115 ThemeDocument theme, |
117 boolean visible | 116 boolean visible |
118 ) { | 117 ) { |
119 logger.debug("DischargeLongitudinalSectionGenerator.doCorrectedWOut"); | 118 logger.debug("DischargeLongitudinalSectionGenerator.doCorrectedWOut"); |
120 | 119 |
121 int size = wqckms.size(); | 120 int size = wqckms.size(); |
122 | 121 |