Skip to main content
aboutsummaryrefslogblamecommitdiffstats
blob: ddb8e228da95d54b1d461551f8ca19305311d03d (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15














                                                                                                   
                                                                                 















                                                                                                

                                                                                    























































                                                                                
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.2"?>

<plugin>
 <!--<extension point="org.eclipse.help.toc">
  <toc file="toc.xml" primary="true"/>
 </extension>
 <extension point="org.eclipse.help.index">
  <index file="index.xml"/>
 </extension>-->

   <extension
         point="org.eclipse.debug.core.launchConfigurationTypes">
      <launchConfigurationType
            delegate="org.eclipse.linuxtools.callgraph.launch.SystemTapLaunchConfigurationDelegate"
            id="org.eclipse.linuxtools.systemtap.localgui.launch.systemtapLaunch"
            modes="profile"
            name="%launchConfigurationType.name.0"
            public="true"
            sourceLocatorId="org.eclipse.cdt.debug.core.sourceLocator"
            sourcePathComputerId="org.eclipse.cdt.debug.core.sourcePathComputer">
      </launchConfigurationType>
   </extension>
   
   
   
   <extension
         point="org.eclipse.debug.ui.launchConfigurationTabGroups">
         name = "SystemTap Control Tab"
      <launchConfigurationTabGroup
            class="org.eclipse.linuxtools.callgraph.launch.SystemTapLaunchConfigurationTabGroup"
            description="%launchConfigurationTabGroup.description.0"
            id="org.eclipse.linuxtools.systemtap.localgui.launch.systemtapTabGroup"
            type="org.eclipse.linuxtools.systemtap.localgui.launch.systemtapLaunch">
      </launchConfigurationTabGroup>
   </extension>
   
	
	<extension
         point="org.eclipse.debug.ui.launchShortcuts">
      <shortcut
            class="org.eclipse.linuxtools.callgraph.launch.LaunchStapGraph"
            id="org.eclipse.linuxtools.systemtap.quicklaunchStapGraph1"
            icon="icons/bar_graph.png"
            label="Function callgraph"
            modes="profile">
         <contextualLaunch>
            <enablement>
               <with
                     variable="selection">
                  <count
                        value="1">
                  </count>
                  <iterate>
                     <or>
                        <instanceof
                              value="org.eclipse.cdt.core.model.IBinary">
                        </instanceof>
                        <instanceof
                              value="org.eclipse.cdt.core.model.ICProject">
                        </instanceof>
                        <test
                              forcePluginActivation="true"
                              property="org.eclipse.cdt.launch.isExecutable">
                        </test>
                        <test
                              forcePluginActivation="true"
                              property="org.eclipse.cdt.launch.isCProject">
                        </test>
                        <and>
                           <instanceof
                                 value="org.eclipse.ui.IFileEditorInput">
                           </instanceof>
                           <adapt
                                 type="org.eclipse.core.resources.IResource">
                              <adapt
                                    type="org.eclipse.cdt.core.model.ICElement">
                              </adapt>
                           </adapt>
                        </and>
                     </or>
                  </iterate>
               </with>
            </enablement>
         </contextualLaunch>
      </shortcut>
   </extension>
   

</plugin>

Back to the top