Platform Explorer / Nuxeo Platform LTS 2015 7.10

Contribution org.nuxeo.ecm.platform.forum.types--types

This contribution is part of XML component org.nuxeo.ecm.platform.forum.types inside nuxeo-platform-forum-7.10.jar /OSGI-INF/forum-types-contrib.xml

Extension point

Extension point types of component TypeService.

Contributed items

  • <type coretype="Workspace" id="Workspace">
          <subtypes>
            <type>Forum</type>
          </subtypes>
        </type>
  • <type coretype="Forum" id="Forum">
          <label>Forum</label>
          <icon>/icons/forum.gif</icon>
          <default-view>view_documents</default-view>
          <bigIcon>/icons/forum_100.png</bigIcon>
          <description>Forum.description</description>
          <category>Collaborative</category>
          <subtypes>
            <type>Thread</type>
          </subtypes>
          <layouts mode="any">
            <layout>heading</layout>
          </layouts>
          <contentViews category="content">
            <contentView>forum_content</contentView>
          </contentViews>
          <contentViews category="trash_content">
            <contentView showInExportView="false">
              document_trash_content
            </contentView>
          </contentViews>
        </type>

    Forum.description

  • <type coretype="Thread" id="Thread">
          <label>Thread</label>
          <icon>/icons/forum_thread.gif</icon>
          <bigIcon>/icons/forum_thread.gif</bigIcon>
          <description>Thread.description</description>
          <category>SimpleDocument</category>
          <default-view>view_documents</default-view>
          <create-view>thread_create</create-view>
          <layouts mode="any">
            <layout>heading</layout>
          </layouts>
        </type>

    Thread.description

  • <type coretype="Post" id="Post">
          <icon>/icons/forum_post.gif</icon>
          <label>label.document.post</label>
        </type>

XML source

<extension point="types" target="org.nuxeo.ecm.platform.types.TypeService">
    <type coretype="Workspace" id="Workspace">
      <subtypes>
        <type>Forum</type>
      </subtypes>
    </type>

    <type coretype="Forum" id="Forum">
      <label>Forum</label>
      <icon>/icons/forum.gif</icon>
      <default-view>view_documents</default-view>
      <bigIcon>/icons/forum_100.png</bigIcon>
      <description>Forum.description</description>
      <category>Collaborative</category>
      <subtypes>
        <type>Thread</type>
      </subtypes>
      <layouts mode="any">
        <layout>heading</layout>
      </layouts>
      <contentViews category="content">
        <contentView>forum_content</contentView>
      </contentViews>
      <contentViews category="trash_content">
        <contentView showInExportView="false">
          document_trash_content
        </contentView>
      </contentViews>
    </type>

    <type coretype="Thread" id="Thread">
      <label>Thread</label>
      <icon>/icons/forum_thread.gif</icon>
      <bigIcon>/icons/forum_thread.gif</bigIcon>
      <description>Thread.description</description>
      <category>SimpleDocument</category>
      <default-view>view_documents</default-view>
      <create-view>thread_create</create-view>
      <layouts mode="any">
        <layout>heading</layout>
      </layouts>
    </type>

    <type coretype="Post" id="Post">
      <icon>/icons/forum_post.gif</icon>
      <label>label.document.post</label>
    </type>
  </extension>