Re: [JPP-Devel] Obtaining a reference to the JUMPWorkbench object.

2007-03-16 Thread Sunburned Surveyor
Larry, That makes sense. I'll have to track down the location where the RenderingManager is currently initialized. Thank you for your help with this. SS On 3/16/07, Larry Becker <[EMAIL PROTECTED]> wrote: You must instantiate the new class object inside a class that has that visibility. Thi

Re: [JPP-Devel] Obtaining a reference to the JUMPWorkbench object.

2007-03-16 Thread Larry Becker
You must instantiate the new class object inside a class that has that visibility. This can always be arranged somehow. Larry On 3/16/07, Sunburned Surveyor <[EMAIL PROTECTED]> wrote: Larry, I can do what you suggest, but how do I obtain the reference to the JUMPWorkbench to set the value of

Re: [JPP-Devel] Obtaining a reference to the JUMPWorkbench object.

2007-03-16 Thread Sunburned Surveyor
Larry, I can do what you suggest, but how do I obtain the reference to the JUMPWorkbench to set the value of the private variable? For example: JUMPWorkbench thisWorkbench = ??? The Sunburned Surveyor On 3/16/07, Larry Becker <[EMAIL PROTECTED]> wrote: If it is your own class, you have a so

Re: [JPP-Devel] Obtaining a reference to the JUMPWorkbench object.

2007-03-16 Thread Larry Becker
If it is your own class, you have a solution. Create a method (usually the constructor) that sets a private variable. Invoke the method when you initialize the class. Just remember that there are multiple Tasks and Frames. Larry On 3/16/07, Sunburned Surveyor <[EMAIL PROTECTED]> wrote: That

Re: [JPP-Devel] Obtaining a reference to the JUMPWorkbench object.

2007-03-16 Thread Sunburned Surveyor
That really sucks. There has got to be a way to fix that. I'll have to take a look at my code to figure out a way around this. :[ Thanks Larry. The Sunburned Surveyor On 3/16/07, Larry Becker <[EMAIL PROTECTED]> wrote: The answer depends on the class. In some cases there is no way. regard

Re: [JPP-Devel] Obtaining a reference to the JUMPWorkbench object.

2007-03-16 Thread Larry Becker
The answer depends on the class. In some cases there is no way. regards, Larry On 3/16/07, Sunburned Surveyor <[EMAIL PROTECTED]> wrote: I'm doing some final tweaks on my pluggable rendering system for OpenJUMP. I need to know how to obtain a reference to the JUMPWorkbench from inside another

[JPP-Devel] Obtaining a reference to the JUMPWorkbench object.

2007-03-16 Thread Sunburned Surveyor
I'm doing some final tweaks on my pluggable rendering system for OpenJUMP. I need to know how to obtain a reference to the JUMPWorkbench from inside another class in the core. (I can't use the plug-in context because I'm not making my changes in a plug-in.) Thanks in advance for the help. The Su