Platform Explorer / Nuxeo Platform 5.6

Contribution org.nuxeo.ecm.platform.preview.adapter.contrib--MimeTypePreviewer

This contribution is part of XML component org.nuxeo.ecm.platform.preview.adapter.contrib inside nuxeo-platform-preview-5.6.jar

Extension point

Extension point MimeTypePreviewer of component PreviewAdapterManagerComponent.

Contributed items

  • <previewer class="org.nuxeo.ecm.platform.preview.adapter.ImagePreviewer">
            <pattern>image.*</pattern>
          </previewer>
  • <previewer class="org.nuxeo.ecm.platform.preview.adapter.HtmlPreviewer">
            <pattern>text/html</pattern>
          </previewer>
  • <previewer class="org.nuxeo.ecm.platform.preview.adapter.PlainTextPreviewer">
            <pattern>text/plain</pattern>
          </previewer>

XML source

<extension point="MimeTypePreviewer" target="org.nuxeo.ecm.platform.preview.adapter.PreviewAdapterManagerComponent">
      <previewer class="org.nuxeo.ecm.platform.preview.adapter.ImagePreviewer">
        <pattern>image.*</pattern>
      </previewer>
      <previewer class="org.nuxeo.ecm.platform.preview.adapter.HtmlPreviewer">
        <pattern>text/html</pattern>
      </previewer>
      <previewer class="org.nuxeo.ecm.platform.preview.adapter.PlainTextPreviewer">
        <pattern>text/plain</pattern>
      </previewer>
    </extension>