First I have a question about a method in the TaskFrame class, then I
have a suggestion.

The TaskFrame class contains the following method:

    public TaskFrame getTaskFrame()
    {
        return this;
    }

Why would you need a method like this? If you already have a reference
to the TaskFrame why would you need to ask this method for another
reference? You already have a reference if you are calling this
method...

This is probably on of Jon Aquino's tricks that I don't know about. :]

Here is my suggestion for a change to the core:

I'd like to make the WorkbenchFrame.handleThrowable method available
from the PlugInContext class. This will allow plug-ins to throw an
exception trough the proper channel if using the
WorkbenchFrame.warnuser method doesn't do what they need.

This would also allow us to add global exception handling code to OpenJUMP.

Any comments on this?

The Sunburned Surveyor

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to