diff flys-client/src/main/java/de/intevation/flys/client/client/ui/chart/ChartOutputTab.java @ 1474:0ba23e6fef0c

Refactored, set collectionview in Themepanels constructors. flys-client/trunk@3519 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Thu, 22 Dec 2011 08:58:33 +0000
parents e125f889cf2f
children 2f0150f21e77
line wrap: on
line diff
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/chart/ChartOutputTab.java	Thu Dec 22 08:53:15 2011 +0000
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/chart/ChartOutputTab.java	Thu Dec 22 08:58:33 2011 +0000
@@ -134,12 +134,11 @@
         // Output "cross_section" needs slightly modified ThemePanel
         // (with action buttons).
         if (mode.getName().equals("cross_section")) {
-            ctp = new CrossSectionChartThemePanel(collection, mode);
+            ctp = new CrossSectionChartThemePanel(collection, mode, this.view);
         }
         else {
-            ctp = new ChartThemePanel(collection, mode);
+            ctp = new ChartThemePanel(collection, mode, this.view);
         }
-        ctp.setCollectionView(this.view);
 
         ctp.addRedrawRequestHandler(this);
         ctp.addOutputParameterChangeHandler(this);

http://dive4elements.wald.intevation.org