Platform Explorer / Nuxeo Platform LTS 2015 7.10

Component org.nuxeo.ecm.platform.preview.adapter.contrib

Services

Extension points

Contributions

XML source

<?xml version="1.0"?>
<component name="org.nuxeo.ecm.platform.preview.adapter.contrib">
  <extension target="org.nuxeo.ecm.platform.preview.adapter.PreviewAdapterManagerComponent"
    point="AdapterFactory">

    <documentation>
    Default builtin adapters
    </documentation>

    <previewAdapter name="notePreviewAdapter" enabled="false">
      <typeName>Note</typeName>
      <class>org.nuxeo.ecm.platform.preview.adapter.factories.NotePreviewAdapter</class>
    </previewAdapter>

  </extension>

    <extension target="org.nuxeo.ecm.platform.preview.adapter.PreviewAdapterManagerComponent"
    point="MimeTypePreviewer">
      <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>
</component>

Documentation