[Schmitzm-commits] r117 - in trunk/src/skrueger/geotools: . resource/icons
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Thu May 14 03:15:23 CEST 2009
Author: alfonx
Date: 2009-05-14 03:15:22 +0200 (Thu, 14 May 2009)
New Revision: 117
Modified:
trunk/src/skrueger/geotools/MapPaneToolBar.java
trunk/src/skrueger/geotools/resource/icons/selection_clear.png
Log:
* Selection buttons removed
Modified: trunk/src/skrueger/geotools/MapPaneToolBar.java
===================================================================
--- trunk/src/skrueger/geotools/MapPaneToolBar.java 2009-05-13 17:37:11 UTC (rev 116)
+++ trunk/src/skrueger/geotools/MapPaneToolBar.java 2009-05-14 01:15:22 UTC (rev 117)
@@ -209,38 +209,38 @@
new ImageIcon(MapView.class.getResource("resource/icons/info.png"))
), false );
- // Set Selection
- addTool( new MapPaneToolBarAction(
- TOOL_SELECTION_SET,
- this,
- "",
- new ImageIcon(MapView.class.getResource("resource/icons/selection_set.png"))
- ), false );
-
- // Add Selection
- addTool( new MapPaneToolBarAction(
- TOOL_SELECTION_ADD,
- this,
- "",
- new ImageIcon(MapView.class.getResource("resource/icons/selection_add.png"))
- ), false );
-
- // Remove Selection
- addTool( new MapPaneToolBarAction(
- TOOL_SELECTION_REMOVE,
- this,
- "",
- new ImageIcon(MapView.class.getResource("resource/icons/selection_remove.png"))
- ), false );
+// // Set Selection
+// addTool( new MapPaneToolBarAction(
+// TOOL_SELECTION_SET,
+// this,
+// "",
+// new ImageIcon(MapView.class.getResource("resource/icons/selection_set.png"))
+// ), false );
+//
+// // Add Selection
+// addTool( new MapPaneToolBarAction(
+// TOOL_SELECTION_ADD,
+// this,
+// "",
+// new ImageIcon(MapView.class.getResource("resource/icons/selection_add.png"))
+// ), false );
+//
+// // Remove Selection
+// addTool( new MapPaneToolBarAction(
+// TOOL_SELECTION_REMOVE,
+// this,
+// "",
+// new ImageIcon(MapView.class.getResource("resource/icons/selection_remove.png"))
+// ), false );
+//
+// // ResetSelection
+// addAction( new MapPaneToolBarAction(
+// TOOL_SELECTION_CLEAR,
+// this,
+// "",
+// new ImageIcon(MapView.class.getResource("resource/icons/selection_clear.png"))
+// ), false );
- // ResetSelection
- addAction( new MapPaneToolBarAction(
- TOOL_SELECTION_CLEAR,
- this,
- "",
- new ImageIcon(MapView.class.getResource("resource/icons/selection_clear.png"))
- ), false );
-
// Zoom in
addTool( new MapPaneToolBarAction(
TOOL_ZOOMIN,
@@ -401,6 +401,13 @@
mapPane.refresh();
}
}
+
+ /**
+ * Clear the selection by calling the selection model
+ */
+ if (action == TOOL_SELECTION_CLEAR) {
+ // TODO
+ }
}
Modified: trunk/src/skrueger/geotools/resource/icons/selection_clear.png
===================================================================
(Binary files differ)
More information about the Schmitzm-commits
mailing list