// got a hit!
WWService service = (WWService) handle;
return service.getConnectionParams();
}
else if (handle instanceof WWGeoResource ){
WWGeoResource geoResource = (WWGeoResource) handle;
WWService service;
try {
service = (WWService) geoResource.service(new NullProgressMonitor());
return service.getConnectionParams();
} catch (IOException e) {
checkedURL(geoResource.getIdentifier());
}
}
else if(handle.canResolve(LayerSet.class)){
// must be some kind of handle from a search!
return createParams(handle.getIdentifier());