<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
<plugin
   id="com.ssaglobal.istudio.test"
   name="%pluginName"
   version="8.5.0.0083"
   provider-name="%providerName"
   class="com.ssaglobal.istudio.test.TestPlugin">

   <runtime>
      <library name="test.jar">
         <export name="*"/>
      </library>
   </runtime>

   <requires>
      <import plugin="org.eclipse.gef"/>
      <import plugin="org.eclipse.ui"/>
      <import plugin="org.eclipse.ui.ide"/>
      <import plugin="org.eclipse.ui.forms"/>
      <import plugin="org.eclipse.core.resources"/>
      <import plugin="org.eclipse.core.runtime"/>
      <import plugin="org.eclipse.help" export="true" optional="true"/>
      <import plugin="com.ssaglobal.generator"/>
      <import plugin="com.ssaglobal.generator.ui"/>
      <import plugin="com.ssaglobal.istudio.core"/>
      <import plugin="com.ssaglobal.istudio.ui"/>
      <import plugin="com.infor.erpln.jca.connectivity"/>
   </requires>
      <extension point="org.eclipse.ui.views">
      <view
            class="com.ssaglobal.istudio.test.explorer.TestExplorer"
            icon="icons/new_test_action.gif"
            category="com.ssaglobal.istudio.ui.category"
            name="Test Explorer"
            id="com.ssaglobal.istudio.test.explorer.TestExplorer"/>
      <category name="Business Studio" id="com.ssaglobal.istudio.ui.category"/>
   </extension>
   
   <extension point="org.eclipse.ui.editors">
      <editor icon="icons/test.ico" 
      		class="com.ssaglobal.istudio.test.test.TestEditor" 
      		default="true" 
      		name="Test Editor" 
      		id="com.ssaglobal.istudio.test.test.TestEditor" 
      		extensions="bit"/>
      <editor icon="icons/testScenario.ico" 
      		class="com.ssaglobal.istudio.test.scenario.TestScenarioEditor" 
      		default="true" 
      		name="Test Scenario Editor" 
      		id="com.ssaglobal.istudio.test.scenario.TestScenarioEditor" 
      		extensions="bts"/>
   </extension>
   
	<extension id="testModelDecorator" name="Interface Test Decorator" point="org.eclipse.ui.decorators">
	 	<decorator 
	        lightweight="true" 
	        adaptable="false" 
	        label="Interface Test Problem Markers" 
	        class="com.ssaglobal.istudio.test.explorer.ModelDecorator" 
	        icon="../com.ssaglobal.istudio.ui/icons/error_co.gif" 
	        state="true" 
	        location="BOTTOM_LEFT" 
	        id="com.ssaglobal.istudio.test.decorator">
	     <description>
	        Decorates Business Studio Test Objects when a related Interface Problem exists
	     </description>
	     <enablement>
	        <objectClass name="java.lang.Object"/>
	     </enablement>
	     Marks Interface Test objects which have a related Interface Problem 
		</decorator>
   </extension>
   
   <extension
         id="com.ssaglobal.generator.test"
         name="BDE Test Generator"
         point="com.ssaglobal.generator.templatepackage">
      <Base
            templateRoot="templates"
            outputRoot="test/templates"/>
      <Template
            appliesToClass="com.ssaglobal.istudio.core.model.bid.impl.MethodImpl"
            appliesToSubclasses="false"
            engine="FreeMarker"
            nameTemplate="BdeMethodName.ftl"
            template="BdeMethod.ftl"/>
      <Template
            appliesToClass="com.ssaglobal.istudio.core.model.bid.impl.EventImpl"
            appliesToSubclasses="false"
            engine="FreeMarker"
            nameTemplate="BodEventName.ftl"
            template="BodEvent.ftl"/>
      <Helper
            appliesToSubclasses="true"
            helperClass="com.ssaglobal.generator.helper.PropertiesHelper"
            appliesToClass="org.eclipse.emf.ecore.impl.EObjectImpl"
            name="properties"/>
      <Helper
            appliesToSubclasses="true"
            helperClass="com.ssaglobal.generator.helper.DateHelper"
            appliesToClass="org.eclipse.emf.ecore.impl.EObjectImpl"
            name="today"/>
      <Helper
            appliesToSubclasses="true"
            appliesToClass="org.eclipse.emf.ecore.impl.EObjectImpl"
            helperClass="com.ssaglobal.generator.helper.VersionHelper"
            name="versionhelper"/>            
      <Helper
            appliesToSubclasses="true"
            appliesToClass="org.eclipse.emf.ecore.impl.EObjectImpl"
            helperClass="com.ssaglobal.istudio.test.helper.ListenerHelper"
            name="listener"/>            
   </extension>
   
   <extension point="org.eclipse.ui.ide.markerResolution">
      <markerResolutionGenerator
            class="com.ssaglobal.istudio.test.helper.StudioTestMarkerResolutionGenerator"
            markerType="com.ssaglobal.istudio.core.testModelMarker"/>
   </extension>
   
   <extension point="org.eclipse.ui.newWizards">
      <category name="Business Studio" id="com.ssaglobal.istudio.ui.category"/>
      <wizard
            category="com.ssaglobal.istudio.ui.category"
            class="com.ssaglobal.istudio.test.project.NewProjectWizard"
            finalPerspective="com.ssaglobal.istudio.test.perspective"
            icon="icons/open_Test_Project.ico"
            id="com.ssaglobal.istudio.test.wizard.newproject"
            name="Interface Test Project"
            project="true">
         Create a Interface Test Project
         <description>
            Create an Interface Test Project
         </description>
      </wizard>
      <wizard
            category="com.ssaglobal.istudio.ui.category"
            class="com.ssaglobal.istudio.test.test.NewTestWizard"
            hasPages="true"
            icon="icons/test.ico"
            id="com.ssaglobal.istudio.test.test.newTestWizard"
            name="Test"
            preferredPerspectives="com.ssaglobal.istudio.test.perspective"
            project="false">
            <description>
            	Create a Test
	        </description>
      </wizard>
      <wizard
            category="com.ssaglobal.istudio.ui.category"
            class="com.ssaglobal.istudio.test.scenario.NewTestScenarioWizard"
            hasPages="true"
            icon="icons/testScenario.ico"
            id="com.ssaglobal.istudio.test.scenario.newTestScenarioWizard"
            name="Test Scenario"
            preferredPerspectives="com.ssaglobal.istudio.test.perspective"
            project="false">
            <description>
            	Create a Test Senario
	        </description>
      </wizard>
            
   </extension>
   
   <extension point="org.eclipse.ui.perspectives">
      <perspective
            icon="icons/new_test_action.gif"
            class="com.ssaglobal.istudio.test.PerspectiveFactory"
            name="Business Studio Test"
            id="com.ssaglobal.istudio.test.perspective"/>
   </extension>
   
   <extension
         point="org.eclipse.ui.perspectiveExtensions">
      <perspectiveExtension targetID="com.ssaglobal.istudio.ui.perspective">
 	     <perspectiveShortcut id="com.ssaglobal.istudio.test.perspective"/>
         <newWizardShortcut id="com.ssaglobal.istudio.test.wizard.newproject"/>
         <viewShortcut id="com.ssaglobal.istudio.test.explorer.TestExplorer"/>
      </perspectiveExtension>
      <perspectiveExtension targetID="com.ssaglobal.istudio.test.perspective">
 	     <perspectiveShortcut id="com.ssaglobal.istudio.ui.perspective"/>
         <perspectiveShortcut id="org.eclipse.ui.resourcePerspective"/>
         <viewShortcut id="com.ssaglobal.istudio.test.explorer.TestExplorer"/>
         <viewShortcut id="com.ssaglobal.istudio.ui.explorer.StudioExplorer"/>
         <viewShortcut id="org.eclipse.ui.views.ResourceNavigator"/>
         <viewShortcut id="org.eclipse.ui.views.ProblemView"/>
         <viewShortcut id="org.eclipse.ui.views.PropertySheet"/>
         <newWizardShortcut id="com.ssaglobal.istudio.test.wizard.newproject"/>
         <newWizardShortcut id="com.ssaglobal.istudio.test.test.newTestWizard"/>
         <newWizardShortcut id="com.ssaglobal.istudio.test.scenario.newTestScenarioWizard"/>
         <newWizardShortcut id="com.ssaglobal.istudio.ui.wizard.newproject"/>
      </perspectiveExtension>
   </extension>
   <extension
         id="TestPluginStartup"
         name="Test Plugin Event Listener"
         point="org.eclipse.ui.startup">
   </extension>
   <extension
         point="org.eclipse.ui.preferencePages">
      <page
            class="com.ssaglobal.istudio.test.preferences.TestPreferencePage"
            category="com.ssaglobal.istudio.ui.preferences.MainPreferencePage"
            name="Business Interface Test Tool"
            id="com.ssaglobal.istudio.test.preferences.TestPreferencePage"/>
   </extension>
   <extension name="Business Studio Properties" point="org.eclipse.ui.propertyPages">
      <page objectClass="org.eclipse.core.resources.IProject" adaptable="false" class="com.ssaglobal.istudio.ui.properties.IStudioPropertyPage" nameFilter="*" name="Business Studio Path" id="com.ssaglobal.istudio.test.properties.IStudioPropertyPage">
         <filter value="com.ssaglobal.istudio.core.test.nature" name="nature"/>
      </page>
   </extension>
   <extension
         point="org.eclipse.ui.workingSets">
      <workingSet
            icon="../com.ssaglobal.istudio.ui/icons/integration_workset.gif"
            name="Interface Test"
            id="com.ssaglobal.istudio.test.workingSet"
            pageClass="com.ssaglobal.istudio.test.workingset.TestWorkingSetPage"/>
   </extension>
   <extension
         id="TestServerConnection"
         name="Test Server Connection"
         point="com.infor.erpln.jca.connectivity.Connection">
      <ActivationTypes
            BW="true"
            BaanLogin="true"
            None="true"
            Rexec="true"
            Socket-In="false">
      </ActivationTypes>
   </extension>
   <extension
         id="com.ssaglobal.istudio.ui.istudio.projectnatureimage"
         name="Business Studio Test Nature"
         point="org.eclipse.ui.ide.projectNatureImages">
      <image
            icon="icons/test_project_ovr.GIF"
            id="com.ssaglobal.istudio.ui.istudio.test.nature"
            natureId="com.ssaglobal.istudio.core.test.nature"/>
   </extension>
   <extension
         id="TestBdeEventConnection"
         name="Test BDE Event Connection"
         point="com.infor.erpln.jca.connectivity.Connection">
      <ActivationTypes
            BW="false"
            BaanLogin="false"
            None="false"
            Rexec="false"
            Socket-In="true">
      </ActivationTypes>
   </extension>
</plugin>
