Platform Explorer / Nuxeo Platform LTS 2015 7.10

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-7.10-HF07.jar /OSGI-INF/preview-adapter-contrib.xml

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>