01: package net.refractions.udig.project.geoselection;
02:
03: import java.util.Iterator;
04:
05: import org.eclipse.core.runtime.IAdaptable;
06:
07: /**
08: * The interface for GeoSelection containers implementations.
09: * <p>
10: * The containers follow to IAdaptable design pattern to hide the
11: * implementation specifics. Usually <code>IGeoSelectionListener</code>s should not be
12: * aware about actual implementation class of IGeoSelection.
13: * <p>
14: *
15: *
16: * @author Vitalus
17: */
18: public interface IGeoSelection extends IAdaptable {
19:
20: /**
21: * Custom implementations of interface can iterate through arbitrary set of objects with
22: * "selected" semantic.
23: * <p>
24: *
25: * @return
26: */
27: public Iterator iterator();
28:
29: }
|