net.refractions.udig.project.geoselection
Class ExampleFeatureGeoSelection

java.lang.Object
  extended by net.refractions.udig.project.geoselection.AbstractGeoSelection
      extended by net.refractions.udig.project.geoselection.ExampleFeatureGeoSelection
All Implemented Interfaces:
IGeoSelection

public class ExampleFeatureGeoSelection
extends AbstractGeoSelection

Example what is a real IGeoSelection.

Author:
Vitalus

Constructor Summary
ExampleFeatureGeoSelection(Feature feature, ILayer layer)
           
 
Method Summary
 java.lang.Object getAdapter(java.lang.Class adapter)
           
 java.util.Iterator iterator()
          Custom implementations of interface can iterate through arbitrary set of objects with "selected" semantic.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExampleFeatureGeoSelection

public ExampleFeatureGeoSelection(Feature feature,
                                  ILayer layer)
Method Detail

iterator

public java.util.Iterator iterator()
Description copied from interface: IGeoSelection
Custom implementations of interface can iterate through arbitrary set of objects with "selected" semantic.

Returns:

getAdapter

public java.lang.Object getAdapter(java.lang.Class adapter)