Platform Explorer / Nuxeo Platform 5.6

Contribution org.nuxeo.ecm.platform.preview.actions--filters

This contribution is part of XML component org.nuxeo.ecm.platform.preview.actions inside nuxeo-platform-preview-5.6.jar

Extension point

Extension point filters of component ActionService.

Contributed items

  • <filter id="view_preview">
          <rule grant="true">
            <condition>#{previewActions.hasPreview}</condition>
          </rule>
        </filter>
  • <filter id="popup_view_preview">
          <rule grant="true">
            <condition>#{previewActions.documentHasPreview(document)}</condition>
          </rule>
          <rule grant="false">
            <facet>Folderish</facet>
          </rule>
        </filter>

XML source

<extension point="filters" target="org.nuxeo.ecm.platform.actions.ActionService">

    <filter id="view_preview">
      <rule grant="true">
        <condition>#{previewActions.hasPreview}</condition>
      </rule>
    </filter>

    <filter id="popup_view_preview">
      <rule grant="true">
        <condition>#{previewActions.documentHasPreview(document)}</condition>
      </rule>
      <rule grant="false">
        <facet>Folderish</facet>
      </rule>
    </filter>

  </extension>