Postgis dependency is used in the BasicHotLinkResolveFactory class. I don't really understand why it is used at all. IF anything I think this should reference IGeoResource not a PostgisGeoResource

Emily

 @Override
public boolean canAdapt(IResolve resolve, Class<? extends Object> adapter) {
        if (resolve instanceof PostgisGeoResource2) {
            if (adapter.isAssignableFrom(IHotlinkSource.class)) {
                return true;
            }
        }
        return false;
    }


On 12/19/2012 5:49 AM, Jody Garnett wrote:
Not sure why they depend on postgis? The shapefile one should be a
dependency (but optional). Should look at why the postgis one is
required (it may just be a mistake).

--
Jody Garnett

On Wednesday, 19 December 2012 at 10:16 AM, Emily Gouge wrote:

I would like to use the net.refractions.udig.info
<http://net.refractions.udig.info> plugin with my
application however I don't want users to have the ability to access to
postgis database, so I don't want to have to include
net.refractions.udig.catalog.postgis plugin which is required by the
info plugin.

The same goes for the net.refractions.udig.catalog.shp plugin as well
(but I need this one so it's not as important for me).

Perhaps we could move the BasicHotLinkResolveFactory class into the
postgis catalog plugin?

Thoughts?

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



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

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

Reply via email to