Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/exports/ChartGenerator.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 | 97ad960f5579 |
children | 0b9b2a0c4e64 |
comparison
equal
deleted
inserted
replaced
3421:c44ff50f4970 | 3422:118fe1cc8cc8 |
---|---|
8 import de.intevation.artifacts.CallMeta; | 8 import de.intevation.artifacts.CallMeta; |
9 import de.intevation.artifacts.PreferredLocale; | 9 import de.intevation.artifacts.PreferredLocale; |
10 import de.intevation.artifacts.common.utils.XMLUtils; | 10 import de.intevation.artifacts.common.utils.XMLUtils; |
11 import de.intevation.flys.artifacts.FLYSArtifact; | 11 import de.intevation.flys.artifacts.FLYSArtifact; |
12 import de.intevation.flys.artifacts.resources.Resources; | 12 import de.intevation.flys.artifacts.resources.Resources; |
13 import de.intevation.flys.collections.FLYSArtifactCollection; | |
13 import de.intevation.flys.jfree.Bounds; | 14 import de.intevation.flys.jfree.Bounds; |
14 import de.intevation.flys.jfree.CollisionFreeXYTextAnnotation; | 15 import de.intevation.flys.jfree.CollisionFreeXYTextAnnotation; |
15 import de.intevation.flys.jfree.DoubleBounds; | 16 import de.intevation.flys.jfree.DoubleBounds; |
16 import de.intevation.flys.jfree.EnhancedLineAndShapeRenderer; | 17 import de.intevation.flys.jfree.EnhancedLineAndShapeRenderer; |
17 import de.intevation.flys.jfree.FLYSAnnotation; | 18 import de.intevation.flys.jfree.FLYSAnnotation; |
102 /** The output stream where the data should be written to.*/ | 103 /** The output stream where the data should be written to.*/ |
103 protected OutputStream out; | 104 protected OutputStream out; |
104 | 105 |
105 /** The CallContext object.*/ | 106 /** The CallContext object.*/ |
106 protected CallContext context; | 107 protected CallContext context; |
108 | |
109 protected FLYSArtifactCollection collection; | |
107 | 110 |
108 /** The artifact that is used to decorate the chart with meta information.*/ | 111 /** The artifact that is used to decorate the chart with meta information.*/ |
109 protected Artifact master; | 112 protected Artifact master; |
110 | 113 |
111 /** The settings that should be used during output creation.*/ | 114 /** The settings that should be used during output creation.*/ |
693 this.master = master; | 696 this.master = master; |
694 } | 697 } |
695 | 698 |
696 | 699 |
697 @Override | 700 @Override |
701 public void setCollection(FLYSArtifactCollection collection) { | |
702 this.collection = collection; | |
703 } | |
704 | |
705 | |
706 @Override | |
698 public void setSettings(Settings settings) { | 707 public void setSettings(Settings settings) { |
699 this.settings = settings; | 708 this.settings = settings; |
700 } | 709 } |
701 | 710 |
702 | 711 |