public boolean performFinish() {
   warnAboutTypeCommentDeprecation();
   boolean res = super.performFinish();
   if (res) {
     IResource resource = page.getModifiedResource();
     if (resource != null) {
       selectAndReveal(resource);
       openResource((IFile) resource);
     }
   }
   return true;
 }
 public IJavaElement getCreatedElement() {
   return page.getCreatedType();
 }
 protected void finishPage(IProgressMonitor monitor) throws InterruptedException, CoreException {
   page.createType(monitor);
 }
 public void addPages() {
   addPage(page);
   page.init(selection);
 }