Bug 60258 jface.text templates uses extension registry
jface.text templates support (TemplateStore) is using the Eclipse extension registry. In the past, jface text, like jface, was independent of the Eclipse plug-in mechanism and extension registry. Is this change intentional?
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/CompatibilityTemplateStore.java
} else { 
					if (!orig.getTemplate().getPattern().equals(t.getPattern()))
						
						orig.setTemplate(t);
				}
			}
			
			save();
		}
	}
	
	private static TemplatePersistenceData findSimilarTemplate(TemplatePersistenceData[] datas, Template template, boolean isCodeTemplates) {
		 for (int i= 0; i < datas.length; i++) {
			TemplatePersistenceData data= datas[i];
			Template orig= data.getTemplate();
			if (isSimilar(template, orig, isCodeTemplates))
				return data;
		 }
		 
		 return null;
	}
	private static boolean isSimilar(Template t, Template orig, boolean isCodeTemplates) {
		return orig.getName().equals(t.getName()) && orig.getContextTypeId().equals(t.getContextTypeId())
				&& (isCodeTemplates || orig.getDescription().equals(t.getDescription())); 
	}
	
	private boolean isCodeTemplates() {
		return fLegacySet instanceof CodeTemplates;
	}
	/**