Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java @ 1945:f2c14e09a8f1
Adjusted to doOut signature change.
flys-artifacts/trunk@3335 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Wed, 30 Nov 2011 10:13:16 +0000 |
parents | b7b424ae32a8 |
children | 65f9d707caff |
comparison
equal
deleted
inserted
replaced
1944:21a4d2c677a1 | 1945:f2c14e09a8f1 |
---|---|
20 import org.jfree.chart.JFreeChart; | 20 import org.jfree.chart.JFreeChart; |
21 | 21 |
22 import de.intevation.artifacts.Artifact; | 22 import de.intevation.artifacts.Artifact; |
23 import de.intevation.artifacts.CallContext; | 23 import de.intevation.artifacts.CallContext; |
24 | 24 |
25 import de.intevation.artifactdatabase.state.ArtifactAndFacet; | |
25 import de.intevation.artifactdatabase.state.Facet; | 26 import de.intevation.artifactdatabase.state.Facet; |
26 | 27 |
27 import de.intevation.artifacts.common.utils.XMLUtils; | 28 import de.intevation.artifacts.common.utils.XMLUtils; |
28 | 29 |
29 | 30 |
74 | 75 |
75 | 76 |
76 /** | 77 /** |
77 * Dispatches the operation to the instantiated generator. | 78 * Dispatches the operation to the instantiated generator. |
78 * | 79 * |
79 * @param master | 80 * @param master The master artifact |
80 */ | 81 */ |
81 public void setMasterArtifact(Artifact master) { | 82 public void setMasterArtifact(Artifact master) { |
82 generator.setMasterArtifact(master); | 83 generator.setMasterArtifact(master); |
83 } | 84 } |
84 | 85 |
85 | 86 |
86 /** | 87 /** |
87 * Dispatches the operation to the instantiated generator. | 88 * Dispatches the operation to the instantiated generator. |
88 * | |
89 * @param artifacts | |
90 * @param facet | |
91 * @param attr | |
92 */ | 89 */ |
93 public void doOut( | 90 public void doOut( |
94 Artifact artifact, | 91 ArtifactAndFacet artifactFacet, |
95 Facet facet, | 92 Document attr, |
96 Document attr, | 93 boolean visible |
97 boolean visible | |
98 ) { | 94 ) { |
99 generator.doOut(artifact, facet, attr, visible); | 95 generator.doOut(artifactFacet, attr, visible); |
100 } | 96 } |
101 | 97 |
102 | 98 |
103 /** | 99 /** |
104 * This method generates the chart using a concrete ChartGenerator but | 100 * This method generates the chart using a concrete ChartGenerator but |