Platform Explorer / Nuxeo Platform 5.8

Extension point activeFileSystemItemFactories

Documentation

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