Project: Eclipse_Platform_UI
Bug 185569 [CommonNavigator] CommonDragAdapter should provide ways for CommonDragAdapterAssistant to perform clean up after drag has finished
Reported: 2007-05-04 11:32:18 | Status: resolved fixed

Build ID: M20070212-1330 Steps To Reproduce: I am not sure if this has been fixed in later releases (I am currently working with 3.2.0). The CommonDragAdapter class used by CommonNavigator does not allow CommonDragAdapterAssistant contributions to perform clean up after drag has finished. In my version of CommonDragAdapter, its dragFinished method contains comments saying // TODO Handle clean up if drop target was outside of workbench that's why I am not sure if later versions have already addressed this issue. More information:

Files changed in fix:
bundles/org.eclipse.ui.navigator.resources/src/org/eclipse/ui/navigator/resources/ResourceDragAdapterAssistant.java bundles/org.eclipse.ui.navigator/src/org/eclipse/ui/navigator/CommonDragAdapter.java bundles/org.eclipse.ui.navigator/src/org/eclipse/ui/navigator/CommonDragAdapterAssistant.java tests/org.eclipse.ui.tests.harness/src/org/eclipse/ui/tests/harness/util/SWTEventHelper.java tests/org.eclipse.ui.tests.navigator/src/org/eclipse/ui/tests/navigator/ActivityTest.java tests/org.eclipse.ui.tests.navigator/src/org/eclipse/ui/tests/navigator/DnDTest.java tests/org.eclipse.ui.tests.navigator/src/org/eclipse/ui/tests/navigator/NavigatorTestBase.java tests/org.eclipse.ui.tests.navigator/src/org/eclipse/ui/tests/navigator/OpenTest.java tests/org.eclipse.ui.tests.navigator/src/org/eclipse/ui/tests/navigator/SorterTest.java tests/org.eclipse.ui.tests.navigator/src/org/eclipse/ui/tests/navigator/extension/TestDragAssistant.java