@Override
 public void addPages() {
   fMainPage = new NewSiteProjectCreationPage("main"); // $NON-NLS-1$
   fMainPage.setTitle(PDEUIMessages.NewSiteWizard_MainPage_title);
   fMainPage.setDescription(PDEUIMessages.NewSiteWizard_MainPage_desc);
   String pname = getDefaultValue(DEF_PROJECT_NAME);
   if (pname != null) fMainPage.setInitialProjectName(pname);
   addPage(fMainPage);
 }
 @Override
 public boolean performFinish() {
   try {
     BasicNewProjectResourceWizard.updatePerspective(fConfig);
     final IProject project = fMainPage.getProjectHandle();
     final IPath location = fMainPage.getLocationPath();
     final String webLocation = fMainPage.getWebLocation();
     IRunnableWithProgress op =
         new NewSiteProjectCreationOperation(
             getShell().getDisplay(), project, location, webLocation);
     getContainer().run(false, true, op);
   } catch (InvocationTargetException e) {
     PDEPlugin.logException(e);
     return false;
   } catch (InterruptedException e) {
     return false;
   }
   return true;
 }