Mercurial > dive4elements > river
comparison flys-client/src/main/java/de/intevation/flys/client/client/ui/chart/ChartToolbar.java @ 2926:59491a730461
New i18n for WSP editor.
flys-client/trunk@4824 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Thu, 28 Jun 2012 14:34:54 +0000 |
parents | 6461b8dbe093 |
children | f978058dc835 |
comparison
equal
deleted
inserted
replaced
2925:6461b8dbe093 | 2926:59491a730461 |
---|---|
75 panControl = new PanControl(chartTab, MSG.pan()); | 75 panControl = new PanControl(chartTab, MSG.pan()); |
76 chartProperties = new ImgButton(); | 76 chartProperties = new ImgButton(); |
77 addPoints = new Button(MSG.points()); | 77 addPoints = new Button(MSG.points()); |
78 | 78 |
79 if (this.chartTab.getMode().getName().equals("cross_section")) { | 79 if (this.chartTab.getMode().getName().equals("cross_section")) { |
80 addWSP = new Button(MSG.addWSP()); | 80 addWSP = new Button(MSG.addWSPButton()); |
81 addWSP.setTooltip(MSG.addPointsTooltip()); | 81 addWSP.setTooltip(MSG.addPointsTooltip()); |
82 final ChartOutputTab finalChartTab = chartTab; | 82 final ChartOutputTab finalChartTab = chartTab; |
83 addWSP.addClickHandler(new ClickHandler() { | 83 addWSP.addClickHandler(new ClickHandler() { |
84 public void onClick(ClickEvent ce) { | 84 public void onClick(ClickEvent ce) { |
85 new ManualWSPEditor(finalChartTab.getView().getCollection(), | 85 new ManualWSPEditor(finalChartTab.getView().getCollection(), |
246 addMember(panControl); | 246 addMember(panControl); |
247 addMember(chartProperties); | 247 addMember(chartProperties); |
248 addMember(addPoints); | 248 addMember(addPoints); |
249 | 249 |
250 if (this.chartTab.getMode().getName().equals("cross_section")) { | 250 if (this.chartTab.getMode().getName().equals("cross_section")) { |
251 // TODO i18n manual wsp | |
252 addMember(addWSP); | 251 addMember(addWSP); |
253 } | 252 } |
254 | 253 |
255 addMember(spacer); | 254 addMember(spacer); |
256 addMember(position); | 255 addMember(position); |