Platform Explorer / Nuxeo Platform LTS 2015 7.10

Extension point topLevelFolderItemFactory

This extension point lets you contribute the factory for the top level FolderItem.

Example of the DefaultTopLevelFolderItemFactory:

    <extension point="topLevelFolderItemFactory" target="org.nuxeo.drive.service.FileSystemItemAdapterService">
        <topLevelFolderItemFactory class="org.nuxeo.drive.service.impl.DefaultTopLevelFolderItemFactory"/>
    </extension>

Contribution Descriptor

Existing Contributions

  • nuxeo-drive-core-7.10-HF07.jar /OSGI-INF/nuxeodrive-hierarchy-userworkspace-adapter-contrib.xml
    <extension point="topLevelFolderItemFactory" target="org.nuxeo.drive.service.FileSystemItemAdapterService">
        <topLevelFolderItemFactory class="org.nuxeo.drive.hierarchy.userworkspace.factory.UserWorkspaceTopLevelFactory">
          <parameters>
            <parameter name="folderName">Nuxeo Drive</parameter>
            <parameter name="syncRootParentFactory">userWorkspaceSyncRootParentFactory
            </parameter>
          </parameters>
        </topLevelFolderItemFactory>
      </extension>
  • nuxeo-drive-core-7.10-HF07.jar /OSGI-INF/nuxeodrive-hierarchy-permission-adapter-contrib.xml
    <extension point="topLevelFolderItemFactory" target="org.nuxeo.drive.service.FileSystemItemAdapterService">
        <topLevelFolderItemFactory class="org.nuxeo.drive.hierarchy.permission.factory.PermissionTopLevelFactory">
          <parameters>
            <parameter name="folderName">Nuxeo Drive</parameter>
            <parameter name="childrenFactories">userSyncRootParentFactory,sharedSyncRootParentFactory
            </parameter>
          </parameters>
        </topLevelFolderItemFactory>
      </extension>
  • nuxeo-drive-core-7.10-HF07.jar /OSGI-INF/nuxeodrive-adapter-contrib.xml
    <extension point="topLevelFolderItemFactory" target="org.nuxeo.drive.service.FileSystemItemAdapterService">
    
        <topLevelFolderItemFactory class="org.nuxeo.drive.service.impl.DefaultTopLevelFolderItemFactory">
          <parameters>
            <parameter name="folderName">Nuxeo Drive</parameter>
          </parameters>
        </topLevelFolderItemFactory>
    
      </extension>