/[schmitzm]/branches/2.0-RC1/src/skrueger/geotools/selection/FeatureMapLayerSelectionSynchronizer.java
ViewVC logotype

Diff of /branches/2.0-RC1/src/skrueger/geotools/selection/FeatureMapLayerSelectionSynchronizer.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 491 by alfonx, Fri Oct 23 12:57:15 2009 UTC revision 492 by alfonx, Fri Oct 23 13:49:49 2009 UTC
# Line 381  public class FeatureMapLayerSelectionSyn Line 381  public class FeatureMapLayerSelectionSyn
381                  if (e.getSourceObject() != this.mapPane)                  if (e.getSourceObject() != this.mapPane)
382                          return;                          return;
383    
                 FeatureSelectedEvent fse = (FeatureSelectedEvent) e;  
384    
385                  /**                  /**
386                   * Checking, that the FeatureSelectedEvent actually contains features                   * Checking, that the FeatureSelectedEvent actually contains features
387                   * from this layer                   * from this layer
388                   */                   */
389                    FeatureSelectedEvent fse = (FeatureSelectedEvent) e;
390                  final String sourceID = fse.getSourceLayer().getTitle();                  final String sourceID = fse.getSourceLayer().getTitle();
391                  final String syncForID = mapLayer.getTitle();                  final String syncForID = mapLayer.getTitle();
392                  if (sourceID != null && syncForID != null                  if (sourceID != null && syncForID != null

Legend:
Removed from v.491  
changed lines
  Added in v.492

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26