Project: JDT
Bug 107509 [dnd] [ccp] No imports with drag and drop
Reported: 2005-08-20 06:14:38 | Status: resolved fixed

When dragging a method from a class to another (in the Package Explorer view), the dragged method causes a number of errors because the imports are not "dragged" as well, as opposed to copying and pasting the method in the new class, where imports are automatically updated.

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