<?xml version="1.0" encoding="UTF-8"?>
<object name="plone.app.event.dx.event" meta_type="Dexterity FTI"
    xmlns:i18n="http://xml.zope.org/namespaces/i18n"
    i18n:domain="plone">

  <!-- Basic properties -->
  <property name="title" i18n:translate="">Event</property>
  <property name="description"
      i18n:translate="">Events can be shown in calendars.</property>
  <property name="icon_expr"></property>
  <property name="allow_discussion">False</property>

  <!-- Hierarchy control -->
 <property name="global_allow">True</property>
 <property name="filter_content_types">True</property>
 <property name="allowed_content_types"/>

  <!-- Schema, class and security -->
  <property name="schema"></property>
  <property name="klass">plone.dexterity.content.Item</property>
  <property name="add_permission">cmf.AddPortalContent</property>
  <property name="model_source">
  &lt;model xmlns="http://namespaces.plone.org/supermodel/schema"&gt;
      &lt;schema&gt;
      &lt;/schema&gt;
  &lt;/model&gt;</property>
  <property name="model_file"></property>

  <!-- Enabled behaviors -->
  <property name="behaviors">
    <element value="plone.app.event.dx.behaviors.IEventBasic"/>
    <element value="plone.app.event.dx.behaviors.IEventRecurrence"/>
    <element value="plone.app.event.dx.behaviors.IEventLocation"/>
    <element value="plone.app.event.dx.behaviors.IEventAttendees"/>
    <element value="plone.app.event.dx.behaviors.IEventContact"/>
    <element value="plone.app.event.dx.behaviors.IEventSummary"/>
    <element value="plone.app.dexterity.behaviors.metadata.IDublinCore"/>
    <element value="plone.app.content.interfaces.INameFromTitle"/>
    <element value="plone.app.dexterity.behaviors.discussion.IAllowDiscussion"/>
    <element value="plone.app.dexterity.behaviors.exclfromnav.IExcludeFromNavigation"/>
  </property>

  <!-- View and aliases -->
 <property name="default_view">event_view</property>
 <property name="default_view_fallback">False</property>
 <property name="immediate_view">view</property>
 <property name="view_methods">
  <element value="event_view"/>
 </property>

 <alias from="event_view" to="@@event_view"/>
 <alias from="(Default)" to="(dynamic view)"/>
 <alias from="edit" to="@@edit"/>
 <alias from="sharing" to="@@sharing"/>
 <alias from="view" to="(selected layout)"/>

 <action title="View" action_id="view" category="object" condition_expr=""
    icon_expr="" link_target="" url_expr="string:${object_url}"
    visible="True" i18n:attributes="title">
  <permission value="View"/>
 </action>

 <action title="Edit" action_id="edit" category="object" condition_expr=""
    icon_expr="" link_target="" url_expr="string:${object_url}/edit"
    visible="True" i18n:attributes="title">
  <permission value="Modify portal content"/>
 </action>

</object>
