Platform Explorer / Nuxeo Platform 2023.10

Contribution filemanager.core.listener.icon--listener

This contribution is part of XML component filemanager.core.listener.icon inside nuxeo-platform-filemanager-2023.10.13.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.

Registration Order

26
The registration order represents the order in which this contribution was registered on its target extention point. This will impact the override/merge behaviour when it is implemented on the target service, and is useful for proper customization of existing contributions.
You can influence this order by adding "require" tags in the containing component declaration, to make sure it is resolved after another component (see "Resolution Order" on components).

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>
          <event>aboutToImport</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>
      <event>aboutToImport</event>
    </listener>
  </extension>