<configure
  xmlns="http://namespaces.zope.org/zope"
  xmlns:daviz="http://namespaces.zope.org/daviz"
  xmlns:browser="http://namespaces.zope.org/browser">

  <daviz:view
    for="eea.app.visualization.interfaces.IVisualizationEnabled"
    name="daviz.tile"
    template="view.pt"
    class=".view.View"
    permission="zope2.View"
    title="Tile View"
    />

  <daviz:edit
    for="eea.app.visualization.interfaces.IVisualizationEnabled"
    name="daviz.tile"
    class=".edit.Edit"
    permission="eea.app.visualization.configure"
    title="Tile View"
    />

  <subscriber
    for="eea.app.visualization.interfaces.IVisualizationEnabled
         eea.app.visualization.interfaces.IVisualizationFacetDeletedEvent"
    handler=".events.tile_facet_deleted"
    />

  <browser:resource name="eea.exhibit.tile.png" file="tile.png" />

  <browser:resource name="daviz.tile.preview.png" file="preview.png" />
  <browser:page name="daviz.tile.preview.png"
    for="zope.interface.Interface"
    class="eea.app.visualization.views.preview.PreviewImage"
    permission="zope2.View"
    />

</configure>
