Bug 4139 EC DCR: Code templates feature (1GIVMDV)
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/template/TemplateSet.java
return true;
			
		} catch (ParserConfigurationException e) {
			JavaPlugin.log(e);
		} catch (IOException e) {
			JavaPlugin.log(e);
		}		
		return false;
	}
	/**
	 * Adds a template to the set.
	 */
	public void add(Template template) {
		fTemplates.add(template);
		sort();
	}
	
	/**
	 * Removes a template to the set.
	 */	
	public void remove(Template template) {
		fTemplates.remove(template);
		sort();
	}
	/**
	 * Empties the set.
	 */		
	public void clear() {
		fTemplates.clear();
		sort();