Platform Explorer / Nuxeo Platform 5.6

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

This contribution is part of XML component org.nuxeo.ecm.platform.comment.types inside nuxeo-platform-comment-web-5.6.jar

Extension point

Extension point types of component TypeService.

Contributed items

  • <type id="Domain">
          <subtypes>
            <type hidden="create">CommentRoot</type>
          </subtypes>
        </type>
  • <type id="CommentRoot">
          <label>CommentRoot</label>
          <icon>/icons/folder.gif</icon>
          <default-view>view_documents</default-view>
          <subtypes>
            <type hidden="create">Folder</type>
            <type hidden="create">HiddenFolder</type>
          </subtypes>
          <layouts mode="any">
            <layout>heading</layout>
          </layouts>
        </type>
  • <type id="Comment">
          <label>label.document.comment</label>
          <icon>/img/icons/comment.gif</icon>
          <default-view>comment_view</default-view>
          <create-view>comment_create</create-view>
        </type>

XML source

<extension point="types" target="org.nuxeo.ecm.platform.types.TypeService">
    <type id="Domain">
      <subtypes>
        <type hidden="create">CommentRoot</type>
      </subtypes>
    </type>

    <type id="CommentRoot">
      <label>CommentRoot</label>
      <icon>/icons/folder.gif</icon>
      <default-view>view_documents</default-view>
      <subtypes>
        <type hidden="create">Folder</type>
        <type hidden="create">HiddenFolder</type>
      </subtypes>
      <layouts mode="any">
        <layout>heading</layout>
      </layouts>
    </type>

    <type id="Comment">
      <label>label.document.comment</label>
      <icon>/img/icons/comment.gif</icon>
      <default-view>comment_view</default-view>
      <create-view>comment_create</create-view>
    </type>
  </extension>