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 |