Mercurial > dive4elements > river
comparison flys-client/src/main/java/de/intevation/flys/client/client/ui/chart/ChartOutputTab.java @ 1555:c057ef91b268
Refactored Collection reference out of Panels.
flys-client/trunk@3794 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Fri, 27 Jan 2012 13:02:38 +0000 |
parents | cfe88143ee89 |
children | 637481aeae43 |
comparison
equal
deleted
inserted
replaced
1554:ae25566ce6f6 | 1555:c057ef91b268 |
---|---|
134 hLayout.addMember(right); | 134 hLayout.addMember(right); |
135 | 135 |
136 // Output "cross_section" needs slightly modified ThemePanel | 136 // Output "cross_section" needs slightly modified ThemePanel |
137 // (with action buttons). | 137 // (with action buttons). |
138 if (mode.getName().equals("cross_section")) { | 138 if (mode.getName().equals("cross_section")) { |
139 ctp = new CrossSectionChartThemePanel(collection, mode, this.view); | 139 ctp = new CrossSectionChartThemePanel(mode, this.view); |
140 } | 140 } |
141 else { | 141 else { |
142 ctp = new ChartThemePanel(collection, mode, this.view); | 142 ctp = new ChartThemePanel(mode, this.view); |
143 } | 143 } |
144 | 144 |
145 ctp.addRedrawRequestHandler(this); | 145 ctp.addRedrawRequestHandler(this); |
146 ctp.addOutputParameterChangeHandler(this); | 146 ctp.addOutputParameterChangeHandler(this); |
147 | 147 |