Platform Explorer / Nuxeo Platform LTS 2015 7.10

Contribution org.nuxeo.platform.TemplateSources.jxrs.types.contrib--types

This contribution is part of XML component org.nuxeo.platform.TemplateSources.jxrs.types.contrib inside nuxeo-template-rendering-jaxrs-7.10.jar /OSGI-INF/types-contrib.xml

Extension point

Extension point types of component TypeService.

Contributed items

  • <type coretype="WebTemplateSource" id="WebTemplateSource">
          <label>WebTemplateSource</label>
          <icon>/icons/webtemplate.png</icon>
          <bigIcon>/icons/webtemplate_100.png</bigIcon>
          <default-view>view_documents</default-view>
          <category>SimpleDocument</category>
         <layouts mode="create">
           <layout>heading</layout>
           <layout>templateOptionsWizard</layout>
           <layout>templateOptions</layout>
           <layout>note</layout>
          </layouts>
          <layouts mode="view">
            <layout>heading</layout>
            <layout>note</layout>
            <layout>templateOptions</layout>
            <layout>templateParams</layout>
            <layout>linkedTemplateBasedDocs</layout>
          </layouts>
          <layouts mode="edit">
            <layout>heading</layout>
            <layout>note</layout>
          </layouts>
        </type>
  • <type coretype="Folder" id="Folder">
          <subtypes>
            <type>WebTemplateSource</type>
          </subtypes>
        </type>
  • <type coretype="Workspace" id="Workspace">
          <subtypes>
            <type>WebTemplateSource</type>
          </subtypes>
        </type>
  • <type id="TemplateRoot">
          <subtypes>
            <type>WebTemplateSource</type>
          </subtypes>
        </type>

XML source

<extension point="types" target="org.nuxeo.ecm.platform.types.TypeService">

    <type coretype="WebTemplateSource" id="WebTemplateSource">
      <label>WebTemplateSource</label>
      <icon>/icons/webtemplate.png</icon>
      <bigIcon>/icons/webtemplate_100.png</bigIcon>
      <default-view>view_documents</default-view>
      <category>SimpleDocument</category>
     <layouts mode="create">
       <layout>heading</layout>
       <layout>templateOptionsWizard</layout>
       <layout>templateOptions</layout>
       <layout>note</layout>
      </layouts>
      <layouts mode="view">
        <layout>heading</layout>
        <layout>note</layout>
        <layout>templateOptions</layout>
        <layout>templateParams</layout>
        <layout>linkedTemplateBasedDocs</layout>
      </layouts>
      <layouts mode="edit">
        <layout>heading</layout>
        <layout>note</layout>
      </layouts>
    </type>

     <type coretype="Folder" id="Folder">
      <subtypes>
        <type>WebTemplateSource</type>
      </subtypes>
    </type>
    <type coretype="Workspace" id="Workspace">
      <subtypes>
        <type>WebTemplateSource</type>
      </subtypes>
    </type>
    <type id="TemplateRoot">
      <subtypes>
        <type>WebTemplateSource</type>
      </subtypes>
    </type>

  </extension>