Author: scabanovich
Date: 2010-04-20 10:14:44 -0400 (Tue, 20 Apr 2010)
New Revision: 21554
Modified:
branches/jbosstools-3.1.x/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:
branches/jbosstools-3.1.x/vpe/plugins/org.jboss.tools.vpe.ui.palette/src/org/jboss/tools/vpe/ui/palette/DropTargetManager.java
===================================================================
---
branches/jbosstools-3.1.x/vpe/plugins/org.jboss.tools.vpe.ui.palette/src/org/jboss/tools/vpe/ui/palette/DropTargetManager.java 2010-04-20
14:06:33 UTC (rev 21553)
+++
branches/jbosstools-3.1.x/vpe/plugins/org.jboss.tools.vpe.ui.palette/src/org/jboss/tools/vpe/ui/palette/DropTargetManager.java 2010-04-20
14:14:44 UTC (rev 21554)
@@ -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);