diff flys-artifacts/src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java @ 3422:118fe1cc8cc8

OutGenerators got a setCollection() method; analogous to setMasterArtifact(). Registered the SQOverviewGenerator as OutGenerator for 'sq_overview' Output. flys-artifacts/trunk@5076 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Fri, 20 Jul 2012 06:50:25 +0000
parents 1dca41dba135
children
line wrap: on
line diff
--- a/flys-artifacts/src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java	Thu Jul 19 21:12:57 2012 +0000
+++ b/flys-artifacts/src/main/java/de/intevation/flys/exports/ChartInfoGenerator.java	Fri Jul 20 06:50:25 2012 +0000
@@ -1,5 +1,6 @@
 package de.intevation.flys.exports;
 
+import de.intevation.flys.collections.FLYSArtifactCollection;
 import de.intevation.flys.java2d.NOPGraphics2D;
 
 import java.io.IOException;
@@ -86,6 +87,16 @@
 
     /**
      * Dispatches the operation to the instantiated generator.
+     *
+     * @param collection The collection.
+     */
+    public void setCollection(FLYSArtifactCollection collection) {
+        generator.setCollection(collection);
+    }
+
+
+    /**
+     * Dispatches the operation to the instantiated generator.
      */
     public void doOut(
         ArtifactAndFacet artifactFacet,

http://dive4elements.wald.intevation.org