Author: scabanovich
Date: 2010-03-09 12:34:59 -0500 (Tue, 09 Mar 2010)
New Revision: 20710
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe.ui.palette/src/org/jboss/tools/vpe/ui/palette/DropTargetManager.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-6029
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe.ui.palette/src/org/jboss/tools/vpe/ui/palette/DropTargetManager.java
===================================================================
---
trunk/vpe/plugins/org.jboss.tools.vpe.ui.palette/src/org/jboss/tools/vpe/ui/palette/DropTargetManager.java 2010-03-09
17:31:04 UTC (rev 20709)
+++
trunk/vpe/plugins/org.jboss.tools.vpe.ui.palette/src/org/jboss/tools/vpe/ui/palette/DropTargetManager.java 2010-03-09
17:34:59 UTC (rev 20710)
@@ -120,7 +120,7 @@
DnDUtil.copy(fo, null);
o = getModelObject(event.x, event.y);
}
- } else if(event.currentDataType.type != ModelTransfer.MODEL_ID) {
+ } else if(!ModelTransfer.getInstance().isSupportedType(event.currentDataType)) {
o = null;
} else {
o = getModelObject(event.x, event.y);