I working on the patch to add pluggable renderers to Vivid's JUMP,
based on code that is already in OpenJUMP. Most of my work revolves
around the createRenderer() method of the RenderingMananger class.
This method contains the following Java statements:


if (contentIDToLowRendererFactoryMap.containsKey(contentID)) {
                        return ((Renderer.Factory) 
contentIDToLowRendererFactoryMap
                                        .get(contentID)).create();
                }
                if (contentIDToHighRendererFactoryMap.containsKey(contentID)) {
                        return ((Renderer.Factory) 
contentIDToHighRendererFactoryMap
                                        .get(contentID)).create();
                }

Can someone help me understand the purpose of this code?

I appreciate the help.

The Sunburned Surveyor

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to