Platform Explorer / Nuxeo Platform LTS 2015 7.10

Contribution filemanager.core.listener.icon--listener

This contribution is part of XML component filemanager.core.listener.icon inside nuxeo-platform-filemanager-core-listener-7.10.jar /OSGI-INF/filemanager-iconupdater-event-contrib.xml

Computes the mimetype of dirty blob fields and updates the document icon if necessary.

Extension point

Extension point listener of component EventServiceComponent.

Contributed items

  • <listener async="false" class="org.nuxeo.ecm.platform.filemanager.core.listener.MimetypeIconUpdater" name="mimetypeIconUpdater" postCommit="false" priority="120">
          <event>aboutToCreate</event>
          <event>beforeDocumentModification</event>
        </listener>

XML source

<extension point="listener" target="org.nuxeo.ecm.core.event.EventServiceComponent">
    <documentation>
      Computes the mimetype of dirty blob fields and updates the document icon if necessary.
     </documentation>
    <listener async="false" class="org.nuxeo.ecm.platform.filemanager.core.listener.MimetypeIconUpdater" name="mimetypeIconUpdater" postCommit="false" priority="120">
      <event>aboutToCreate</event>
      <event>beforeDocumentModification</event>
    </listener>
  </extension>