Platform Explorer / Nuxeo Platform LTS 2017 9.10

Contribution org.nuxeo.ecm.platform.threed.layouts--widgettypes

This contribution is part of XML component org.nuxeo.ecm.platform.threed.layouts inside nuxeo-platform-3d-jsf-9.10.jar /OSGI-INF/threed-layouts-contrib.xml

Extension point

Extension point widgettypes of component WebLayoutManager.

Contributed items

  • <widgetType name="threed_render_view">
          <configuration>
            <sinceVersion>8.4</sinceVersion>
            <title>3D render view</title>
            <description>
              <p>
                This widget displays the render view of
                a document having the facet
                'ThreeD'.
              </p>
            </description>
            <handlingLabels>true</handlingLabels>
            <categories>
              <category>summary</category>
            </categories>
            <supportedModes>
              <mode>view</mode>
            </supportedModes>
            <!-- no configurable properties -->
          </configuration>
    
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/threed_render_view_widget_template.xhtml
          </property>
        </widgetType>

    This widget displays the render view of a document having the facet 'ThreeD'.

  • <widgetType name="threed_viewer">
          <configuration>
            <sinceVersion>8.4</sinceVersion>
            <title>3D viewer</title>
            <description>
              <p>
                This widget displays the viewer of
                a document having the facet
                'ThreeD'.
              </p>
            </description>
            <handlingLabels>true</handlingLabels>
            <categories>
              <category>summary</category>
            </categories>
            <supportedModes>
              <mode>view</mode>
            </supportedModes>
            <!-- no configurable properties -->
          </configuration>
    
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/threed_3d_viewer_template.xhtml
          </property>
        </widgetType>

    This widget displays the viewer of a document having the facet 'ThreeD'.

  • <widgetType name="threed_transmission_format">
          <configuration>
            <sinceVersion>8.4</sinceVersion>
            <title>3D transmission format</title>
            <description>
              <p>
                This widget displays the transmission format versions
                a document having the facet
                'ThreeD'.
              </p>
            </description>
            <handlingLabels>true</handlingLabels>
            <categories>
              <category>summary</category>
            </categories>
            <supportedModes>
              <mode>view</mode>
            </supportedModes>
            <!-- no configurable properties -->
          </configuration>
    
          <handler-class>
            org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
          </handler-class>
          <property name="template">
            /widgets/threed_transmisson_formats_template.xhtml
          </property>
        </widgetType>

    This widget displays the transmission format versions a document having the facet 'ThreeD'.

XML source

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

    <widgetType name="threed_render_view">
      <configuration>
        <sinceVersion>8.4</sinceVersion>
        <title>3D render view</title>
        <description>
          <p>
            This widget displays the render view of
            a document having the facet
            'ThreeD'.
          </p>
        </description>
        <handlingLabels>true</handlingLabels>
        <categories>
          <category>summary</category>
        </categories>
        <supportedModes>
          <mode>view</mode>
        </supportedModes>
        <!-- no configurable properties -->
      </configuration>

      <handler-class>
        org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
      </handler-class>
      <property name="template">
        /widgets/threed_render_view_widget_template.xhtml
      </property>
    </widgetType>

    <widgetType name="threed_viewer">
      <configuration>
        <sinceVersion>8.4</sinceVersion>
        <title>3D viewer</title>
        <description>
          <p>
            This widget displays the viewer of
            a document having the facet
            'ThreeD'.
          </p>
        </description>
        <handlingLabels>true</handlingLabels>
        <categories>
          <category>summary</category>
        </categories>
        <supportedModes>
          <mode>view</mode>
        </supportedModes>
        <!-- no configurable properties -->
      </configuration>

      <handler-class>
        org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
      </handler-class>
      <property name="template">
        /widgets/threed_3d_viewer_template.xhtml
      </property>
    </widgetType>

    <widgetType name="threed_transmission_format">
      <configuration>
        <sinceVersion>8.4</sinceVersion>
        <title>3D transmission format</title>
        <description>
          <p>
            This widget displays the transmission format versions
            a document having the facet
            'ThreeD'.
          </p>
        </description>
        <handlingLabels>true</handlingLabels>
        <categories>
          <category>summary</category>
        </categories>
        <supportedModes>
          <mode>view</mode>
        </supportedModes>
        <!-- no configurable properties -->
      </configuration>

      <handler-class>
        org.nuxeo.ecm.platform.forms.layout.facelets.plugins.TemplateWidgetTypeHandler
      </handler-class>
      <property name="template">
        /widgets/threed_transmisson_formats_template.xhtml
      </property>
    </widgetType>

  </extension>