Bug 12585 Packages view should not provide file and resource transfer if Java element below CU is selected
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dnd/DelegatingDragAdapter.java
}
	
	/* non Java-doc
	 * @see DragSourceListener
	 */
	public void dragFinished(DragSourceEvent event) {
		if (fFinishListener != null) {
			fFinishListener.dragFinished(event);
		} else {
			
			
			fFinishListener= getListener(event.dataType);
			if (fFinishListener != null)
				fFinishListener.dragFinished(event);
		}
	}
	
	private TransferDragSourceListener getListener(TransferData type) {
		if (type == null)
			return null;
			
		for (Iterator iter= fActiveListeners.iterator(); iter.hasNext();) {
			TransferDragSourceListener listener= (TransferDragSourceListener)iter.next();
			if (listener.getTransfer().isSupportedType(type)) {
				return listener;
			}
		}
		return null;
	}	
}