Platform Explorer / Nuxeo Platform LTS 2015 7.10

Contribution org.nuxeo.drive.actions--actions

This contribution is part of XML component org.nuxeo.drive.actions inside nuxeo-drive-jsf-7.10.jar /OSGI-INF/nuxeodrive-actions.xml

Extension point

Extension point actions of component ActionService.

Contributed items

  • <action icon="/icons/drive_unsynced.png" id="driveSynchronizeCurrentDocument" label="command.driveSynchronizeFolder" link="#{nuxeoDriveActions.synchronizeCurrentDocument}" order="25" type="link">
          <category>DOCUMENT_UPPER_ACTION</category>
          <filter-id>can_sync_current_doc</filter-id>
        </action>
  • <action icon="/icons/drive_synced.png" id="driveUnsynchronizeCurrentDocument" label="command.driveUnsynchronizeFolder" link="#{nuxeoDriveActions.unsynchronizeCurrentDocument}" order="25" type="link">
          <category>DOCUMENT_UPPER_ACTION</category>
          <filter-id>can_unsync_current_doc</filter-id>
        </action>
  • <action icon="/icons/drive_synced_under_root.png" id="driveNavigateToCurrentSynchronizationRoot" label="command.navigateToSynchronizationRoot" link="#{nuxeoDriveActions.navigateToCurrentSynchronizationRoot}" order="25" type="link">
          <category>DOCUMENT_UPPER_ACTION</category>
          <filter-id>can_navigate_to_current_synchronization_root
          </filter-id>
        </action>
  • <action icon="/icons/drive_edit.png" id="driveEdit" label="command.driveEdit" link="#{nuxeoDriveActions.driveEditURL}" order="200" type="bare_link">
          <category>BLOB_ACTIONS</category>
          <filter-id>has_one_auth_token</filter-id>
          <filter-id>can_drive_edit</filter-id>
          <filter-id>isMainBlob</filter-id>
        </action>
  • <action icon="/icons/drive_edit.png" id="driveEditListing" label="command.driveEdit" link="#{nuxeoDriveActions.getDriveEditURL(actionContextDocument)}" order="200" type="bare_link">
          <category>BLOB_ACTIONS_LISTING</category>
          <filter-id>has_one_auth_token</filter-id>
          <filter-id>can_drive_edit</filter-id>
        </action>
  • <action icon="/icons/drive_edit.png" id="driveEditUserCenterNuxeoDrive" label="command.driveEdit" link="#{nuxeoDriveActions.navigateToUserCenterNuxeoDrive}" order="50">
          <category>BLOB_ACTIONS</category>
          <filter-id>has_no_auth_token</filter-id>
          <filter-id>can_drive_edit</filter-id>
          <filter-id>isMainBlob</filter-id>
        </action>
  • <action icon="/icons/drive_edit.png" id="infoViewDriveEdit" label="command.driveEdit" link="#{nuxeoDriveActions.driveEditURL}" order="50" type="bare_link">
          <category>INFO_VIEW_ACTIONS</category>
          <filter-id>has_one_auth_token</filter-id>
          <filter-id>can_drive_edit</filter-id>
        </action>
  • <action icon="/icons/drive_tab.png" id="userCenterNuxeoDrive" label="user.center.nuxeoDrive" link="/incl/nuxeodrive/user_center_nuxeo_drive.xhtml" order="100">
          <category>USER_CENTER</category>
        </action>

XML source

<extension point="actions" target="org.nuxeo.ecm.platform.actions.ActionService">

    <action icon="/icons/drive_unsynced.png" id="driveSynchronizeCurrentDocument" label="command.driveSynchronizeFolder" link="#{nuxeoDriveActions.synchronizeCurrentDocument}" order="25" type="link">
      <category>DOCUMENT_UPPER_ACTION</category>
      <filter-id>can_sync_current_doc</filter-id>
    </action>

    <action icon="/icons/drive_synced.png" id="driveUnsynchronizeCurrentDocument" label="command.driveUnsynchronizeFolder" link="#{nuxeoDriveActions.unsynchronizeCurrentDocument}" order="25" type="link">
      <category>DOCUMENT_UPPER_ACTION</category>
      <filter-id>can_unsync_current_doc</filter-id>
    </action>

    <action icon="/icons/drive_synced_under_root.png" id="driveNavigateToCurrentSynchronizationRoot" label="command.navigateToSynchronizationRoot" link="#{nuxeoDriveActions.navigateToCurrentSynchronizationRoot}" order="25" type="link">
      <category>DOCUMENT_UPPER_ACTION</category>
      <filter-id>can_navigate_to_current_synchronization_root
      </filter-id>
    </action>

    <action icon="/icons/drive_edit.png" id="driveEdit" label="command.driveEdit" link="#{nuxeoDriveActions.driveEditURL}" order="200" type="bare_link">
      <category>BLOB_ACTIONS</category>
      <filter-id>has_one_auth_token</filter-id>
      <filter-id>can_drive_edit</filter-id>
      <filter-id>isMainBlob</filter-id>
    </action>

    <action icon="/icons/drive_edit.png" id="driveEditListing" label="command.driveEdit" link="#{nuxeoDriveActions.getDriveEditURL(actionContextDocument)}" order="200" type="bare_link">
      <category>BLOB_ACTIONS_LISTING</category>
      <filter-id>has_one_auth_token</filter-id>
      <filter-id>can_drive_edit</filter-id>
    </action>

    <action icon="/icons/drive_edit.png" id="driveEditUserCenterNuxeoDrive" label="command.driveEdit" link="#{nuxeoDriveActions.navigateToUserCenterNuxeoDrive}" order="50">
      <category>BLOB_ACTIONS</category>
      <filter-id>has_no_auth_token</filter-id>
      <filter-id>can_drive_edit</filter-id>
      <filter-id>isMainBlob</filter-id>
    </action>

    <action icon="/icons/drive_edit.png" id="infoViewDriveEdit" label="command.driveEdit" link="#{nuxeoDriveActions.driveEditURL}" order="50" type="bare_link">
      <category>INFO_VIEW_ACTIONS</category>
      <filter-id>has_one_auth_token</filter-id>
      <filter-id>can_drive_edit</filter-id>
    </action>

    <action icon="/icons/drive_tab.png" id="userCenterNuxeoDrive" label="user.center.nuxeoDrive" link="/incl/nuxeodrive/user_center_nuxeo_drive.xhtml" order="100">
      <category>USER_CENTER</category>
    </action>

  </extension>