Paul Pfeiffer created UDIG-1867:
-----------------------------------
Summary: Layer adapt to a GeoResource
Key: UDIG-1867
URL: https://jira.codehaus.org/browse/UDIG-1867
Project: uDIG
Issue Type: New Feature
Components: catalog, metadata and search
Affects Versions: UDIG 1.3.x
Reporter: Paul Pfeiffer
Assignee: Jody Garnett
I would like Layer to be adaptable to a GeoResource so that I can easily work
with layers from a catalog view.
public class LayerImpl extends EObjectImpl implements Layer {
....
public Object getAdapter( final Class adapter ) {
// Used to allow workbench selection to adapt an
// ILayer to a IGeoResource - this allows catalog views
// to interact with ILayer smoothly
if( IGeoResource.class.isAssignableFrom( adapter)){
return getGeoResource();
}
...
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel