Bug 20717 [DND] Drag and Drop with Read-Only file opens strange message dialog
If the project has a read-only file, and if that file is drag & drop from Navigator view to other area.view, desktop opens the dialog that says "filename is read only. Do you still with to move it ?" I didn't move the file at all, so this message is wrong. i think no message should be opened because dropped area is not navigator.
bundles/org.eclipse.ui.views/src/org/eclipse/ui/views/navigator/NavigatorDragAdapter.java
}
	
	private IResource[] getSelectedResources(int resourceTypes, Shell shell) {
		List resources = new ArrayList();
		IResource[] result = new IResource[0];
		ISelection selection = selectionProvider.getSelection();
		if (!(selection instanceof IStructuredSelection) || selection.isEmpty()) {
			return null;
		}
		IStructuredSelection structuredSelection = (IStructuredSelection) selection;
		if (structuredSelection == null)
			return null;
		
		Iterator enum = structuredSelection.iterator();
		while (enum.hasNext()) {
			Object obj = enum.next();
			if (obj instanceof IResource) {
				IResource res = (IResource) obj;
				if ((res.getType() & resourceTypes) == res.getType()) {
					resources.add(res);
				}
			}
		}
		result = new IResource[resources.size()];
		resources.toArray(result);
		ReadOnlyStateChecker checker =
			new ReadOnlyStateChecker(shell, CHECK_MOVE_TITLE, CHECK_MOVE_MESSAGE);
		return checker.checkReadOnlyResources(result);
	}
}