Bug 272763 [CommonNavigator] Can't drag objects from Data Source Explorer
Build ID: I20090313-0100 Steps To Reproduce: 1.Open the DSE View 2.connect a profile (such as one to Derby) 3.Click on an item in the database tree and attempt to drag it. In previous releases of Eclipse, the drag icon would appear and objects could be dropped onto another view with a dropListener. Now, nothing happens. More information: I am running with DTP 1.7(dtp-sdk-1.7.0M7-200904030500), Eclipse 3.5 (eclipse-SDK-3.5M6-win32), EMF 2.5 (emf-xsd-SDK-2.5.0M6), GEF 3.5 (GEF-runtime-3.5.0M6). There are changes in the CommonDragAdapter (bugzilla 264323) which may effect this.
bundles/org.eclipse.ui.navigator/src/org/eclipse/ui/navigator/CommonDragAdapter.java
import org.eclipse.jface.viewers.IStructuredSelection;
import org.eclipse.swt.dnd.DragSource;
import org.eclipse.swt.dnd.DragSourceAdapter;
import org.eclipse.swt.dnd.DragSourceEvent;
import org.eclipse.swt.dnd.Transfer;
import org.eclipse.swt.widgets.Control;
import org.eclipse.ui.internal.navigator.NavigatorPlugin;
import org.eclipse.ui.internal.navigator.Policy;
import org.eclipse.ui.internal.navigator.dnd.NavigatorPluginDropAction;
import org.eclipse.ui.part.PluginTransfer;
/**
 * 
 * Provides an implementation of {@link DragSourceAdapter} which uses the
 * extensions provided by the associated {@link INavigatorContentService}.
 * 
 * <p>
 * Clients should not need to create an instance of this class unless they are
 * creating their own custom viewer. Otherwise, {@link CommonViewer} configures
 * its drag adapter automatically.
 * </p> 
 * 
 * @see INavigatorDnDService
 * @see CommonDragAdapterAssistant
 * @see CommonDropAdapter
 * @see CommonDropAdapterAssistant
 * @see CommonViewer
 * @since 3.2
 * 
 */
public final class CommonDragAdapter extends DragSourceAdapter {