comparison gnv-artifacts/src/main/java/de/intevation/gnv/state/profile/horizontal/HorizontalProfileOutputState.java @ 439:8975de9d7483

Loop through configuration to chart generation. gnv-artifacts/trunk@487 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Mon, 28 Dec 2009 16:24:05 +0000
parents bed9735adf84
children 45be952a3215
comparison
equal deleted inserted replaced
438:7399bb8f83ea 439:8975de9d7483
17 import java.util.Locale; 17 import java.util.Locale;
18 18
19 import org.apache.log4j.Logger; 19 import org.apache.log4j.Logger;
20 20
21 import org.jfree.chart.ChartTheme; 21 import org.jfree.chart.ChartTheme;
22
23 import de.intevation.artifacts.CallContext;
22 24
23 import de.intevation.gnv.chart.Chart; 25 import de.intevation.gnv.chart.Chart;
24 import de.intevation.gnv.chart.ChartLabels; 26 import de.intevation.gnv.chart.ChartLabels;
25 import de.intevation.gnv.chart.HorizontalProfileChart; 27 import de.intevation.gnv.chart.HorizontalProfileChart;
26 import de.intevation.gnv.exports.DefaultExport; 28 import de.intevation.gnv.exports.DefaultExport;
123 Collection dates, 125 Collection dates,
124 Object result, 126 Object result,
125 Locale locale, 127 Locale locale,
126 String uuid, 128 String uuid,
127 boolean linesVisible, 129 boolean linesVisible,
128 boolean shapesVisible 130 boolean shapesVisible,
131 CallContext callContext
129 ) { 132 ) {
130 Chart chart = null; 133 Chart chart = null;
131 134
132 if (CACHE_CHART) { 135 if (CACHE_CHART) {
133 log.info("Try to get horizontalprofile chart from cache."); 136 log.info("Try to get horizontalprofile chart from cache.");
134 chart = (Chart) getChartFromCache(uuid); 137 chart = (Chart) getChartFromCache(uuid, callContext);
135 } 138 }
136 139
137 if (chart != null) 140 if (chart != null)
138 return chart; 141 return chart;
139 142

http://dive4elements.wald.intevation.org