uDIG
  1. uDIG
  2. UDIG-1867

Layer adapt to a GeoResource

    Details

    • Type: New Feature New Feature
    • Status: Open Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 2.x
    • Fix Version/s: None
    • Labels:
      None

      Description

      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(); }

      ...

        Activity

        There are no entries against this issue.

          People

          • Assignee:
            Jody Garnett
            Reporter:
            Paul Pfeiffer
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: