Bug 31150 filecomment template no longer used [code manipulation]
Build: I20030206 The "filecomment" template description says it is used by the new class and interface wizards. This template doesn't seem to be used anymore. Instead I now get the template from the code generation preference page. The catch block template is also found in two places. Having two template preference pages with some overlapping entries seems confusing.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/wizards/NewElementWizard.java
});
			}
		}
	}
	
	/**
	 * Subclasses should override to perform the actions of the wizard.
	 * This method is run in the wizard container's context as a workspace runnable.
	 */
	protected void finishPage(IProgressMonitor monitor) throws InterruptedException, CoreException {
	}
	
	protected void handleFinishException(Shell shell, InvocationTargetException e) {
		String title= NewWizardMessages.getString("NewElementWizard.op_error.title"); 
		String message= NewWizardMessages.getString("NewElementWizard.op_error.message"); 
		ExceptionHandler.handle(e, shell, title, message);
	}
	
	/*
	 * @see Wizard#performFinish
	 */		
	public boolean performFinish() {
		IWorkspaceRunnable op= new IWorkspaceRunnable() {
			public void run(IProgressMonitor monitor) throws CoreException, OperationCanceledException {
				try {
					finishPage(monitor);
				} catch (InterruptedException e) {
					throw new OperationCanceledException(e.getMessage());
				}
			}