comparison artifacts/src/main/java/org/dive4elements/river/exports/ChartGenerator.java @ 7037:5c6fd2c010dd generator-refactoring

Add setup(Element config) method to Generator interface to be initialized from configuration.
author Sascha L. Teichmann <teichmann@intevation.de>
date Wed, 18 Sep 2013 15:04:26 +0200
parents 557cb3a3d772
children 0a337f0005c2
comparison
equal deleted inserted replaced
7034:557cb3a3d772 7037:5c6fd2c010dd
157 */ 157 */
158 public ChartGenerator() { 158 public ChartGenerator() {
159 datasets = new TreeMap<Integer, AxisDataset>(); 159 datasets = new TreeMap<Integer, AxisDataset>();
160 } 160 }
161 161
162 @Override
163 public void setup(Element config) {
164 logger.debug("ChartGenerator.setup");
165 }
162 166
163 /** 167 /**
164 * Adds annotations to list. The given annotation will be visible. 168 * Adds annotations to list. The given annotation will be visible.
165 */ 169 */
166 public void addAnnotations(RiverAnnotation annotation) { 170 public void addAnnotations(RiverAnnotation annotation) {

http://dive4elements.wald.intevation.org