Bug 38483 Delete: buttons on the 'Found Problems' page [refactoring]
20030604 1. make Java file read-only and delete a method in it 2. On the first dialog, press ok, a 'Found Problems' dialog shows up 3. The dialog has two buttons: Back and cancel Back is not too helpfull as you can't change anything on the first dialog Cancel should probably be better 'Ok'
org.eclipse.ltk.ui.refactoring/src/org/eclipse/ltk/internal/ui/refactoring/RefactoringStatusDialog.java
}
	
	protected void configureShell(Shell newShell) {
		super.configureShell(newShell);
		newShell.setText(fWindowTitle);
	}
	protected Control createDialogArea(Composite parent) {
		Composite result= new Composite(parent, SWT.NONE);
		initializeDialogUnits(result);
		GridLayout layout= new GridLayout();
		result.setLayout(layout);
		GridData gd= new GridData(GridData.FILL_BOTH);
		gd.widthHint= 600;
		gd.heightHint= 400;
		result.setLayoutData(gd);
		Color background= parent.getDisplay().getSystemColor(SWT.COLOR_INFO_BACKGROUND);
		ViewForm messagePane= new ViewForm(result, SWT.BORDER | SWT.FLAT);
		messagePane.marginWidth= layout.marginWidth;
		messagePane.marginHeight= layout.marginHeight;
		gd= new GridData(GridData.FILL_HORIZONTAL);
		
		Rectangle rect= messagePane.computeTrim(0, 0, 0, convertHeightInCharsToPixels(2) + messagePane.marginHeight * 2);
		gd.heightHint= rect.height;
		messagePane.setLayoutData(gd);
		messagePane.setBackground(background);
		Label label= new Label(messagePane, SWT.LEFT | SWT.WRAP);
		if (fStatus.hasFatalError())
			label.setText(RefactoringUIMessages.getString("RefactoringStatusDialog.Cannot_proceed")); 
		else 
			label.setText(RefactoringUIMessages.getString("RefactoringStatusDialog.Please_look"));