<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
<plugin>
   <extension point="org.eclipse.ui.activities">
      <!-- EMF MDD Tools -->
      <activity
            id="org.eclipse.emf.activity"
            description="%activity.emf.desc"
            name="%activity.emf">
      </activity>
      <!-- EMF Project and EMF Generator Model wizards and Reload action --> 
      <activityPatternBinding
            activityId="org.eclipse.emf.activity"
            pattern="org\.eclipse\.emf\.codegen\.ecore\.ui/.*">
      </activityPatternBinding>
      <!-- Model importers -->
      <activityPatternBinding
            activityId="org.eclipse.emf.activity"
            pattern="org\.eclipse\.emf\.importer/.*">
      </activityPatternBinding>
      <!-- Model exporters -->
      <activityPatternBinding
            activityId="org.eclipse.emf.activity"
            pattern="org\.eclipse\.emf\.exporter/.*">
      </activityPatternBinding>
      <!-- Ecore editor -->
      <activityPatternBinding
            activityId="org.eclipse.emf.activity"
            pattern="org\.eclipse\.emf\.ecore\.editor/.*Ecore.*">
      </activityPatternBinding>
      <!-- Create Dynamic Instance action -->
      <activityPatternBinding
            activityId="org.eclipse.emf.activity"
            pattern="org\.eclipse\.emf\.ecore\.editor/.*CreateDynamic.*">
      </activityPatternBinding>
      <!-- XML Schema to Ecore mapping -->
      <activityPatternBinding
            activityId="org.eclipse.emf.activity"
            pattern="org\.eclipse\.emf\.mapping\.xsd2ecore\.editor/.*">
      </activityPatternBinding>
      <!-- Ecore to Ecore mapping -->
      <activityPatternBinding
            activityId="org.eclipse.emf.activity"
            pattern="org\.eclipse\.emf\.mapping\.ecore2ecore\.editor/.*">
      </activityPatternBinding>
      <!-- Ecore to XML mapping -->
      <activityPatternBinding
            activityId="org.eclipse.emf.activity"
            pattern="org\.eclipse\.emf\.mapping\.ecore2xml\.ui/.*">
      </activityPatternBinding>
      <!-- Validation -->
      <activityPatternBinding
            activityId="org.eclipse.emf.activity"
            pattern="org\.eclipse\.emf\.validation\.ui/.*">
      </activityPatternBinding>      

      <!-- Reflective Editors -->
      <activity
            id="org.eclipse.emf.reflective.activity"
            description="%activity.emf.reflective.desc"
            name="%activity.emf.reflective">
      </activity>
      <activityPatternBinding
            activityId="org.eclipse.emf.reflective.activity"
            pattern="org\.eclipse\.emf\.ecore\.editor/.Open*">
      </activityPatternBinding>
      <activityPatternBinding
            activityId="org.eclipse.emf.reflective.activity"
            pattern="org\.eclipse\.emf\.ecore\.editor/.*Reflective.*">
      </activityPatternBinding>

      <!-- EMF JET -->
      <activity
            id="org.eclipse.emf.jet.activity"
            description="%activity.emf.jet.desc"
            name="%activity.emf.jet">
      </activity>
      <activityPatternBinding
            activityId="org.eclipse.emf.jet.activity"
            pattern="org\.eclipse\.emf\.codegen\.ui/.*">
      </activityPatternBinding>

      <!-- Sample XML Schema Editor -->
      <activity
            id="org.eclipse.xsd.activity"
            description="%activity.xsd.desc"
            name="%activity.xsd">
      </activity>
      <activityPatternBinding
            activityId="org.eclipse.xsd.activity"
            pattern="org\.eclipse\.xsd\.editor/.*">
      </activityPatternBinding>

      <!-- EMF Examples -->
      <activity
            id="org.eclipse.emf.examples.activity"
            description="%activity.emf.examples.desc"
            name="%activity.emf.examples">
      </activity>
      <activityPatternBinding
            activityId="org.eclipse.emf.examples.activity"
            pattern="org\.eclipse\.emf\.example\.installer/.*">
      </activityPatternBinding>
      <activityPatternBinding
            activityId="org.eclipse.emf.examples.activity"
            pattern="org\.eclipse\.xsd\.example\.installer/.*">
      </activityPatternBinding>
      <activityPatternBinding
            activityId="org.eclipse.emf.examples.activity"
            pattern="org\.eclipse\.emf\.examples\.library\.editor/.*">
      </activityPatternBinding>
      <activityPatternBinding
            activityId="org.eclipse.emf.examples.activity"
            pattern="org\.eclipse\.emf\.query\.examples/.*">
      </activityPatternBinding>
      <activityPatternBinding
            activityId="org.eclipse.emf.examples.activity"
            pattern="org\.eclipse\.emf\.transaction\.examples/.*">
      </activityPatternBinding>
      <activityPatternBinding
            activityId="org.eclipse.emf.examples.activity"
            pattern="org\.eclipse\.emf\.validation\.examples/.*">
      </activityPatternBinding>

      <!-- The category should be something that makes sense for the product -->
      <category
            description="%activity.cat.emf.desc"
            id="org.eclipse.emf.Category"
            name="%activity.cat.emf">
      </category>

      <categoryActivityBinding
            activityId="org.eclipse.emf.activity"
            categoryId="org.eclipse.emf.Category">
      </categoryActivityBinding>
      <categoryActivityBinding
            activityId="org.eclipse.emf.reflective.activity"
            categoryId="org.eclipse.emf.Category">
      </categoryActivityBinding>
      <categoryActivityBinding
            activityId="org.eclipse.emf.jet.activity"
            categoryId="org.eclipse.emf.Category">
      </categoryActivityBinding>
      <categoryActivityBinding
            activityId="org.eclipse.xsd.activity"
            categoryId="org.eclipse.emf.Category">
      </categoryActivityBinding>
      <categoryActivityBinding
            activityId="org.eclipse.emf.examples.activity"
            categoryId="org.eclipse.emf.Category">
      </categoryActivityBinding>
      <defaultEnablement
            id="org.eclipse.emf.activity">
      </defaultEnablement>
      <defaultEnablement
            id="org.eclipse.emf.reflective.activity">
      </defaultEnablement>
      <defaultEnablement
            id="org.eclipse.emf.jet.activity">
      </defaultEnablement>
      <defaultEnablement
            id="org.eclipse.xsd.activity">
      </defaultEnablement>
      <defaultEnablement
            id="org.eclipse.emf.examples.activity">
      </defaultEnablement>
   </extension>
</plugin>
