Platform Explorer / Nuxeo Platform LTS 2016 8.10

Extension point topLevelFolderItemFactory

Documentation

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 Descriptors

Existing Contributions

Contributions are presented in the same order as the registration order on this extension point. This order is displayed before the contribution name, in brackets.

  • nuxeo-drive-core-8.10.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>
  • nuxeo-drive-core-8.10.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-8.10.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>