use of com.liferay.ide.portal.ui.templates.StructuresTemplateContext in project liferay-ide by liferay.
the class PortalUI method getTemplateContextRegistry.
public ContextTypeRegistry getTemplateContextRegistry() {
if (contextTypeRegistry == null) {
ContributionContextTypeRegistry registry = new ContributionContextTypeRegistry();
for (StructuresTemplateContext contextType : StructuresTemplateContext.values()) {
registry.addContextType(contextType.getContextTypeId());
}
contextTypeRegistry = registry;
}
return contextTypeRegistry;
}
Aggregations