Platform Explorer / Nuxeo Platform LTS 2015 7.10

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-7.10-HF07.jar /OSGI-INF/directory-ui-contrib.xml

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="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"/>
  • <directory layout="l10ncoverage_vocabulary" name="l10ncoverage" sortField="id">
          <deleteConstraint class="org.nuxeo.ecm.directory.api.ui.HierarchicalDirectoryUIDeleteConstraint">
            <property name="targetDirectory">l10ncoverage</property>
            <property name="targetDirectoryField">parent</property>
          </deleteConstraint>
        </directory>
  • <directory layout="l10nsubjects_vocabulary" name="l10nsubjects" sortField="id">
          <deleteConstraint class="org.nuxeo.ecm.directory.api.ui.HierarchicalDirectoryUIDeleteConstraint">
            <property name="targetDirectory">l10nsubjects</property>
            <property name="targetDirectoryField">parent</property>
          </deleteConstraint>
        </directory>

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"/>

    <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"/>

    <directory layout="l10ncoverage_vocabulary" name="l10ncoverage" sortField="id">
      <deleteConstraint class="org.nuxeo.ecm.directory.api.ui.HierarchicalDirectoryUIDeleteConstraint">
        <property name="targetDirectory">l10ncoverage</property>
        <property name="targetDirectoryField">parent</property>
      </deleteConstraint>
    </directory>
    <directory layout="l10nsubjects_vocabulary" name="l10nsubjects" sortField="id">
      <deleteConstraint class="org.nuxeo.ecm.directory.api.ui.HierarchicalDirectoryUIDeleteConstraint">
        <property name="targetDirectory">l10nsubjects</property>
        <property name="targetDirectoryField">parent</property>
      </deleteConstraint>
    </directory>

  </extension>