Platform Explorer / Nuxeo Platform 5.6

Component org.nuxeo.theme.core

Services

Extension points

Contributions

XML source

<?xml version="1.0"?>
<component name="org.nuxeo.theme.core">

  <documentation>
    Contributions to NXThemes Core. Core features are registered
    here. @author Jean-Marc Orliaguet (jmo@chalmers.se)
  </documentation>

  <extension target="org.nuxeo.theme.services.ThemeService"
      point="registries">

    <registry name="types">
      <class>org.nuxeo.theme.types.TypeRegistry</class>
    </registry>

    <registry name="uids">
      <class>org.nuxeo.theme.uids.UidManager</class>
    </registry>

    <registry name="relations">
      <class>org.nuxeo.theme.relations.RelationStorage</class>
    </registry>

    <registry name="themes">
      <class>org.nuxeo.theme.themes.ThemeManager</class>
    </registry>

    <registry name="resources">
      <class>org.nuxeo.theme.resources.ResourceManager</class>
    </registry>

    <registry name="perspectives">
      <class>
        org.nuxeo.theme.perspectives.PerspectiveManager
      </class>
    </registry>

    <registry name="vocabularies">
      <class>
        org.nuxeo.theme.vocabularies.VocabularyManager
      </class>
    </registry>

  </extension>

  <extension target="org.nuxeo.theme.services.ThemeService"
      point="perspectives">

    <perspective name="default">
      <title>Default perspective</title>
    </perspective>

  </extension>

  <extension target="org.nuxeo.theme.services.ThemeService"
      point="elements">

    <element name="theme">
      <class>org.nuxeo.theme.elements.ThemeElement</class>
      <node-type>inner</node-type>
    </element>

    <element name="page">
      <class>org.nuxeo.theme.elements.PageElement</class>
      <node-type>inner</node-type>
    </element>

    <element name="section">
      <class>org.nuxeo.theme.elements.SectionElement</class>
      <node-type>inner</node-type>
    </element>

    <element name="cell">
      <class>org.nuxeo.theme.elements.CellElement</class>
      <node-type>inner</node-type>
    </element>

    <element name="fragment">
      <node-type>leaf</node-type>
    </element>

  </extension>

  <extension target="org.nuxeo.theme.services.ThemeService"
      point="formats">

    <format name="widget">
      <predicate>_ has widget _</predicate>
      <class>org.nuxeo.theme.formats.widgets.WidgetFormat</class>
    </format>

    <format name="style">
      <predicate>_ has style _</predicate>
      <class>org.nuxeo.theme.formats.styles.StyleFormat</class>
    </format>

    <format name="layout">
      <predicate>_ has layout _</predicate>
      <class>org.nuxeo.theme.formats.layouts.LayoutFormat</class>
    </format>

  </extension>

  <extension target="org.nuxeo.theme.services.ThemeService"
      point="format-filters">

    <format-filter name="add widget">
      <format-type>widget</format-type>
    </format-filter>

    <format-filter name="set style">
      <format-type>style</format-type>
    </format-filter>

    <format-filter name="set layout">
      <format-type>layout</format-type>
    </format-filter>

  </extension>

</component>

Documentation

Contributions to NXThemes Core. Core features are registered here. @author Jean-Marc Orliaguet (jmo@chalmers.se)