/*
   * (non-Javadoc)
   *
   * @see org.eclipse.pde.internal.ui.wizards.NewWizard#performFinish()
   */
  public boolean performFinish() {
    try {
      fProjectPage.updateData();
      fContentPage.updateData();
      IDialogSettings settings = getDialogSettings();
      if (settings != null) {
        fProjectPage.saveSettings(settings);
        fContentPage.saveSettings(settings);
      }
      BasicNewProjectResourceWizard.updatePerspective(fConfig);
      getContainer()
          .run(
              false,
              true,
              new NewProjectCreationOperation(fPluginData, fProjectProvider, fTemplateWizard));

      IWorkingSet[] workingSets = fProjectPage.getSelectedWorkingSets();
      if (workingSets.length > 0)
        getWorkbench()
            .getWorkingSetManager()
            .addToWorkingSets(fProjectProvider.getProject(), workingSets);

      return true;
    } catch (InvocationTargetException e) {
      PDEPlugin.logException(e);
    } catch (InterruptedException e) {
    }
    return false;
  }