<?xml version="1.0"?>
<component name="org.nuxeo.ecm.platform.routing.layouts.webapp.override">

  <require>org.nuxeo.ecm.platform.routing.layouts.webapp</require>

  <extension point="widgettypes" target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager">

    <widgetType name="summary_current_route_action">
      <handler-class>
        org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
      </handler-class>
      <property name="template">
        /widgets/summary/summary_current_route_action.xhtml
      </property>
    </widgetType>
    <widgetType name="summary_current_route_actions_lock">
      <handler-class>
        org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
      </handler-class>
      <property name="template">
        /widgets/summary/summary_actions_lock_route_widget_template.xhtml
      </property>
    </widgetType>
    <widgetType name="summary_document_route_action">
      <configuration>
        <sinceVersion>1.8</sinceVersion>
        <title>Related route summary</title>
        <description>
          This widgets allows to view/start a route related
          to the current Case.
        </description>
        <categories>
          <!-- deprecated summary => remove from this category -->
          <!-- <category>summary</category> -->
          <category>cmf</category>
        </categories>
        <supportedModes>
          <mode>view</mode>
          <mode>edit</mode>
        </supportedModes>
        <!-- no configurable properties -->
      </configuration>
      <handler-class>
        org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
      </handler-class>
      <property name="template">
        /widgets/summary/summary_document_route_action.xhtml
      </property>
    </widgetType>
  </extension>

</component>
