Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [udig-devel] Doubt on the catalog ConnectionFactory extension

The ConnectionFactory/ServiceExtension duo make me angry and need to be fixed they came into originally the ServiceExtension was there but drag and drop needed more functionality in order to work so ConnectionFactory was created rather than extending ServiceExtension functionality. I want to merge the two into a single class but for now the ConnectionFactory is required for dragging and dropping URLs onto the map.

Jesse

On 22-May-08, at 11:40 AM, Mauro Bartolomeoli wrote:

I'm developing a plugin to implement a new type of layer for Udig 1.1.x. This layer uses a GeoTools DataStore as a source for data, connecting to a custom spatial database. I started "copying" the Postgis plugin, which seems quite similar to the one I need to write. The plugin is now correctly rendering data from the DataStore, without the implementation of a ConnectionFactory (the factory extension has been defined and the related class exists, but I didn't write any meaningful code in it). Now my question is: what's the purpose of the factory extension? Which features of Udig needs it?

Thanks in advance,
Mauro Bartolomeoli


_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel



Back to the top