net.refractions.udig.ui
Class FeatureCollectionSelection

java.lang.Object
  extended by net.refractions.udig.ui.FeatureCollectionSelection
All Implemented Interfaces:
IBlockingSelection

public class FeatureCollectionSelection
extends java.lang.Object
implements IBlockingSelection

Adapt a feature collection as a Selection so it can be used with StructedViewers.

Since:
1.1.0
Author:
Jesse

Constructor Summary
FeatureCollectionSelection( selectedFeatures)
           
 
Method Summary
protected  void finalize()
           
 java.lang.Object getFirstElement()
           
 boolean isEmpty()
           
 java.util.Iterator iterator()
           
 int size()
           
 java.lang.Object[] toArray()
           
 java.util.List toList()
           
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FeatureCollectionSelection

public FeatureCollectionSelection( selectedFeatures)
Method Detail

finalize

protected void finalize()
                 throws java.lang.Throwable
Overrides:
finalize in class java.lang.Object
Throws:
java.lang.Throwable

getFirstElement

public java.lang.Object getFirstElement()

iterator

public java.util.Iterator iterator()

size

public int size()

toArray

public java.lang.Object[] toArray()

toList

public java.util.List toList()

isEmpty

public boolean isEmpty()