Re: [JPP-Devel] Suggest new event for Task creation in OpenJUMP.

2008-01-08 Thread Larry Becker
Hi Sunburned, What code are you referring to specifically? Larry On Jan 7, 2008 2:31 PM, Sunburned Surveyor [EMAIL PROTECTED] wrote: There is some code in OpenJUMP that listens for child components to be added to the Workbench in order to detect when a Task has been added. I think this is

Re: [JPP-Devel] Suggest new event for Task creation in OpenJUMP.

2008-01-08 Thread Sunburned Surveyor
Larry, I ran across this code when I was designing my pluggable rendering system. I realized that JUMP adds renderers to each task frame by listening for task frame creation. It accomplishes this by registering a ContainerListener with the WorkbenchFrame. Everytime a component is added to the

Re: [JPP-Devel] Suggest new event for Task creation in OpenJUMP.

2008-01-08 Thread Sunburned Surveyor
Larry, Thanks for looking at the code in question. You wrote: I followed the code in InstallRendererPlugIn, but never found an actual listener that invokes it. I may not understand how the code is working. I thought that the initialize method of the InstallRendererClass registered a

[JPP-Devel] Suggest new event for Task creation in OpenJUMP.

2008-01-07 Thread Sunburned Surveyor
There is some code in OpenJUMP that listens for child components to be added to the Workbench in order to detect when a Task has been added. I think this is likely a violation of the separation of GUI and model principle. (Unless we view a task solely as a GUI component.) I wonder if there would