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

 <!-- Basic information -->
 <property name="title" i18n:translate="">OiRA Tool version</property>
 <property name="description" i18n:translate="">A version of an OiRA Tool.</property>
 <property name="content_icon">document_icon.gif</property>
 <property name="global_allow">False</property>
 <property name="allow_discussion">False</property>

 <property name="filter_content_types">True</property>
 <property name="allowed_content_types">
   <element value="euphorie.module"/>
   <element value="euphorie.profilequestion"/>
 </property>

 <property name="klass">euphorie.content.survey.Survey</property>
 <property name="add_permission">euphorie.content.AddNewRIEContent</property>

 <property name="schema">euphorie.content.survey.ISurvey</property>
 <property name="model_source"></property>
 <property name="model_file"></property>

 <!-- List of enabled behaviors -->
 <property name="behaviors">
  <element value="euphorie.content.behaviour.dirtytree.IDirtyTreeRoot" />
  <element value="euphorie.content.behaviour.uniqueid.IIdGenerationRoot" />
  <element value="plone.app.content.interfaces.INameFromTitle" />
  <element value="osha.oira.content.survey.IOSHASurvey" />
 </property>

 <!-- View information -->
 <property name="immediate_view"/>
 <property name="default_view"/>
 <property name="default_view_fallback">False</property>
 <property name="view_methods">
 </property>

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

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

