com.vividsolutions.jump.workbench.ui.plugin.clipboard
Class CollectionOfFeaturesTransferable

java.lang.Object
  extended by com.vividsolutions.jump.workbench.ui.plugin.clipboard.AbstractTransferable
      extended by com.vividsolutions.jump.workbench.ui.plugin.clipboard.CollectionOfFeaturesTransferable
All Implemented Interfaces:
java.awt.datatransfer.Transferable

public class CollectionOfFeaturesTransferable
extends AbstractTransferable


Field Summary
static java.awt.datatransfer.DataFlavor COLLECTION_OF_FEATURES_FLAVOR
          A java.util.Collection, not a FeatureCollection
 
Constructor Summary
CollectionOfFeaturesTransferable(java.util.Collection features)
           
 
Method Summary
 java.lang.Object getTransferData(java.awt.datatransfer.DataFlavor flavor)
           
 
Methods inherited from class com.vividsolutions.jump.workbench.ui.plugin.clipboard.AbstractTransferable
getTransferDataFlavors, isDataFlavorSupported
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COLLECTION_OF_FEATURES_FLAVOR

public static final java.awt.datatransfer.DataFlavor COLLECTION_OF_FEATURES_FLAVOR
A java.util.Collection, not a FeatureCollection

Constructor Detail

CollectionOfFeaturesTransferable

public CollectionOfFeaturesTransferable(java.util.Collection features)
Method Detail

getTransferData

public java.lang.Object getTransferData(java.awt.datatransfer.DataFlavor flavor)
                                 throws java.awt.datatransfer.UnsupportedFlavorException
Specified by:
getTransferData in interface java.awt.datatransfer.Transferable
Specified by:
getTransferData in class AbstractTransferable
Throws:
java.awt.datatransfer.UnsupportedFlavorException