Bug 157506 [CommonNavigator] Can't Drop an External File into Project Explorer (Mac and Linux)
Opened for IBM: This is a linux only issue that happens both in RedHat and SLES. Windows is fine. Problem: User can't drag and drop files into the Project Explorer view Expected results: User should be able to drag and drop files into the Project Explorer view Steps: Go to the j2ee perspective (or open the PE view) Create a new general project (note that this issue will happen with any project) Open the Linux File Browser and attempt to drag and drop any file (I'm using a simple text file) from your system into the newly created project in the workbench Result: The file is not added to the project. Doing the same in the Navigator view or Package Explorer view works fine.
bundles/org.eclipse.ui.navigator/src/org/eclipse/ui/navigator/CommonDropAdapter.java
* Provides an implementation of {@link PluginDropAdapter} 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 drop adapter automatically.
 * </p>
 *  
 * 
 * @see INavigatorDnDService
 * @see CommonDragAdapter
 * @see CommonDragAdapterAssistant
 * @see CommonDropAdapterAssistant
 * @see CommonViewer
 * @since 3.2
 */
public final class CommonDropAdapter extends PluginDropAdapter {
	private static final Transfer[] SUPPORTED_DROP_TRANSFERS = new Transfer[] {
			LocalSelectionTransfer.getTransfer(), FileTransfer.getInstance(),
			PluginTransfer.getInstance() };
	private static final boolean DEBUG = false;
	private final INavigatorContentService contentService;
	private final NavigatorDnDService dndService;
	/**
	 * Create a DropAdapter that handles a drop based on the given content
	 * service and selection provider.
	 * 
	 * @param aContentService
	 *            The content service this Drop Adapter is associated with