*
* @return the template context type registry for the xml plugin
*/
public ContextTypeRegistry getTemplateContextRegistry() {
if (fContextTypeRegistry == null) {
ContributionContextTypeRegistry registry = new ContributionContextTypeRegistry();
registry.addContextType(TemplateContextTypeIdsXML.TAPESTRY_ENTITIES);
registry.addContextType(TemplateContextTypeIdsXML.ALL);
registry.addContextType(TemplateContextTypeIdsXML.NEW);
registry.addContextType(TemplateContextTypeIdsXML.TAG);
registry.addContextType(TemplateContextTypeIdsXML.ATTRIBUTE);
registry.addContextType(TemplateContextTypeIdsXML.ATTRIBUTE_VALUE);
registry.addContextType(TemplateContextTypeIdsXML.TAPESTRY_COMPONENTS_ATTR);
registry.addContextType(TemplateContextTypeIdsXML.TAPESTRY_COMPONENTS_ATTR_VALUE);
registry.addContextType(TemplateContextTypeIdsXML.TAPESTRY_COMPONENTS);
fContextTypeRegistry = registry;
}