Mercurial > dive4elements > river
diff flys-client/src/main/java/de/intevation/flys/client/client/ui/map/MapToolbar.java @ 880:22dc88b17253
Added tooltips for the maptoolbar.
flys-client/trunk@2709 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Tue, 13 Sep 2011 04:49:10 +0000 |
parents | dcecdd9693a8 |
children | cf0f906921de |
line wrap: on
line diff
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/map/MapToolbar.java Mon Sep 12 15:14:45 2011 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/map/MapToolbar.java Tue Sep 13 04:49:10 2011 +0000 @@ -202,6 +202,8 @@ } }); + zoomToMax.setTooltip(MSG.zoomMaxExtent()); + return zoomToMax; } @@ -224,7 +226,9 @@ }; ImgButton button = createToggleButton(MSG.zoom_in(), cmd); - Map map = getMap(); + button.setTooltip(MSG.zoomIn()); + + Map map = getMap(); map.addControl(zoomBox); return button; @@ -243,6 +247,8 @@ } }); + zoomOut.setTooltip(MSG.zoomOut()); + return zoomOut; } @@ -266,6 +272,7 @@ }; final ImgButton button = createToggleButton(MSG.pan(), cmd); + button.setTooltip(MSG.moveMap()); return button; } @@ -332,6 +339,7 @@ }; ImgButton button = createToggleButton(MSG.selectFeature(), cmd); + button.setTooltip(MSG.selectObject()); return button; } @@ -361,6 +369,8 @@ } }); + remove.setTooltip(MSG.removeObject()); + return remove; }