Class EditorTemplatesModelProvider

java.lang.Object
ch.tocco.nice2.optional.cms.impl.publish.model.EditorTemplatesModelProvider
All Implemented Interfaces:
PageModelProvider<List<EditorTemplatesModelProvider.EditorTemplate>>

@Component public class EditorTemplatesModelProvider extends Object implements PageModelProvider<List<EditorTemplatesModelProvider.EditorTemplate>>
This model provider returns all enabled templates of type "editor" if the the tree context of the given node is in admin mode.