Bug 22276 [DND] Confirmation to move read-only file opens twice
Drag&Drop a read-only file from one project to another in the Navigator. A confirmation dialog appears to confirm the move of the file. If you press "No" on the confirmation dialog, the dialog opens again asking the same question.
bundles/org.eclipse.ui.views/src/org/eclipse/ui/views/navigator/NavigatorDragAdapter.java
return;
		
		final int len = resources.length;
		String[] fileNames = new String[len];
		for (int i = 0, length = len; i < length; i++) {
			fileNames[i] = resources[i].getLocation().toOSString();
		}
		event.data = fileNames;
	}
	/**
	 * @see DragSourceListener#dragStart
	 */
	public void dragStart(DragSourceEvent event) {
		
		DragSource dragSource = (DragSource) event.widget;
		Control control = dragSource.getControl();
		if (control != control.getDisplay().getFocusControl()) {
			event.doit = false;
			return;
		}
		IStructuredSelection selection =
			(IStructuredSelection) selectionProvider.getSelection();
		for (Iterator i = selection.iterator(); i.hasNext();) {
			Object next = i.next();
			if (!(next instanceof IFile || next instanceof IFolder)) {
				event.doit = false;
				return;
			}
		}
		event.doit = true;