Platform Explorer / Nuxeo Platform LTS 2015 7.10

Extension point activeFileSystemItemFactories

This extension point lets you contribute the active FileSystemItem factories.

Example of the default contribution:

    <extension point="activeFileSystemItemFactories" target="org.nuxeo.drive.service.FileSystemItemAdapterService">
        <activeTopLevelFolderItemFactory>org.nuxeo.drive.service.impl.DefaultTopLevelFolderItemFactory
          </activeTopLevelFolderItemFactory>
        <activeFileSystemItemFactories>
            <factories>
                <factory>defaultSyncRootFolderItemFactory</factory>
                <factory>defaultFileSystemItemFactory</factory>
            </factories>
        </activeFileSystemItemFactories>
    </extension>

Example of a custom contribution:

    <extension point="activeFileSystemItemFactories" target="org.nuxeo.drive.service.FileSystemItemAdapterService">
        <activeTopLevelFolderItemFactory>org.nuxeo.drive.hierarchy.userworkspace.factory.UserWorkspaceTopLevelFactory
          </activeTopLevelFolderItemFactory>
        <activeFileSystemItemFactories merge="true">
            <factories>
                <factory enabled="false">defaultSyncRootFolderItemFactory</factory>
                <factory>userWorkspaceSyncRootParentFactory</factory>
                <factory>userWorkspaceSyncRootFactory</factory>
            </factories>
        </activeFileSystemItemFactories>
    </extension>

Contribution Descriptor

Existing Contributions

  • nuxeo-drive-core-7.10-HF07.jar /OSGI-INF/nuxeodrive-adapter-contrib.xml
    <extension point="activeFileSystemItemFactories" target="org.nuxeo.drive.service.FileSystemItemAdapterService">
    
        <activeTopLevelFolderItemFactory>org.nuxeo.drive.service.impl.DefaultTopLevelFolderItemFactory
        </activeTopLevelFolderItemFactory>
    
        <activeFileSystemItemFactories>
          <factories>
            <factory>collectionSyncRootFolderItemFactory</factory>
            <factory>defaultSyncRootFolderItemFactory</factory>
            <factory>defaultFileSystemItemFactory</factory>
          </factories>
        </activeFileSystemItemFactories>
    
      </extension>