code: void saveLastSavedPreferences() {
  		String templateName = ""; //$NON-NLS-1$
  
  		Template template = getSelectedTemplate();
  		if (template != null) {
  			templateName = template.getName();
  		}
  
  		GlassmakerUIPlugin.getDefault().getPreferenceStore().setValue("newFileTemplateName", templateName);
  		GlassmakerUIPlugin.getDefault().savePluginPreferences();
  	}
docs: Save template name used for next call to New HTML File wizard.