Bug 118647 [Markers] MarkerResolutionDialog needs to be more responsive
Currently we are not allowing 1) Cancelling of resolutions 2) Paints during updates We need to spin the UI Thread and to allow cancel to be used to cancel the update and the application of problems.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/MarkerResolutionDialog.java
final Button addMatching = new Button(buttonComposite, SWT.PUSH);
		addMatching.setText(MarkerMessages.MarkerResolutionDialog_AddOthers);
		addMatching
				.setLayoutData(new GridData(SWT.FILL, SWT.NONE, false, false));
		addMatching.setEnabled(getMatchingButtonEnablement());
		addMatching.addSelectionListener(new SelectionAdapter() {
			/*
			 * (non-Javadoc)
			 * 
			 * @see org.eclipse.swt.events.SelectionAdapter#widgetSelected(org.eclipse.swt.events.SelectionEvent)
			 */
			public void widgetSelected(SelectionEvent arg0) {
				addMatchingMarkers();
				addMatching.setEnabled(false);
			}
		});
		return buttonComposite;
	}
	/**
	 * Add all of the markers that have resolutions compatible with the
	 * receiver.
	 */
	protected void addMatchingMarkers() {
		Object[] all = markerView.getCurrentMarkers().getArray();
		progressPart.beginTask(
				MarkerMessages.MarkerResolutionDialog_CalculatingTask,
				all.length);
		WorkbenchMarkerResolution[] existing = new WorkbenchMarkerResolution[resolutions.length];
		System.arraycopy(resolutions, 0, existing, 0, existing.length);
		for (int i = 0; i < all.length; i++) {