Thanks for the information Martin. The section of the JUMP Developer
Manual on Extensions was put together very well. After I read through
that section and took a peek at the Javadoc it made sense.

The Sunburned Surveyor

On 8/9/07, Martin Davis <[EMAIL PROTECTED]> wrote:
> You got it bang on, SS.  Extensions are intended as an easy way to add
> arbitrary functionality to JUMP, with full programmatic control of the
> configuration.
>
> Note that as well as plugin classes, extensions may also add items to
> the Registry, and new I/O drivers.
>
> Sunburned Surveyor wrote:
> > I'm trying to figure out the best way to package the "built-in" or
> > "default" pluggable renderers into OpenJUMP using my pluggable
> > rendering system. I think I can do this with an Extension, but I want
> > to make sure that I understand the purpose of an Extension first, so I
> > don't use it improperly.
> >
> > The JUMP Developer Guide says that: "An extension is a collection of
> > classes and supporting resources that provides additional
> > functionality to JUMP…The JUMP Workbench will search the JAR file for
> > subclasses of Extension. (Note: They must also be named "…Extension").
> > It will then call the #configure method on each Extension class if
> > finds."
> >
> > It also contains this example:
> >
> > package example;
> >
> > import com.vividsolutions.jump.workbench.plugin.Extension;
> > import com.vividsolutions.jump.workbench.plugin.PlugInContext;
> >
> > public class MyExtension extends Extension{
> >
> >   public void configure(PlugInContext context) throws Exception{
> >     new HelloWorldPlugIn().initialize(context);
> >   }
> > }
> >
> > It seems to me the purpose of the Extension Class is to provide a
> > container that allows for the easy installation and configuration of a
> > set of plug-ins and cursor tools. Is this correct?
> >
> > If this is the case I think I can use an Extension to configure and
> > install my "built-in" pluggable renderers as a group.
> >
> > Thanks,
> >
> > The Sunburned Surveyor
> >
> > -------------------------------------------------------------------------
> > This SF.net email is sponsored by: Splunk Inc.
> > Still grepping through log files to find problems?  Stop.
> > Now Search log events and configuration files using AJAX and a browser.
> > Download your FREE copy of Splunk now >>  http://get.splunk.com/
> > _______________________________________________
> > Jump-pilot-devel mailing list
> > Jump-pilot-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
> >
> >
>
> --
> Martin Davis
> Senior Technical Architect
> Refractions Research, Inc.
> (250) 383-3022
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> _______________________________________________
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to