Bug 34335 DND doesn't work
RC2 Linux-GTK Drag and drop doesn't work. I've tried it in the DNDExample and in the package explorer and drags are never initiated.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/JavaBrowsingPart.java
}
	
	/**
	 * Finds the element which has to be selected in this part.
	 * 
	 * @param je	the Java element which has the focus
	 */
	abstract protected IJavaElement findElementToSelect(IJavaElement je);
	
	protected final Object getSingleElementFromSelection(ISelection selection) {
		if (!(selection instanceof StructuredSelection) || selection.isEmpty())
			return null;
		
		Iterator iter= ((StructuredSelection)selection).iterator();
		Object firstElement= iter.next();
		if (!(firstElement instanceof IJavaElement)) {
			if (SearchUtil.isISearchResultViewEntry(firstElement)) {
				IJavaElement je= SearchUtil.getJavaElement(firstElement);
				if (je != null)
					return je;
				firstElement= SearchUtil.getResource(firstElement);
			}
			if (firstElement instanceof IAdaptable) {
				IJavaElement je= (IJavaElement)((IAdaptable)firstElement).getAdapter(IJavaElement.class);
				if (je == null && firstElement instanceof IFile) { 
					IContainer parent= ((IFile)firstElement).getParent();
					if (parent != null)
						return (IJavaElement)parent.getAdapter(IJavaElement.class);
					else return null;
				} else