Mercurial > dive4elements > river
comparison flys-client/src/main/java/de/intevation/flys/client/client/ui/CollectionView.java @ 75:571843833129
Added a panel that will be used to display chart output.
flys-client/trunk@1578 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Mon, 28 Mar 2011 07:55:39 +0000 |
parents | c5586446f3c0 |
children | 5b5ec0403844 |
comparison
equal
deleted
inserted
replaced
74:c5586446f3c0 | 75:571843833129 |
---|---|
304 * | 304 * |
305 * @param name The name and title of the output. | 305 * @param name The name and title of the output. |
306 */ | 306 */ |
307 protected void addOutputTab(String name, OutputMode out) { | 307 protected void addOutputTab(String name, OutputMode out) { |
308 GWT.log("Add new output tab for '" + name + "'"); | 308 GWT.log("Add new output tab for '" + name + "'"); |
309 OutputTab tab = new OutputTab(name, getCollection(), out); | 309 |
310 // TODO Source this out to a factory that creates the different | |
311 // OutputTabs. | |
312 OutputTab tab = new ChartOutputTab(name, getCollection(), out); | |
310 outputTabs.put(name, tab); | 313 outputTabs.put(name, tab); |
311 } | 314 } |
312 | 315 |
313 | 316 |
314 /** | 317 /** |