Re: [JPP-Devel] registering a new DataStore

2009-06-05 Thread Paolo Rizzi
Inside a plugin: public void initialize(PlugInContext context) throws Exception { super.initialize(context); context.getWorkbenchContext().getRegistry().createEntry( DataStoreDriver

Re: [JPP-Devel] registering a new DataStore

2009-06-05 Thread Larry Becker
PostGIS seems to be registered at: com.vividsolutions.jump.workbench.JUMPConfiguration#configureDatastores() The wiki was down for me. regards, Larry On Fri, Jun 5, 2009 at 2:20 PM, Sunburned Surveyor < sunburned.surve...@gmail.com> wrote: > Christopher, > > This page on our wiki might help: >

Re: [JPP-Devel] registering a new DataStore

2009-06-05 Thread Stefan Steiniger
Hei Christopher, I am not sure if I understand right, so if you click on the data store layer icon from the open menu, a new dialog is shown in the right window. In this dialog there is a small button to setup the connection. click on that and a new dialog opens. Sometimes the easiest way to se

Re: [JPP-Devel] registering a new DataStore

2009-06-05 Thread Sunburned Surveyor
Christopher, This page on our wiki might help: http://www.openjump.org/wiki/show/How+to+write+a+new+driver I will point out that you only have to register a DataStore if you want to integrate your plug-in with the standard File>Open dialog box. I implement DataStore, but then integrate my plug-i

[JPP-Devel] registering a new DataStore

2009-06-05 Thread Christopher
I have the code for the H2 datastore written, but not tested because I can't figure out how to get a plugin to register a new DataStore. Where is the hook to register a new DataStore? In other words, if you do Open-->DataStore then click the new DataStore icon, how can you get other DataStores