debuggercdi/com.nokia.cdt.debug.launch/plugin.xml
changeset 1384 10b788ab16fe
parent 1260 f3b387a17eb7
child 1839 42bb3f6881da
equal deleted inserted replaced
1383:619a297ab336 1384:10b788ab16fe
    47             id="com.nokia.cdt.debug.launch.attachLaunchDelegate"
    47             id="com.nokia.cdt.debug.launch.attachLaunchDelegate"
    48             sourceLocatorId="org.eclipse.cdt.debug.core.sourceLocator"
    48             sourceLocatorId="org.eclipse.cdt.debug.core.sourceLocator"
    49             sourcePathComputerId="com.nokia.cdt.debug.common.internal.source.lookup.CarbideSourcePathComputer">
    49             sourcePathComputerId="com.nokia.cdt.debug.common.internal.source.lookup.CarbideSourcePathComputer">
    50       </launchDelegate>
    50       </launchDelegate>
    51     
    51     
    52       <launchDelegate
       
    53             name="Classic Symbian OS Trace32"
       
    54             delegate="com.nokia.cdt.internal.debug.launch.Trace32LaunchDelegate"
       
    55             delegateDescription="Launch a classic Symbian OS Trace32 debug session."          
       
    56             modes="debug"
       
    57             type="com.nokia.cdt.debug.launch.t32Launch"
       
    58             id="com.nokia.cdt.debug.launch.t32LaunchDelegate"
       
    59             sourceLocatorId="org.eclipse.cdt.debug.core.sourceLocator"
       
    60             sourcePathComputerId="com.nokia.cdt.debug.common.internal.source.lookup.CarbideSourcePathComputer">
       
    61       </launchDelegate>
       
    62       
       
    63    </extension>
    52    </extension>
    64 
    53 
    65    <extension
    54    <extension
    66          point="org.eclipse.debug.core.launchConfigurationTypes">
    55          point="org.eclipse.debug.core.launchConfigurationTypes">
    67 
    56 
    87             name="Symbian OS Attach to Process"
    76             name="Symbian OS Attach to Process"
    88             public="true"
    77             public="true"
    89             id="com.nokia.cdt.debug.launch.attachLaunch">
    78             id="com.nokia.cdt.debug.launch.attachLaunch">
    90       </launchConfigurationType>
    79       </launchConfigurationType>
    91     
    80     
    92       <launchConfigurationType
       
    93             name="Symbian OS Trace32"
       
    94             public="true"
       
    95             id="com.nokia.cdt.debug.launch.t32Launch">
       
    96       </launchConfigurationType>
       
    97       
       
    98    </extension>
    81    </extension>
    99    
    82    
   100   <extension
    83   <extension
   101          point="org.eclipse.debug.ui.launchConfigurationTypeImages">
    84          point="org.eclipse.debug.ui.launchConfigurationTypeImages">
   102       <launchConfigurationTypeImage
    85       <launchConfigurationTypeImage
   117 
   100 
   118       <launchConfigurationTypeImage
   101       <launchConfigurationTypeImage
   119             icon="icons/launch_config_file_16x16.png"
   102             icon="icons/launch_config_file_16x16.png"
   120             configTypeID="com.nokia.cdt.debug.launch.attachLaunch"
   103             configTypeID="com.nokia.cdt.debug.launch.attachLaunch"
   121             id="com.nokia.cdt.debug.launch.attachLaunchImage">
   104             id="com.nokia.cdt.debug.launch.attachLaunchImage">
   122       </launchConfigurationTypeImage>
       
   123       <launchConfigurationTypeImage
       
   124             icon="icons/launch_config_file_16x16.png"
       
   125             configTypeID="com.nokia.cdt.debug.launch.t32Launch"
       
   126             id="com.nokia.cdt.debug.launch.t32LaunchImage">
       
   127       </launchConfigurationTypeImage>
   105       </launchConfigurationTypeImage>
   128     </extension>
   106     </extension>
   129 
   107 
   130    <extension
   108    <extension
   131          point="org.eclipse.debug.ui.launchConfigurationTabGroups">
   109          point="org.eclipse.debug.ui.launchConfigurationTabGroups">
   160             type="com.nokia.cdt.debug.launch.attachLaunch"
   138             type="com.nokia.cdt.debug.launch.attachLaunch"
   161             class="com.nokia.cdt.internal.debug.launch.ui.AttachConfigurationTabGroup"
   139             class="com.nokia.cdt.internal.debug.launch.ui.AttachConfigurationTabGroup"
   162             id="com.nokia.cdt.debug.launch.attachLaunchTabGroup">
   140             id="com.nokia.cdt.debug.launch.attachLaunchTabGroup">
   163       </launchConfigurationTabGroup>
   141       </launchConfigurationTabGroup>
   164     </extension>
   142     </extension>
   165 
       
   166 	<extension
       
   167          point="org.eclipse.debug.ui.launchConfigurationTabGroups">
       
   168       <launchConfigurationTabGroup
       
   169             type="com.nokia.cdt.debug.launch.t32Launch"
       
   170             class="com.nokia.cdt.internal.debug.launch.ui.T32StopModeConfigurationTabGroup"
       
   171             id="com.nokia.cdt.debug.launch.t32LaunchTabGroup">
       
   172       </launchConfigurationTabGroup>
       
   173     </extension>
       
   174     
       
   175  
   143  
   176     <extension
   144     <extension
   177          point="org.eclipse.debug.ui.launchShortcuts">
   145          point="org.eclipse.debug.ui.launchShortcuts">
   178       <shortcut
   146       <shortcut
   179             class="com.nokia.cdt.internal.debug.launch.PhoneLaunchShortcut"
   147             class="com.nokia.cdt.internal.debug.launch.PhoneLaunchShortcut"
   250                mode="debug">
   218                mode="debug">
   251          </description>
   219          </description>
   252          <description
   220          <description
   253                description="Runs on a phone or simulator using System TRK or Application TRK"
   221                description="Runs on a phone or simulator using System TRK or Application TRK"
   254                mode="run">
   222                mode="run">
   255          </description>
       
   256       </shortcut>
       
   257       <shortcut
       
   258             class="com.nokia.cdt.internal.debug.launch.BoardLaunchShortcut"
       
   259             icon="icons/launch_config_file_16x16.png"
       
   260             id="com.nokia.cdt.debug.launch.symbianCPPShortcut.refboard"
       
   261             label="Symbian OS Reference Board Launch"
       
   262             modes="run, debug">
       
   263          <contextualLaunch>
       
   264             <enablement>
       
   265                <with
       
   266                      variable="selection">
       
   267                   <count
       
   268                         value="1">
       
   269                   </count>
       
   270                   <iterate>
       
   271                      <and>
       
   272                         <or>
       
   273                            <instanceof
       
   274                                  value="org.eclipse.cdt.core.model.IBinary">
       
   275                            </instanceof>
       
   276                            <instanceof
       
   277                                  value="org.eclipse.cdt.core.model.ICProject">
       
   278                            </instanceof>
       
   279                            <instanceof
       
   280                                  value="org.eclipse.cdt.debug.core.executables.Executable">
       
   281                            </instanceof>
       
   282                            <test
       
   283                                  forcePluginActivation="true"
       
   284                                  property="org.eclipse.cdt.launch.isExecutable">
       
   285                            </test>
       
   286                            <test
       
   287                                  forcePluginActivation="true"
       
   288                                  property="org.eclipse.cdt.launch.isCProject">
       
   289                            </test>
       
   290                            <and>
       
   291                               <instanceof
       
   292                                     value="org.eclipse.ui.IFileEditorInput">
       
   293                               </instanceof>
       
   294                               <adapt
       
   295                                     type="org.eclipse.core.resources.IResource">
       
   296                                  <adapt
       
   297                                        type="org.eclipse.cdt.core.model.ICElement">
       
   298                                  </adapt>
       
   299                               </adapt>
       
   300                            </and>
       
   301                            <test
       
   302                                  forcePluginActivation="true"
       
   303                                  property="com.nokia.cdt.debug.launch.isCarbideProject">
       
   304                            </test>
       
   305                            <test
       
   306                                  forcePluginActivation="true"
       
   307                                  property="com.nokia.cdt.debug.launch.isExecutable">
       
   308                            </test>
       
   309                         </or>
       
   310                         <test
       
   311                               forcePluginActivation="true"
       
   312                               property="com.nokia.cdt.debug.launch.isNotEmulator">
       
   313                         </test>
       
   314                      </and>
       
   315                   </iterate>
       
   316                </with>
       
   317             </enablement>
       
   318             <contextLabel
       
   319                   label="Run Symbian OS System on Reference Board"
       
   320                   mode="run">
       
   321             </contextLabel>
       
   322             <contextLabel
       
   323                   label="Debug Symbian OS System on Reference Board"
       
   324                   mode="debug">
       
   325             </contextLabel>
       
   326          </contextualLaunch>
       
   327          <description
       
   328                description="Runs on a development board or reference hardware using a JTAG connection."
       
   329                mode="run">
       
   330          </description>
       
   331          <description
       
   332                description="Debugs on a development board or reference hardware using a JTAG connection."
       
   333                mode="debug">
       
   334          </description>
   223          </description>
   335       </shortcut>
   224       </shortcut>
   336       <shortcut
   225       <shortcut
   337             class="com.nokia.cdt.internal.debug.launch.EmulatorLaunchShortcut"
   226             class="com.nokia.cdt.internal.debug.launch.EmulatorLaunchShortcut"
   338             icon="icons/launch_config_file_16x16.png"
   227             icon="icons/launch_config_file_16x16.png"