Larry,

Thanks for the quick response. That was very helpful. I'll take a
closer look at that XML file.

I took a look at the Javadoc for both the PlugInContext and the
WorkbenchContext classes. It appears as though the WorkbenchContext
allows access to the main elements of OpenJUMP's GUI, while the
PlugInContext provides access to some of additional objects. I'm
betting the PlugInContext simple calls a lot of the methods of the
WorkbenchContext class from within its own methods.

Do I understand the distinction you are trying to make between the two
classes correctly?

The Sunburned Surveyor




On 9/12/06, Larry Becker <[EMAIL PROTECTED]> wrote:
> Hi Sunburned,
>
>    The Workbench blackboard is serialized as workbench-state.xml.  Layer
> blackboards are not serialized.
>
>   PlugInContext is a "snapshot", whereas WorkbenchContext is "current" e.g.,
> the
> currently active window
>
> regards,
> Larry
>
>
> On 9/12/06, Sunburned Surveyor <[EMAIL PROTECTED]> wrote:
> >
> I've had some more time to work with the CursorTool code, and I have a
> couple questions about Blackboard objects that came up. I was hoping
> you guys might be able to help me out.
>
> [1] Both the JUMPWorkbench and WorkbenchContect classes define a
> getBlackboard() method. (The WorkbenchContext version returns null.)
>
> I'm confused about when the WorkbenchContext class would return a
> Blackboard different than the one you can obtain through the
> JUMPWorkbench class. When would this occur?
>
> [2] What is the best way to serialize or store on disk the contents of
> a Blackboard object? I didn't see a built-in method for this.
> (Although it appears the setProperties method is used in some way to
> set the values of the Blackboard after they have been parsed from an
> XML file using Java2XML.) Could we add methods that read and write a
> Blackboard object from disk?
>
> [3] The JUMPWorkbench.getBlackboard() method appears to return a
> Blackboard object that contains configuration information for that
> instance of JUMP/OpenJUMP. Is this correct? (I assume it is because it
> appears that the AbstractCursorTool class is accessing snap behavior
> settings stored in this Blackboard.)
>
> If this is correct, where are the configurations stored? Are the
> stored as part of the JMP file? Can these settings be acces through
> the GUI by the user? (I didn't see a GUI element that allowed this.)
>
> Thanks for the help.
>
> The Sunburned Surveyor
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
>
> _______________________________________________
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>
>
>

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to