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
if (LocalSelectionTransfer.getTransfer().isSupportedType(
					event.dataTypes[i])) {
				event.currentDataType = event.dataTypes[i]; 
				return;
			}
		}
		for (int i = 0; i < event.dataTypes.length; i++) {
			if (FileTransfer.getInstance().isSupportedType(event.dataTypes[i])) {
				event.currentDataType = event.dataTypes[i];
				event.detail = DND.DROP_COPY; 
				return;
			}
		}
		for (int i = 0; i < event.dataTypes.length; i++) {
			if (PluginTransfer.getInstance()
					.isSupportedType(event.dataTypes[i])) {
				event.currentDataType = event.dataTypes[i]; 
				return;
			}
		}
		event.detail = DND.DROP_NONE; 
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.swt.dnd.DropTargetAdapter#dragLeave(org.eclipse.swt.dnd.DropTargetEvent)
	 */
	public void dragLeave(DropTargetEvent event) {
		super.dragLeave(event);
		if (LocalSelectionTransfer.getTransfer().isSupportedType(