uDig

«  Operations   ::   Contents   ::   Utility Classes  »

Implementing a Service

Start by copying a good example:

The following extension points are to be extended by your plugin:

Extention

Shapefile

PostGIS

Notes

net.refractions.udig.catalog.ui.connectionFactory

x

Data Wizard Page, parameters for connecting to datastore

net.refractions.udig.catalog.ui.fileFormat

x

This extension point just sets the file extension of your datastore

net.refractions.udig.catalog.ServiceExtention

x

x

Create datastore from connection parameters

“Settings Panel”

x

Preference page, optional

The Shapefile plugin has a preferences page, which is not a mandatory part of a datastore plugin, so for a start you won’t necessary need that.

You are going to have to implement (by rewriting the copy of) a couple of the core classes:

The “CSV Tutorial” from the training course covers all these steps, the source code is available from svn here:

«  Operations   ::   Contents   ::   Utility Classes  »