Bug 118209 Rename type wizard does not close when pressing finish [refactoring]
I20051123-1200 + ZRH plugin export Steps to reproduce: - Create JUnit Project - Start Rename type on 'TestRunner' - Choose update references and similar elements only - Press Finish - Warning appears regarding broken scripts - Press Finish again -> Nothing happens
org.eclipse.ltk.ui.refactoring/src/org/eclipse/ltk/internal/ui/refactoring/RefactoringWizardDialog2.java
for (int i= 0; i < shells.length; i++)
			shells[i].setCursor(c);
	}	
	private void stopped(Object savedState) {
		Shell shell= getShell();
		if (shell != null) {
			Button cancelButton= getButton(IDialogConstants.CANCEL_ID);
			
			if (fProgressMonitorPart != null)
				fProgressMonitorPart.removeFromCancelComponent(cancelButton);
				
			fStatusContainer.showPage(fMessageBox);
			Map state = (Map)savedState;
			restoreUIState(state);
	
			setDisplayCursor(shell.getDisplay(), null);	
			cancelButton.setCursor(null);
			fWaitCursor.dispose();
			fWaitCursor = null;
			fArrowCursor.dispose();
			fArrowCursor = null;
			Control focusControl = (Control)state.get("focus"); 
			if (focusControl != null)
				focusControl.setFocus();
		}
	}
	
	private void restoreUIState(Map state) {
		restoreEnableState(getButton(PREVIEW_ID), state, "preview");
		restoreEnableState(getButton(IDialogConstants.OK_ID), state, "ok");