Platform Explorer / CMF 1.8

Contribution org.nuxeo.ecm.webapp.directory.directoryUI--directories

This contribution is part of XML component org.nuxeo.ecm.webapp.directory.directoryUI inside nuxeo-platform-webapp-core-5.4.2-HF05.jar

Extension Point

Extension point directories of component DirectoryUIManager.

Contributed Items

  • <directory layout="vocabulary" name="continent" sortField="label">
          <deleteConstraint class="org.nuxeo.ecm.directory.api.ui.HierarchicalDirectoryUIDeleteConstraint">
            <property name="targetDirectory">country</property>
            <property name="targetDirectoryField">parent</property>
          </deleteConstraint>
        </directory>
  • <directory layout="country_vocabulary" name="country" sortField="parent"/>
  • <directory layout="vocabulary" name="topic" sortField="label">
          <deleteConstraint class="org.nuxeo.ecm.directory.api.ui.HierarchicalDirectoryUIDeleteConstraint">
            <property name="targetDirectory">subtopic</property>
            <property name="targetDirectoryField">parent</property>
          </deleteConstraint>
        </directory>
  • <directory layout="subtopic_vocabulary" name="subtopic" sortField="parent"/>
  • <directory layout="vocabulary" name="subject" sortField="label"/>
  • <directory layout="vocabulary" name="sort_order" sortField="label"/>
  • <directory layout="vocabulary" name="search_operators" sortField="label"/>
  • <directory layout="vocabulary" name="predicates" sortField="label"/>
  • <directory layout="vocabulary" name="inverse_predicates" sortField="label"/>
  • <directory layout="vocabulary" name="language" sortField="label"/>
  • <directory layout="vocabulary" name="nature" sortField="label"/>

XML Source

<extension point="directories" target="org.nuxeo.ecm.directory.ui.DirectoryUIManager">

    <directory layout="vocabulary" name="continent" sortField="label">
      <deleteConstraint class="org.nuxeo.ecm.directory.api.ui.HierarchicalDirectoryUIDeleteConstraint">
        <property name="targetDirectory">country</property>
        <property name="targetDirectoryField">parent</property>
      </deleteConstraint>
    </directory>
    <directory layout="country_vocabulary" name="country" sortField="parent"/>

    <directory layout="vocabulary" name="topic" sortField="label">
      <deleteConstraint class="org.nuxeo.ecm.directory.api.ui.HierarchicalDirectoryUIDeleteConstraint">
        <property name="targetDirectory">subtopic</property>
        <property name="targetDirectoryField">parent</property>
      </deleteConstraint>
    </directory>
    <directory layout="subtopic_vocabulary" name="subtopic" sortField="parent"/>

    <!-- seems it's not used anymore -->
    <directory layout="vocabulary" name="subject" sortField="label"/>

    <directory layout="vocabulary" name="sort_order" sortField="label"/>

    <directory layout="vocabulary" name="search_operators" sortField="label"/>

    <directory layout="vocabulary" name="predicates" sortField="label"/>
    <directory layout="vocabulary" name="inverse_predicates" sortField="label"/>
    <directory layout="vocabulary" name="language" sortField="label"/>
    <directory layout="vocabulary" name="nature" sortField="label"/>

  </extension>