PaletteItemDropHandler Class

com.bea.ide.ui.palette
PaletteItemDropHandler Class

public class PaletteItemDropHandler

    extends Object

Provides a default mechanism to accept items dragged from the workshop palette. This object may be embedded in an IDragDropDriver and used to handle drops of transferables using the IPaletteItem.PALETTE_ITEM_DATA_FLAVOR.

Related Topics

IPaletteItem


Hierarchy
Object
  PaletteItemDropHandler

Constructor Summary

PaletteItemDropHandler()

 

Method Summary

public boolean
importPaletteItem(Transferable t)
Causes a transfer to a component from a clipboard or a DND drop operation.
 
Methods from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
   

Constructor Detail

PaletteItemDropHandler

public PaletteItemDropHandler()
 

Method Detail

importPaletteItem(Transferable) Method

public boolean importPaletteItem(Transferable t)
Causes a transfer to a component from a clipboard or a DND drop operation. The Transferable represents the data to be imported into the component.

Parameters

t
the data to import

Returns

true if the data was inserted into the component, false otherwise