Hi *,
Each instance of SRIDStyle adds one LayerListener to the LayerManager ( and
does not remove it, when its layer is removed, I guess).
My understanding is that each Layer has it own SRIDStyle ( and exactly one, if
I read EnsureAllLayersHaveSRIDStylePlugIn.ensureHasSRIDStyle correctly ) and
that each LayerListener is called when LayerManager.fireFeaturesChanged is
called.
So if there are 10 Layers and one Feature of Layer X is changed then 10
LayerListener are executed and each LayerListener change the Srid of the
Geometry of the changed Feature. The Srid of the feature after that, is the
Srid of the last LayerListener of the ArrayList LayerManager.layerListeners.
The "easiest" change would be that the sridstyle knows its layer and only
changes the srid of FeatureEvent where the layer matches its own.
Any opinons about that "issue"?
regards,
Volker
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Jump-pilot-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel