[Schmitzm-commits] r1597 - branches/2.5/schmitzm-gt/src/main/java/de/schmitzm/geotools/gui
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Sun May 29 18:59:15 CEST 2011
Author: alfonx
Date: 2011-05-29 18:59:15 +0200 (Sun, 29 May 2011)
New Revision: 1597
Modified:
branches/2.5/schmitzm-gt/src/main/java/de/schmitzm/geotools/gui/MapPaneToolBar.java
Log:
etwas mehr debug an einer komicshen stelle wegen ex report
Modified: branches/2.5/schmitzm-gt/src/main/java/de/schmitzm/geotools/gui/MapPaneToolBar.java
===================================================================
--- branches/2.5/schmitzm-gt/src/main/java/de/schmitzm/geotools/gui/MapPaneToolBar.java 2011-05-29 16:59:07 UTC (rev 1596)
+++ branches/2.5/schmitzm-gt/src/main/java/de/schmitzm/geotools/gui/MapPaneToolBar.java 2011-05-29 16:59:15 UTC (rev 1597)
@@ -33,6 +33,7 @@
import java.awt.Graphics;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
+import java.net.URL;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.Set;
@@ -321,10 +322,11 @@
XMapPaneTool.ZOOM_OUT), false);
// Action button to revert the last zoom
+ URL zoomBackResource = MapView.class
+ .getResource("resource/icons/zoom_back.png");
addAction(
new MapPaneToolBarAction(ACTION_ZOOM_BACK, this, "",
- new ImageIcon(MapView.class
- .getResource("resource/icons/zoom_back.png")),
+ new ImageIcon(zoomBackResource),
R("MapPaneButtons.LastZoom.TT")), false);
setButtonEnabled(ACTION_ZOOM_BACK, false);
More information about the Schmitzm-commits
mailing list