debuggercdi/com.nokia.cdt.debug.launch/plugin.xml
changeset 202 4eeba852ae0b
parent 0 fb279309251b
child 212 0e84cf0560e1
equal deleted inserted replaced
201:42aa6ce7b5d0 202:4eeba852ae0b
     2 <?eclipse version="3.0"?>
     2 <?eclipse version="3.0"?>
     3 <plugin>
     3 <plugin>
     4 
     4 
     5    <extension
     5    <extension
     6          point="org.eclipse.debug.core.launchConfigurationTypes">
     6          point="org.eclipse.debug.core.launchConfigurationTypes">
     7 
       
     8      <launchConfigurationType
       
     9             sourceLocatorId="org.eclipse.cdt.debug.core.sourceLocator"
       
    10             sourcePathComputerId="com.nokia.cdt.debug.cw.symbian.CarbideSourcePathComputer"
       
    11             name="Symbian OS Application"
       
    12             delegate="com.nokia.cdt.internal.debug.launch.ContextLaunchDelegate"
       
    13             modes="run,debug"
       
    14             public="true"
       
    15             id="com.nokia.cdt.debug.launch.contextLaunch">
       
    16       </launchConfigurationType>
       
    17 
     7 
    18       <launchConfigurationType
     8       <launchConfigurationType
    19             sourceLocatorId="org.eclipse.cdt.debug.core.sourceLocator"
     9             sourceLocatorId="org.eclipse.cdt.debug.core.sourceLocator"
    20             sourcePathComputerId="com.nokia.cdt.debug.cw.symbian.CarbideSourcePathComputer"
    10             sourcePathComputerId="com.nokia.cdt.debug.cw.symbian.CarbideSourcePathComputer"
    21             name="Symbian OS Emulation"
    11             name="Symbian OS Emulation"
    78    </extension>
    68    </extension>
    79   <extension
    69   <extension
    80          point="org.eclipse.debug.ui.launchConfigurationTypeImages">
    70          point="org.eclipse.debug.ui.launchConfigurationTypeImages">
    81       <launchConfigurationTypeImage
    71       <launchConfigurationTypeImage
    82             icon="icons/launch_config_file_16x16.png"
    72             icon="icons/launch_config_file_16x16.png"
    83             configTypeID="com.nokia.cdt.debug.launch.contextLaunch"
       
    84             id="com.nokia.cdt.debug.launch.contextLaunchImage">
       
    85       </launchConfigurationTypeImage>
       
    86       <launchConfigurationTypeImage
       
    87             icon="icons/launch_config_file_16x16.png"
       
    88             configTypeID="com.nokia.cdt.debug.launch.emulationLaunch"
    73             configTypeID="com.nokia.cdt.debug.launch.emulationLaunch"
    89             id="com.nokia.cdt.debug.launch.emulationLaunchImage">
    74             id="com.nokia.cdt.debug.launch.emulationLaunchImage">
    90       </launchConfigurationTypeImage>
    75       </launchConfigurationTypeImage>
    91       <launchConfigurationTypeImage
    76       <launchConfigurationTypeImage
    92             icon="icons/launch_config_file_16x16.png"
    77             icon="icons/launch_config_file_16x16.png"
   113       <launchConfigurationTypeImage
    98       <launchConfigurationTypeImage
   114             icon="icons/launch_config_file_16x16.png"
    99             icon="icons/launch_config_file_16x16.png"
   115             configTypeID="com.nokia.cdt.debug.launch.stiLaunch"
   100             configTypeID="com.nokia.cdt.debug.launch.stiLaunch"
   116             id="com.nokia.cdt.debug.launch.stiLaunchImage">
   101             id="com.nokia.cdt.debug.launch.stiLaunchImage">
   117       </launchConfigurationTypeImage>
   102       </launchConfigurationTypeImage>
   118     </extension>
       
   119 
       
   120    <extension
       
   121          point="org.eclipse.debug.ui.launchConfigurationTabGroups">
       
   122       <launchConfigurationTabGroup
       
   123             type="com.nokia.cdt.debug.launch.contextLaunch"
       
   124             class="com.nokia.cdt.internal.debug.launch.ui.ContextConfigurationTabGroup"
       
   125             id="com.nokia.cdt.debug.launch.contextLaunchTabGroup">
       
   126       </launchConfigurationTabGroup>
       
   127     </extension>
   103     </extension>
   128 
   104 
   129    <extension
   105    <extension
   130          point="org.eclipse.debug.ui.launchConfigurationTabGroups">
   106          point="org.eclipse.debug.ui.launchConfigurationTabGroups">
   131       <launchConfigurationTabGroup
   107       <launchConfigurationTabGroup
   196                <iterate>
   172                <iterate>
   197 				<and>
   173 				<and>
   198                    <or>
   174                    <or>
   199                      <instanceof value="org.eclipse.cdt.core.model.IBinary"/>
   175                      <instanceof value="org.eclipse.cdt.core.model.IBinary"/>
   200                      <instanceof value="org.eclipse.cdt.core.model.ICProject"/>
   176                      <instanceof value="org.eclipse.cdt.core.model.ICProject"/>
   201                      <instanceof value="com.nokia.cdt.debug.cw.symbian.ui.executables.Executable"/>
   177                      <instanceof value="org.eclipse.cdt.debug.core.executables.Executable"/>
   202                      <test
   178                      <test
   203                            forcePluginActivation="true"
   179                            forcePluginActivation="true"
   204                            property="org.eclipse.cdt.launch.isExecutable"/>
   180                            property="org.eclipse.cdt.launch.isExecutable"/>
   205                      <test
   181                      <test
   206                            forcePluginActivation="true"
   182                            forcePluginActivation="true"
   229   		 	  mode="debug"
   205   		 	  mode="debug"
   230   		 	  label="Debug Symbian OS Application"/>
   206   		 	  label="Debug Symbian OS Application"/>
   231   		 </contextualLaunch>
   207   		 </contextualLaunch>
   232          <description
   208          <description
   233              mode="run"
   209              mode="run"
   234              description="Runs a Symbian OS executable on either the emulator or a phone"/>
   210              description="Runs a Symbian OS executable"/>
   235           <description
   211           <description
   236              mode="debug"
   212              mode="debug"
   237              description="Debugs a Symbian OS executable on either the emulator or a phone"/>
   213              description="Debugs a Symbian OS executable"/>
   238          <perspective
       
   239                id="com.nokia.carbide.cpp.CarbideCppPerspective">
       
   240          </perspective>
       
   241          <perspective
       
   242                id="org.eclipse.debug.ui.DebugPerspective">
       
   243          </perspective>
       
   244          <configurationType
       
   245                id="com.nokia.cdt.debug.launch.contextLaunch">
       
   246          </configurationType>
       
   247       </shortcut>
   214       </shortcut>
   248      </extension>
   215      </extension>
   249    
   216    
   250  <!-- Property testers -->
   217  <!-- Property testers -->
   251    <extension point="org.eclipse.core.expressions.propertyTesters">
   218    <extension point="org.eclipse.core.expressions.propertyTesters">
   269  
   236  
   270  	<!-- Adapters for contextual launch -->
   237  	<!-- Adapters for contextual launch -->
   271 	<extension point="org.eclipse.core.runtime.adapters">
   238 	<extension point="org.eclipse.core.runtime.adapters">
   272          <factory 
   239          <factory 
   273             class="" 
   240             class="" 
   274             adaptableType="com.nokia.cdt.debug.cw.symbian.ui.executables.Executable">
   241             adaptableType="org.eclipse.cdt.debug.core.executables.Executable">
   275             <adapter type="org.eclipse.debug.ui.actions.ILaunchable"/>
   242             <adapter type="org.eclipse.debug.ui.actions.ILaunchable"/>
   276          </factory>
   243          </factory>
   277     </extension>
   244     </extension>
   278  
   245  
   279    <!-- hack to make the traditional memory rendering the default.  we probaly
   246    <!-- hack to make the traditional memory rendering the default.  we probaly