Platform Explorer / Nuxeo Platform LTS 2015 7.10

Extension point diffDisplay

A diffDisplay contribution defines which diffBlocks will be
displayed in the document diff view for a given
document type.
The order matters.

If the 2 diffed documents have the same type, the diffDisplay matching this type is used, otherwise or if such a diffDisplay does not exist, the default diff display is used. The default diff display takes into account every different field of every common schema between the compared documents, in an undefined order.

    <diffDisplay type="File">
        <diffBlocks>
            <diffBlock name="dublincore"/>
            <diffBlock name="files"/>
        </diffBlocks>
    </diffDisplay>
    <diffDisplay enabled="false" type="Note"/>

Contribution Descriptor

Existing Contributions

  • nuxeo-diff-jsf-7.10-HF03.jar /OSGI-INF/diff-display-contrib.xml
    <extension point="diffDisplay" target="org.nuxeo.ecm.diff.service.DiffDisplayService">
    
        <diffDisplay type="Folder">
          <diffBlocks>
            <diffBlock name="dublincore"/>
          </diffBlocks>
        </diffDisplay>
    
        <diffDisplay type="File">
          <diffBlocks>
            <diffBlock name="dublincore"/>
            <diffBlock name="files"/>
          </diffBlocks>
        </diffDisplay>
    
        <diffDisplay type="Note">
          <diffBlocks>
            <diffBlock name="dublincore"/>
            <diffBlock name="note"/>
            <diffBlock name="files"/>
          </diffBlocks>
        </diffDisplay>
    
      </extension>