Project: JDT
Bug 44150 No Drag and Drop of .class files from Package Explorer
Reported: 2003-10-03 15:00:06 | Status: resolved fixed

I am working on a GEF application that supports drag and drop of Java classes from the Package Explorer. With source code (.java files) this works fine, but when I try to drag a compiled class (.class from a JAR withtin a project) it seems that the drag doesn't even get initiated. It is possibly, however, to open .class file within an Editor (e.g. with a doubleclick). I think this behavior is inconsistent and it should be possible to initiate a drag for a .class file just like a .java file since both end up in an IType.

Files changed in fix:
org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/ReorgPolicyFactory.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/reorg/ReorgUtils.java org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/SelectionTransferDragAdapter.java