comparison 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
comparison
equal deleted inserted replaced
1473:71ba43bd0e3f 1474:0ba23e6fef0c
132 hLayout.addMember(right); 132 hLayout.addMember(right);
133 133
134 // Output "cross_section" needs slightly modified ThemePanel 134 // Output "cross_section" needs slightly modified ThemePanel
135 // (with action buttons). 135 // (with action buttons).
136 if (mode.getName().equals("cross_section")) { 136 if (mode.getName().equals("cross_section")) {
137 ctp = new CrossSectionChartThemePanel(collection, mode); 137 ctp = new CrossSectionChartThemePanel(collection, mode, this.view);
138 } 138 }
139 else { 139 else {
140 ctp = new ChartThemePanel(collection, mode); 140 ctp = new ChartThemePanel(collection, mode, this.view);
141 } 141 }
142 ctp.setCollectionView(this.view);
143 142
144 ctp.addRedrawRequestHandler(this); 143 ctp.addRedrawRequestHandler(this);
145 ctp.addOutputParameterChangeHandler(this); 144 ctp.addOutputParameterChangeHandler(this);
146 145
147 chart = createChartImg(); 146 chart = createChartImg();

http://dive4elements.wald.intevation.org