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
initializeResolutionsSorter();
		resolutionsSorter.sort(view.getViewer(), newResolutions);
		resolutions = newResolutions;
		originalMarker = marker;
		markerView = view;
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.jface.window.Window#configureShell(org.eclipse.swt.widgets.Shell)
	 */
	protected void configureShell(Shell newShell) {
		super.configureShell(newShell);
		newShell.setText(MarkerMessages.resolveMarkerAction_dialogTitle);
	}
	
	/*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.jface.dialogs.TitleAreaDialog#createDialogArea(org.eclipse.swt.widgets.Composite)
	 */
	protected Control createDialogArea(Composite parent) {
		Composite mainArea = (Composite) super.createDialogArea(parent);
		
		
		Composite control = new Composite(mainArea, SWT.NONE);
		control.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true));
		FormLayout layout = new FormLayout();
		layout.marginLeft = IDialogConstants.BUTTON_MARGIN;
		layout.marginTop = IDialogConstants.BUTTON_MARGIN;