MapContent subclass for use by DefaultRenderingExecutor
-------------------------------------------------------

                 Key: GEOT-3804
                 URL: https://jira.codehaus.org/browse/GEOT-3804
             Project: GeoTools
          Issue Type: Sub-task
          Components: swing
            Reporter: Michael Bedward
            Assignee: Michael Bedward
             Fix For: 8.0-M2


When asked to render Layers into separate graphics destinations, 
DefaultRenderingExecutor creates temp MapContent objects to hold each Layer and 
pass it to a renderer. Can't use the existing MapContent class for this because 
failing to call tempMapContent.dispose after rendering generates warnings, 
while calling dispose destroys the Layers.

Create a package-private sub-class, SingleLayerMapContent, which overrides 
dispose and finalize as empty methods. This can then be used to create temp 
instances.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to