<?xml version="1.0"?>
<object
    i18n:domain="contenttypes.basic"
    meta_type="Dexterity FTI"
    name="Announcement"
    xmlns:i18n="http://xml.zope.org/namespaces/i18n">

  <!-- Basic properties -->
  <property
      i18n:translate=""
      name="title">Announcement</property>
  <property
      i18n:translate=""
      name="description">Announcement</property>

  <property name="allow_discussion">False</property>
  <property name="factory">Announcement</property>
  <property name="icon_expr"></property>
  <property name="link_target"></property>

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

  <!-- Schema, class and security -->
  <property name="add_permission">contenttypes.basic.addAnnouncement</property>
  <property name="model_file"></property>
  <property name="model_source"></property>
  <property name="schema">contenttypes.basic.interfaces.IAnnouncement</property>
  <property name="klass">contenttypes.basic.contents.Announcement</property>

  <!-- Enabled behaviors -->
  <property name="behaviors" purge="false">
    <element value="plone.dublincore" />
    <element value="plone.namefromtitle" />
    <element value="plone.shortname" />
    <element value="plone.excludefromnavigation" />
    <element value="contenttypes.basic.link"/>
  </property>

  <!-- View information -->
  <property name="add_view_expr">string:${folder_url}/++add++Announcement</property>
  <property name="default_view">view</property>
  <property name="default_view_fallback">False</property>
  <property name="immediate_view">view</property>
  <property name="view_methods">
    <element value="view"/>
  </property>

  <!-- Method aliases -->
  <alias
      from="(Default)"
      to="(dynamic view)"
  />
  <alias
      from="edit"
      to="@@edit"
  />
  <alias
      from="sharing"
      to="@@sharing"
  />
  <alias
      from="view"
      to="(selected layout)"
  />

  <!-- Actions -->
  <action
      action_id="view"
      category="object"
      condition_expr=""
      i18n:attributes="title"
      i18n:domain="plone"
      title="View"
      url_expr="string:${object_url}"
      visible="True">
    <permission value="View"/>
  </action>
  <action
      action_id="edit"
      category="object"
      condition_expr=""
      i18n:attributes="title"
      i18n:domain="plone"
      title="Edit"
      url_expr="string:${object_url}/edit"
      visible="True">
    <permission value="Modify portal content"/>
  </action>

</object>