Mercurial > dive4elements > river
comparison flys-client/src/main/java/de/intevation/flys/client/client/ui/chart/ChartToolbar.java @ 1558:eff394f9714a
Fix i18n issues.
flys-client/trunk@3802 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Fri, 27 Jan 2012 13:51:27 +0000 |
parents | cfe88143ee89 |
children | 2432973ccced |
comparison
equal
deleted
inserted
replaced
1557:964e90c5b4c1 | 1558:eff394f9714a |
---|---|
64 zoomToMaxExtent = new ImgButton(); | 64 zoomToMaxExtent = new ImgButton(); |
65 zoomOut = new ImgButton(); | 65 zoomOut = new ImgButton(); |
66 historyBack = new ImgButton(); | 66 historyBack = new ImgButton(); |
67 panControl = new PanControl(chartTab, MSG.pan()); | 67 panControl = new PanControl(chartTab, MSG.pan()); |
68 chartProperties = new ImgButton(); | 68 chartProperties = new ImgButton(); |
69 addPoints = new Button("Points"); | 69 addPoints = new Button(MSG.points()); |
70 | 70 |
71 addPoints.addClickHandler(new ClickHandler() { | 71 addPoints.addClickHandler(new ClickHandler() { |
72 public void onClick(ClickEvent event) { | 72 public void onClick(ClickEvent event) { |
73 openPointWindow(); | 73 openPointWindow(); |
74 } | 74 } |
206 } | 206 } |
207 | 207 |
208 | 208 |
209 /** Open editor for custom points. */ | 209 /** Open editor for custom points. */ |
210 protected void openPointWindow() { | 210 protected void openPointWindow() { |
211 new ManualPointsEditor(chartTab.getCollection(), | 211 new ManualPointsEditor(chartTab.getView().getCollection(), |
212 this.chartTab).show(); | 212 this.chartTab).show(); |
213 } | 213 } |
214 } | 214 } |
215 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : | 215 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : |