if (dialog.open() == Dialog.CANCEL)
if (dialog.open() == Window.CANCEL)
	public Object activate(Refactoring refactoring, RefactoringWizard wizard, Shell parent, String dialogTitle, boolean mustSaveEditors) throws JavaModelException {		if (! canActivate(mustSaveEditors))			return null;		RefactoringStatus activationStatus= checkActivation(refactoring);		if (activationStatus.hasFatalError()){			return RefactoringErrorDialogUtil.open(dialogTitle, activationStatus);		} else {			wizard.setActivationStatus(activationStatus);			Dialog dialog;			if (wizard.hasMultiPageUserInput())				dialog= new RefactoringWizardDialog(parent, wizard);			else 				dialog= new RefactoringWizardDialog2(parent, wizard);			if (dialog.open() == Dialog.CANCEL)				fSaveHelper.triggerBuild();			return null;			} 	}