[Schmitzm-commits] r109 - trunk/src/skrueger/geotools/selection
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Tue May 12 15:14:26 CEST 2009
Author: mojays
Date: 2009-05-12 15:14:26 +0200 (Tue, 12 May 2009)
New Revision: 109
Modified:
trunk/src/skrueger/geotools/selection/FeatureMapLayerSelectionSynchronizer.java
Log:
SelectionSynchronizer must ignore SelectionEvents coming from FilterDialog
Modified: trunk/src/skrueger/geotools/selection/FeatureMapLayerSelectionSynchronizer.java
===================================================================
--- trunk/src/skrueger/geotools/selection/FeatureMapLayerSelectionSynchronizer.java 2009-05-12 12:24:24 UTC (rev 108)
+++ trunk/src/skrueger/geotools/selection/FeatureMapLayerSelectionSynchronizer.java 2009-05-12 13:14:26 UTC (rev 109)
@@ -226,7 +226,11 @@
// LOGGER.debug("Ignoring event " + e);
return;
}
-
+ // only listen to events directly coming from JMapPane
+ // selection (ignore selections from FilterDialog)
+ if ( e.getSourceObject() != this.mapPane )
+ return;
+
FeatureSelectedEvent fse = (FeatureSelectedEvent) e;
// LOGGER.debug("Do event " + fse);
// LOGGER.debug("Do event " + fse.getSelectionResult());
More information about the Schmitzm-commits
mailing list