<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.2"?>
<plugin>
   <extension
         point="org.eclipse.debug.core.launchConfigurationTypes">
      <launchConfigurationType
            delegate="org.eclipse.m2m.atl.core.ui.launch.AtlLaunchConfigurationDelegate"
            id="org.eclipse.m2m.atl.adt.launching.atlTransformation"
            modes="run, debug"
            name="ATL Transformation">
      </launchConfigurationType>
   </extension>
   <extension
         point="org.eclipse.debug.ui.launchConfigurationTabGroups">
      <launchConfigurationTabGroup
            class="org.eclipse.m2m.atl.core.ui.launch.AtlTabGroup"
            id="org.eclipse.m2m.atl.core.ui.atlTransformationTabGroup"
            type="org.eclipse.m2m.atl.adt.launching.atlTransformation">
      </launchConfigurationTabGroup>
   </extension>
   <extension
         point="org.eclipse.debug.ui.launchConfigurationTypeImages">
      <launchConfigurationTypeImage
            configTypeID="org.eclipse.m2m.atl.adt.launching.atlTransformation"
            icon="icons/atl_logo.gif"
            id="org.eclipse.m2m.atl.core.ui.atlTransformationImage">
      </launchConfigurationTypeImage>
   </extension>
   <extension
         point="org.eclipse.ui.console.consolePatternMatchListeners">
      <consolePatternMatchListener
            class="org.eclipse.m2m.atl.core.ui.ATLConsoleTracker"
            id="org.eclipse.m2m.atl.core.ui.ATLConsoleTracker"
            regex="\(\S*atl\S*\)">
         <enablement>
            <test
                  property="org.eclipse.ui.console.consoleTypeTest"
                  value="atlConsole">
            </test></enablement>
      </consolePatternMatchListener>
   </extension>
   <extension
         point="org.eclipse.debug.ui.launchShortcuts">
      <shortcut
            class="org.eclipse.m2m.atl.core.ui.launch.ATLLaunchShortcut"
            description="Launches a local ATL transformation"
            icon="icons/atl_logo.gif"
            id="org.eclipse.m2m.atl.core.ui.atlLaunchShortcut"
            label="ATL transformation"
            modes="run, debug">
         <description
               description="Runs a local ATL transformation"
               mode="run">
         </description>
                  <description
               description="Debugs a local ATL transformation"
               mode="debug">
         </description>
           <contextualLaunch>
  <enablement>
    <with variable="selection">
       <count
             value="1">
       </count>
       <iterate>
          <test
                property="org.eclipse.debug.ui.matchesPattern"
                value="*.atl">
          </test></iterate>
     </with>
  </enablement>
  </contextualLaunch>
      </shortcut>
      
   </extension>
   
</plugin>
