Bug 123989 Should ResourceChangeValidator#validateChange take a progress monitor
Since the validation might take some time it might make sense to pass a progress monitor into validateChange.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/ide/IDE.java
if (message == null) {
    		message = IDEWorkbenchMessages.IDE_sideEffectWarning;
    	}
    	final String dialogMessage = NLS.bind(IDEWorkbenchMessages.IDE_areYouSure, message);
    	
    	final boolean[] result = new boolean[] { false };
    	Runnable runnable = new Runnable() {
			public void run() {
				ErrorDialog dialog = new ErrorDialog(shell, title, dialogMessage, displayStatus, IStatus.ERROR | IStatus.WARNING | IStatus.INFO) {
					protected void createButtonsForButtonBar(Composite parent) {
				        createButton(parent, IDialogConstants.YES_ID, IDialogConstants.YES_LABEL,
				                false);
						createButton(parent, IDialogConstants.NO_ID, IDialogConstants.NO_LABEL,
								true);
				        createDetailsButton(parent);
					}
					/* (non-Javadoc)
					 * @see org.eclipse.jface.dialogs.ErrorDialog#buttonPressed(int)
					 */
					protected void buttonPressed(int id) {
						if (id == IDialogConstants.YES_ID)
							super.buttonPressed(IDialogConstants.OK_ID);
						else if (id == IDialogConstants.NO_ID)
							super.buttonPressed(IDialogConstants.CANCEL_ID);
						super.buttonPressed(id);
					}
				};
				int code = dialog.open();
				result[0] = code == 0;