Platform Explorer / Nuxeo Platform 6.0

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-6.0.jar
    <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-6.0.jar
    <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-6.0.jar
    <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>