Bug 127039 problems view quick fix: dialog should check resource by default
I20060207-1305 1. Select a marker in the problems view, e.g. a Java problem 2. Activate quick fix from the context menu 3. The dialog that shows up has the ok button disabled as no problem is checked in the lower half. The problem selcted in step 1 should be checked by default
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/MarkerResolutionDialog.java
getShell().getDisplay().readAndDispatch();
			if (!progressCancelled() && checked.length == 1) {
				
				IMarker marker = (IMarker) checked[0];
				progressPart.subTask(Util.getProperty(IMarker.MESSAGE, marker));
				resolution.run(marker);
				progressPart.worked(1);
			}
		}
		calculatingResolutions = false;
		progressPart.done();
		progressCancelled = false;
		super.okPressed();
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.jface.dialogs.Dialog#cancelPressed()
	 */
	protected void cancelPressed() {
		if (calculatingResolutions) {
			progressCancelled = true;
			progressPart.setCanceled(true);
			return;
		}
		super.cancelPressed();
	}
}