<configure
    xmlns="http://namespaces.zope.org/zope"
    xmlns:plone="http://namespaces.plone.org/plone"
    i18n_domain="untranslated"
    >

  <include
      package="plone.tiles"
      file="meta.zcml"
      />

  <adapter
      factory="Products.CMFPlone.browser.navtree.DefaultNavtreeStrategy"
      provides="plone.app.layout.navigation.interfaces.INavtreeStrategy"
      for="ploneintranet.workspace.workspacefolder.IWorkspaceFolder
           *"
      />

  <plone:tile
      name="navigation.tile"
      title="Side navigation"
      description="A tile for the side navigation of a workspace"
      for="ploneintranet.workspace.workspacefolder.IWorkspaceFolder"
      class=".navigation.NavigationTile"
      permission="zope2.View"
      add_permission="cmf.ManagePortal"
      layer="ploneintranet.workspace.interfaces.IPloneintranetWorkspaceLayer"
      />

  <plone:tile
      name="workspaces.tile"
      title="Workspaces tile"
      description="A tile showing user workspaces and related activity"
      for="*"
      class=".workspaces.WorkspacesTile"
      permission="zope2.View"
      add_permission="cmf.ManagePortal"
      layer="ploneintranet.workspace.interfaces.IPloneintranetWorkspaceLayer"
      />

  <plone:tile
      name="workspace.tile"
      title="Workspace tile"
      description="A display the workspace tile"
      for="*"
      class=".workspaces.WorkspaceTile"
      permission="zope2.View"
      add_permission="cmf.ManagePortal"
      layer="ploneintranet.workspace.interfaces.IPloneintranetWorkspaceLayer"
      />

  <plone:tile
      name="workspace.tile.small"
      title="Workspace tile (small version for bookmarks portlet)"
      description="A display of workspaces for the bookmarks portlet"
      for="*"
      class=".workspaces.WorkspaceTileSmall"
      permission="zope2.View"
      add_permission="cmf.ManagePortal"
      layer="ploneintranet.workspace.interfaces.IPloneintranetWorkspaceLayer"
      />

  <plone:tile
      name="workspace.tabs.tile"
      title="Workspace Tabs"
      description="This tile shows the workspace tabs"
      for="ploneintranet.workspace.workspacefolder.IWorkspaceFolder"
      class=".workspace_tabs.WorkspaceTabsTile"
      permission="zope2.View"
      add_permission="cmf.ManagePortal"
      layer="ploneintranet.workspace.interfaces.IPloneintranetWorkspaceLayer"
      />

  <plone:tile
      name="sidebar.default"
      title="Sidebar"
      description="default tile"
      for="*"
      class=".sidebar.Sidebar"
      permission="zope2.View"
      add_permission="cmf.ManagePortal"
      layer="ploneintranet.workspace.interfaces.IPloneintranetWorkspaceLayer"
      />

  <plone:tile
      name="sidebar.documents"
      title="SidebarDocuments"
      description="default tile"
      for="*"
      class=".sidebar.SidebarDocuments"
      permission="zope2.View"
      add_permission="cmf.ManagePortal"
      layer="ploneintranet.workspace.interfaces.IPloneintranetWorkspaceLayer"
      />

  <plone:tile
      name="sidebar.content.documents"
      title="SidebarContentDocuments"
      for="*"
      class=".sidebar.SidebarContentDocuments"
      permission="zope2.View"
      add_permission="cmf.ManagePortal"
      layer="ploneintranet.workspace.interfaces.IPloneintranetWorkspaceLayer"
      />

  <plone:tile
      name="sidebar.paste"
      title="SidebarPaste"
      for="*"
      class=".sidebar.SidebarPaste"
      permission="cmf.AddPortalContent"
      add_permission="cmf.ManagePortal"
      layer="ploneintranet.workspace.interfaces.IPloneintranetWorkspaceLayer"
      />

  <plone:tile
      name="sidebar.trash"
      title="SidebarTrash"
      for="*"
      class=".sidebar.SidebarTrash"
      permission="zope2.View"
      add_permission="cmf.ManagePortal"
      layer="ploneintranet.workspace.interfaces.IPloneintranetWorkspaceLayer"
      />

  <plone:tile
      name="sidebar.content.trash"
      title="SidebarContentTrash"
      for="*"
      class=".sidebar.SidebarContentTrash"
      permission="zope2.View"
      add_permission="cmf.ManagePortal"
      layer="ploneintranet.workspace.interfaces.IPloneintranetWorkspaceLayer"
      />

  <plone:tile
      name="sidebar.events"
      title="SidebarEvents"
      description="default tile"
      for="*"
      class=".sidebar.SidebarEvents"
      permission="zope2.View"
      add_permission="cmf.ManagePortal"
      layer="ploneintranet.workspace.interfaces.IPloneintranetWorkspaceLayer"
      />

  <plone:tile
      name="sidebar.content.events"
      title="SidebarContentEvents"
      for="*"
      class=".sidebar.SidebarContentEvents"
      permission="zope2.View"
      add_permission="cmf.ManagePortal"
      layer="ploneintranet.workspace.interfaces.IPloneintranetWorkspaceLayer"
      />

  <plone:tile
      name="sidebar.todos"
      title="SidebarTodos"
      description="default tile"
      for="*"
      class=".sidebar.SidebarTodos"
      permission="zope2.View"
      add_permission="cmf.ManagePortal"
      layer="ploneintranet.workspace.interfaces.IPloneintranetWorkspaceLayer"
      />

  <plone:tile
      name="sidebar.settings.general"
      title="General settings"
      for="*"
      class=".sidebar.SidebarSettingsGeneral"
      permission="zope2.View"
      add_permission="cmf.ManagePortal"
      layer="ploneintranet.workspace.interfaces.IPloneintranetWorkspaceLayer"
      />

  <plone:tile
      name="sidebar.settings.members"
      title="Sidebar Settings Members"
      description="Tile to show member roster in Settings"
      for="*"
      class=".sidebar.SidebarSettingsMembers"
      permission="zope2.View"
      add_permission="cmf.ManagePortal"
      layer="ploneintranet.workspace.interfaces.IPloneintranetWorkspaceLayer"
      />

  <plone:tile
      name="sidebar.settings.security"
      title="Sidebar Settings Security"
      description="Tile to show security controls in Settings"
      for="*"
      class=".sidebar_security.SidebarSettingsSecurity"
      template="templates/sidebar-settings-security.pt"
      permission="zope2.View"
      add_permission="cmf.ManagePortal"
      layer="ploneintranet.workspace.interfaces.IPloneintranetWorkspaceLayer"
      />

  <plone:tile
      name="sidebar.settings.advanced"
      title="Sidebar Settings Advanced"
      description="Tile to show the advanced settings"
      for="*"
      class=".sidebar.SidebarSettingsAdvanced"
      permission="zope2.View"
      add_permission="cmf.ManagePortal"
      layer="ploneintranet.workspace.interfaces.IPloneintranetWorkspaceLayer"
      />

  <plone:tile
      name="events.tile"
      title="Events"
      description="Tile to list upcoming events"
      for="plone.base.interfaces.siteroot.IPloneSiteRoot"
      class=".events.EventsTile"
      template="templates/events.pt"
      permission="zope2.View"
      add_permission="cmf.ManagePortal"
      layer="ploneintranet.workspace.interfaces.IPloneintranetWorkspaceLayer"
      />

  <plone:tile
      name="metromap"
      title="Metromap"
      description="Tile to display the metromap"
      for="ploneintranet.workspace.interfaces.IBaseWorkspaceFolder"
      class=".metromap.MetromapTile"
      template="templates/metromap.pt"
      permission="zope2.View"
      add_permission="cmf.ManagePortal"
      layer="ploneintranet.workspace.interfaces.IPloneintranetWorkspaceLayer"
      />

</configure>
