Hi Andrea,
So what I mean when I say: IGeoResource(GMap) is that the class
returned by members is an IGeoResource that resolves to GMap. It is
acceptable if the IGeoResource is also a GMap and resolves to itself
but for GMaps to be able to be added to maps they have to be
IGeoResources.
So:
LocationService
-> Resolves to Location
-> has members:
MapSetResource
-> Resolves to MapSet
-> has members:
GMapResource
-> resolves to GMap
-> has no members (empty set)
Does that make sense?
Jesse
On 8-Feb-07, at 9:05 AM, Andrea Antonello wrote:
Hi, trying to implement the catalog support for JGrass as discussed:
* IService (Location)
* IGeoResource (MapSet)
* IGeoResource ( GMap )
the problem is that the members(IProgressMonitor monitor) method
of an
IGeoResource returns an IResolve, which forces me to implement some
methods, that I didn't think to need at that point, since I'm finally
analysing the GMaps, i.e. the last resource of the chain, whoch I
would
no more test on canResolve and resolve.
Isn't that the way to nest?
I don't feel good in leaving everything to return null, so I guess
I've
done something wrong...
Also the dispose method makes me nervous :)
Ciao,
Andrea
_______________________________________________
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