So we actually got hit by a second bug here; the WFSDataStoreFactory in 
GeoTools thinks thinks it can handle a WMS URL. As such we then think we got 
two wizard pages that can do the job and we stop.

1) Bug reported here
- http://jira.codehaus.org/browse/UDIG-1823
- http://jira.codehaus.org/browse/GEOT-3890

2) I experimented with creating a "short list" of descriptors that think they 
can handle the DnD response. I would like it if we could make the selection 
page show only those pages (or make them bold; or something)
- I got stuck; while I could update the "DataSourceSelectionState" code to 
correctly shortlist; the DataStoreSelectionPage seems to create its controls 
prior to the state getting run (in a background thread). This is why the 
DataStoreSelectionPage does not select the first "working" wizard page (even 
though the code is in there for that).

So if we can untangle this relationship to ensure that the 
DataSourceSelectionState is run before DataStoreSelectionPage controls are 
created then we will have a much better DnD experience.
1. User will DnD a URL
2. The SelectionPage will only list those pages that work with the content used 
for the DnD.
3. There will be less thinking; and less of an impression that the DnD "does 
not work"

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

Reply via email to