*
* @return the template context type registry for the Spring beans editor
*/
public ContextTypeRegistry getTemplateContextRegistry() {
if (contextTypeRegistry == null) {
ContributionContextTypeRegistry registry = new ContributionContextTypeRegistry();
registry.addContextType(BeansTemplateContextTypeIds.ALL);
registry.addContextType(BeansTemplateContextTypeIds.PROPERTY);
registry.addContextType(BeansTemplateContextTypeIds.BEAN);
contextTypeRegistry = registry;
}
return contextTypeRegistry;
}