*
*/
public void dragEnter(DropTargetDragEvent e)
{
JComponent component = getDropTarget(e);
TransferHandler th = component.getTransferHandler();
boolean isLocal = th instanceof mxGraphTransferHandler
&& ((mxGraphTransferHandler) th).isLocalDrag();
if (isLocal)
{
canImport = true;
}
else
{
canImport = graphComponent.isImportEnabled()
&& th.canImport(component, e.getCurrentDataFlavors());
}
if (canImport)
{
transferBounds = null;