Platform Explorer / Nuxeo Platform LTS 2015 7.10

Contribution org.nuxeo.drive.adapters.hierarchy.userworkspace--fileSystemItemFactory

This contribution is part of XML component org.nuxeo.drive.adapters.hierarchy.userworkspace inside nuxeo-drive-core-7.10-HF07.jar /OSGI-INF/nuxeodrive-hierarchy-userworkspace-adapter-contrib.xml

Extension point

Extension point fileSystemItemFactory of component FileSystemItemAdapterService.

Contributed items

  • <fileSystemItemFactory class="org.nuxeo.drive.hierarchy.userworkspace.factory.UserWorkspaceSyncRootParentFactory" name="userWorkspaceSyncRootParentFactory" order="30">
          <parameters>
            <parameter name="folderName">My synchronized folders</parameter>
          </parameters>
        </fileSystemItemFactory>
  • <fileSystemItemFactory class="org.nuxeo.drive.hierarchy.userworkspace.factory.UserWorkspaceSyncRootFactory" facet="DriveSynchronized" name="userWorkspaceSyncRootFactory" order="40">
          <parameters>
            <parameter name="syncRootParentFactory">userWorkspaceSyncRootParentFactory
            </parameter>
          </parameters>
        </fileSystemItemFactory>

XML source

<extension point="fileSystemItemFactory" target="org.nuxeo.drive.service.FileSystemItemAdapterService">

    <!-- Synchronization root parent factory: order before the "userWorkspaceSyncRootFactory" 
      that has an order of 40 and before the "defaultFileSystemItemFactory" that 
      has an order of 50 -->
    <fileSystemItemFactory class="org.nuxeo.drive.hierarchy.userworkspace.factory.UserWorkspaceSyncRootParentFactory" name="userWorkspaceSyncRootParentFactory" order="30">
      <parameters>
        <parameter name="folderName">My synchronized folders</parameter>
      </parameters>
    </fileSystemItemFactory>

    <!-- Synchronization root factory: order before the "defaultFileSystemItemFactory" 
      that has an order of 50 -->
    <fileSystemItemFactory class="org.nuxeo.drive.hierarchy.userworkspace.factory.UserWorkspaceSyncRootFactory" facet="DriveSynchronized" name="userWorkspaceSyncRootFactory" order="40">
      <parameters>
        <parameter name="syncRootParentFactory">userWorkspaceSyncRootParentFactory
        </parameter>
      </parameters>
    </fileSystemItemFactory>

  </extension>