Platform Explorer / Nuxeo Platform 9.2

Contribution filemanager.core.listener.icon--listener

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

Documentation

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>