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
* @param ignoreModelProviderIds model providers to be ignored
     * @param syncExec prompt in a sync exec (required when called from a non-UI thread
     * @return whether the user chose to continue
     * @since 3.2
     */
    public static boolean promptToConfirm(final Shell shell, final String title, String message, IResourceDelta delta, String[] ignoreModelProviderIds, boolean syncExec) {
    	IStatus status = ResourceChangeValidator.getValidator().validateChange(delta);
    	if (status.isOK())
    		return true;
    	final IStatus displayStatus;
    	if (status.isMultiStatus()) {
    		List result = new ArrayList();
    		IStatus[] children = status.getChildren();
    		for (int i = 0; i < children.length; i++) {
				IStatus child = children[i];
	    		if (!isIgnoredStatus(child, ignoreModelProviderIds))
	    			result.add(child);
			}
    		if (result.isEmpty())
    			return true;
    		if (result.size() == 1) {
    			displayStatus = (IStatus)result.get(0);
    		} else {
    			displayStatus = new MultiStatus(status.getPlugin(), status.getCode(), (IStatus[]) result.toArray(new IStatus[result.size()]), status.getMessage(), status.getException());
    		}
    	} else {
    		if (isIgnoredStatus(status, ignoreModelProviderIds))
    			return true;
    		displayStatus = status;
    	}