TypeSelectionDialog dialog= new TypeSelectionDialog(getShell(), getWizard().getContainer(), scope, IJavaElementSearchConstants.CONSIDER_CLASSES);
TypeSelectionDialog dialog= new TypeSelectionDialog(getShell(), getWizard().getContainer(), IJavaSearchConstants.CLASS, scope);
	private IType chooseSuperType() {		IPackageFragmentRoot root= getPackageFragmentRoot();		if (root == null) {			return null;		}			IJavaElement[] elements= new IJavaElement[] { root.getJavaProject() };		IJavaSearchScope scope= SearchEngine.createJavaSearchScope(elements);		TypeSelectionDialog dialog= new TypeSelectionDialog(getShell(), getWizard().getContainer(), scope, IJavaElementSearchConstants.CONSIDER_CLASSES);		dialog.setTitle(NewWizardMessages.getString("TypePage.SuperClassDialog.title")); //$NON-NLS-1$		dialog.setMessage(NewWizardMessages.getString("TypePage.SuperClassDialog.message")); //$NON-NLS-1$		if (fSuperClass != null) {			dialog.setFilter(fSuperClass.getElementName());		}		if (dialog.open() == dialog.OK) {			return (IType) dialog.getFirstResult();		}		return null;	}