Re: [JPP-Devel] Understanding the purpose of the Extension class in OpenJUMP.

2007-08-09 Thread Martin Davis
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


Re: [JPP-Devel] Understanding the purpose of the Extension class in OpenJUMP.

2007-08-09 Thread Sunburned Surveyor
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


[JPP-Devel] PostGIS 1.1.0 jar in lib folder (@Paolo)

2007-08-09 Thread Stefan Steiniger
Hi Paolo and others,

- Do you require the postgis 1.1.0 library that is shipped with OJ for 
your plugin?
- Do you use the postgresXX library as well?

i think about removing the first, the second is needed by some code.

stefan


-
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


Re: [JPP-Devel] Build Errors From QueryDialog?

2007-08-09 Thread Paul Austin
Landon,

This is due to a version upgrade in buoy, make sure you have version 1.8 
of buoy, the core/trunk has version 1.8 in the lib folder.

Paul

Sunburned Surveyor wrote:
> I'm trying to build the latest OpenJUMP source code from the SVN trunk
> so I can give my pluggable rendering system a spin. I seem to be
> getting a build error from the QueryDialog class. It looks like the
> initInternal method references a local variable called lastSize that
> isn't declared or defined.
>
> Has anyone else noticed this problem, or did I just mess something up?
> I'm a little confused, because it seems that the nightly builds are
> working just fine.
>
> I haven't been dorking around in the QueryDialog class, so I don't
> think I inadvertantly deleted the lastSize declaration. It looks like
> the last change to this class in the SVN was 5 weeks ago by Michael
> Michaud. The note said something about modifications to be compatible
> with a new version of the Bouy library.
>
> Thanks for the help.
>
> 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
>   

-
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


[JPP-Devel] Build Errors From QueryDialog?

2007-08-09 Thread Sunburned Surveyor
I'm trying to build the latest OpenJUMP source code from the SVN trunk
so I can give my pluggable rendering system a spin. I seem to be
getting a build error from the QueryDialog class. It looks like the
initInternal method references a local variable called lastSize that
isn't declared or defined.

Has anyone else noticed this problem, or did I just mess something up?
I'm a little confused, because it seems that the nightly builds are
working just fine.

I haven't been dorking around in the QueryDialog class, so I don't
think I inadvertantly deleted the lastSize declaration. It looks like
the last change to this class in the SVN was 5 weeks ago by Michael
Michaud. The note said something about modifications to be compatible
with a new version of the Bouy library.

Thanks for the help.

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


Re: [JPP-Devel] Build Errors From QueryDialog?

2007-08-09 Thread Sunburned Surveyor
Thanks for that tip Paul. I will check it out.

The Sunburned Surveyor

On 8/9/07, Paul Austin <[EMAIL PROTECTED]> wrote:
> Landon,
>
> This is due to a version upgrade in buoy, make sure you have version 1.8
> of buoy, the core/trunk has version 1.8 in the lib folder.
>
> Paul
>
> Sunburned Surveyor wrote:
> > I'm trying to build the latest OpenJUMP source code from the SVN trunk
> > so I can give my pluggable rendering system a spin. I seem to be
> > getting a build error from the QueryDialog class. It looks like the
> > initInternal method references a local variable called lastSize that
> > isn't declared or defined.
> >
> > Has anyone else noticed this problem, or did I just mess something up?
> > I'm a little confused, because it seems that the nightly builds are
> > working just fine.
> >
> > I haven't been dorking around in the QueryDialog class, so I don't
> > think I inadvertantly deleted the lastSize declaration. It looks like
> > the last change to this class in the SVN was 5 weeks ago by Michael
> > Michaud. The note said something about modifications to be compatible
> > with a new version of the Bouy library.
> >
> > Thanks for the help.
> >
> > 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
> >
>
> -
> 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