Bug 302441 [LinkedResources][CommonNavigator] When to show "Files and Folders Operation" dialog on drop
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/navigator/NavigatorDropAdapter.java
else {
			ReadOnlyStateChecker checker = new ReadOnlyStateChecker(
	                getShell(),
	                ResourceNavigatorMessages.MoveResourceAction_title,
	                ResourceNavigatorMessages.MoveResourceAction_checkMoveMessage);
	        sources = checker.checkReadOnlyResources(sources);
	        MoveFilesAndFoldersOperation operation = new MoveFilesAndFoldersOperation(
	                getShell());
	        operation.copyResources(sources, target);
		}
        return problems;
    }
    /*
     * @see org.eclipse.ui.dialogs.IOverwriteQuery#queryOverwrite(java.lang.String)
     */
    public String queryOverwrite(String pathString) {
        if (alwaysOverwrite) {
			return ALL;
		}
        final String returnCode[] = { CANCEL };
        final String msg = NLS.bind(ResourceNavigatorMessages.DropAdapter_overwriteQuery, pathString);
        final String[] options = { IDialogConstants.YES_LABEL,
                IDialogConstants.YES_TO_ALL_LABEL, IDialogConstants.NO_LABEL,
                IDialogConstants.CANCEL_LABEL };
        getDisplay().syncExec(new Runnable() {
            public void run() {
                MessageDialog dialog = new MessageDialog(
                        getShell(),
                        ResourceNavigatorMessages.DropAdapter_question, null, msg, MessageDialog.QUESTION, options, 0);
                dialog.open();