RefactoringStatus status= getIntroduceIndirectionRefactoring().setIntermediaryClassName(intermediaryType.getFullyQualifiedName()); boolean nameOk= status.isOK();
			public void widgetSelected(SelectionEvent e) {				IType intermediaryType= chooseIntermediaryClass();				if (intermediaryType == null)					return;				RefactoringStatus status= getIntroduceIndirectionRefactoring().setIntermediaryClassName(intermediaryType.getFullyQualifiedName());				boolean nameOk= status.isOK();				fIntermediaryTypeName.setText(intermediaryType.getFullyQualifiedName());				IntroduceIndirectionInputPage.this.setPageComplete(nameOk);				IntroduceIndirectionInputPage.this.setErrorMessage(nameOk ? "" : //$NON-NLS-1$						status.getMessageMatchingSeverity(RefactoringStatus.ERROR));			}