I am trying to build a ui to capture the paramters to a datastore. A nice feature would be for a paramter to specify whats its allowable values are,

For instance, the indexed shapefile data store contains a paramter that specifies what type of index to create: rtree, quadtree, etc.. However based on the paramter itself, there is no way to infer that these are the allowable values.

So i guess my idea is to add a method to DataStoreFactorySpi.Param that would look like this;

List getAllowableValues() {
        return null;
}

with the default implementation just returning null but allowing subclasses to override if need be.

Not sure if this one will be a big hit, I thought I would throw it out there anyways.

-Justin

--
Justin Deoliveira
The Open Planning Project
http://topp.openplans.org


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to