Re: [JPP-Devel] Help identifying problem with PlugInContext.getLayerManager method...

2007-09-25 Thread Sunburned Surveyor
Paul, I didn't realize that I need to set the plug-in context in the execute() method and not in the initialize() method. I will make that change. I wonder why I wasn't getting a null-pointer exception when my code executed. Is it because I am inside the event-dispatch thread? Thanks for the hel

Re: [JPP-Devel] Help identifying problem with PlugInContext.getLayerManager method...

2007-09-25 Thread Paul Austin
Hi Landon, you're using this.plugin.getPluginContext(), where did you set the plug-in context for that plug-in, if you set it in the initialize method then a whole bunch of things will be null. If you set it in execute then you can be fine. The other option is to get a new plugin context from the

[JPP-Devel] Help identifying problem with PlugInContext.getLayerManager method...

2007-09-25 Thread Sunburned Surveyor
I'm in the process of tracking down and eliminating bugs in my Super Select Tool. I've got a problem in the method that sets the initial state of the components that are part of the tool's configuration dialog. It seems that my code never returns from the PlugInContext.getLayerManager method. I kn