Mercurial > dive4elements > river
comparison flys-client/src/main/java/de/intevation/flys/client/client/ui/chart/ChartToolbar.java @ 1587:45cd2364adad
Issue 466.
CSV export for activated chart themes.
flys-client/trunk@3875 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Thu, 02 Feb 2012 11:14:40 +0000 |
parents | 2432973ccced |
children | 3c8ae5605a51 |
comparison
equal
deleted
inserted
replaced
1586:dbdf954dbe94 | 1587:45cd2364adad |
---|---|
33 protected Canvas downloadPNG; | 33 protected Canvas downloadPNG; |
34 | 34 |
35 protected Canvas downloadPDF; | 35 protected Canvas downloadPDF; |
36 | 36 |
37 protected Canvas downloadSVG; | 37 protected Canvas downloadSVG; |
38 | |
39 protected Canvas downloadCSV; | |
38 | 40 |
39 protected MousePositionPanel position; | 41 protected MousePositionPanel position; |
40 | 42 |
41 protected ZoomboxControl zoombox; | 43 protected ZoomboxControl zoombox; |
42 | 44 |
99 baseUrl + MSG.downloadSVG(), | 101 baseUrl + MSG.downloadSVG(), |
100 chartTab.getExportUrl(1280, 1024, "svg"), | 102 chartTab.getExportUrl(1280, 1024, "svg"), |
101 20, | 103 20, |
102 20); | 104 20); |
103 | 105 |
106 downloadCSV = new ImgLink( | |
107 baseUrl + MSG.downloadCSV(), | |
108 chartTab.getExportUrl(-1, -1, "csv"), | |
109 20, | |
110 20); | |
111 | |
104 zoomToMaxExtent.setSrc(baseUrl + MSG.zoom_all()); | 112 zoomToMaxExtent.setSrc(baseUrl + MSG.zoom_all()); |
105 adjustImageButton(zoomToMaxExtent); | 113 adjustImageButton(zoomToMaxExtent); |
106 zoomToMaxExtent.addClickHandler(new ClickHandler() { | 114 zoomToMaxExtent.addClickHandler(new ClickHandler() { |
107 public void onClick(ClickEvent event) { | 115 public void onClick(ClickEvent event) { |
108 getChartOutputTab().resetRanges(); | 116 getChartOutputTab().resetRanges(); |
183 | 191 |
184 addMember(datacage); | 192 addMember(datacage); |
185 addMember(downloadPNG); | 193 addMember(downloadPNG); |
186 addMember(downloadPDF); | 194 addMember(downloadPDF); |
187 addMember(downloadSVG); | 195 addMember(downloadSVG); |
196 addMember(downloadCSV); | |
188 addMember(zoomToMaxExtent); | 197 addMember(zoomToMaxExtent); |
189 addMember(historyBack); | 198 addMember(historyBack); |
190 addMember(zoomOut); | 199 addMember(zoomOut); |
191 addMember(zoombox); | 200 addMember(zoombox); |
192 addMember(panControl); | 201 addMember(panControl); |