Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 283833b730d81c1f3cc1ca669deafd2f3972fa5a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
<plugin>

     <extension
         point="org.eclipse.debug.core.launchConfigurationTypes">
      <launchConfigurationType
            sourceLocatorId="org.eclipse.cdt.debug.core.sourceLocator"
            delegate="org.eclipse.cdt.launch.internal.LocalCDILaunchDelegate"
            public="true"
            sourcePathComputerId="org.eclipse.cdt.debug.core.sourcePathComputer"
            name="%LocalCDTLaunch.name"
            id="org.eclipse.cdt.launch.localCLaunch"
            modes="run,debug">
      </launchConfigurationType>
      <launchConfigurationType
            delegate="org.eclipse.cdt.launch.internal.LocalCDILaunchDelegate"
            id="org.eclipse.cdt.launch.localAttachCLaunch"
            modes="debug"
            name="%LocalAttachCDTLaunch.name"
            public="true"
            sourceLocatorId="org.eclipse.cdt.debug.core.sourceLocator"
            sourcePathComputerId="org.eclipse.cdt.debug.core.sourcePathComputer">
      </launchConfigurationType>
      <launchConfigurationType
            delegate="org.eclipse.cdt.launch.internal.LocalCDILaunchDelegate"
            id="org.eclipse.cdt.launch.coreFileCLaunch"
            modes="debug"
            name="%CoreFileCDTLaunch.name"
            public="true"
            sourceLocatorId="org.eclipse.cdt.debug.core.sourceLocator"
            sourcePathComputerId="org.eclipse.cdt.debug.core.sourcePathComputer">
      </launchConfigurationType>
   </extension>
   <extension
         point="org.eclipse.debug.ui.launchConfigurationTypeImages">
      <launchConfigurationTypeImage
            icon="icons/obj16/c_app.gif"
            configTypeID="org.eclipse.cdt.launch.localCLaunch"
            id="org.eclipse.cdt.launch.localRunLaunchImage">
      </launchConfigurationTypeImage>
      <launchConfigurationTypeImage
            icon="icons/obj16/c_app.gif"
            configTypeID="org.eclipse.cdt.launch.localAttachCLaunch"
            id="org.eclipse.cdt.launch.localAttachLaunchImage">
      </launchConfigurationTypeImage>
      <launchConfigurationTypeImage
            icon="icons/obj16/c_app.gif"
            configTypeID="org.eclipse.cdt.launch.coreFileCLaunch"
            id="org.eclipse.cdt.launch.coreFileLaunchImage">
      </launchConfigurationTypeImage>
   </extension>
   <extension
         point="org.eclipse.debug.ui.launchConfigurationTabGroups">
      <launchConfigurationTabGroup
            type="org.eclipse.cdt.launch.localCLaunch"
            class="org.eclipse.cdt.launch.internal.ui.LocalRunLaunchConfigurationTabGroup"
            id="org.eclipse.cdt.launch.localRunLaunchTabGroup">
      </launchConfigurationTabGroup>
      <launchConfigurationTabGroup
            type="org.eclipse.cdt.launch.localAttachCLaunch"
            class="org.eclipse.cdt.launch.internal.ui.LocalAttachLaunchConfigurationTabGroup"
            id="org.eclipse.cdt.launch.localAttachLaunchTabGroup">
      </launchConfigurationTabGroup>
      <launchConfigurationTabGroup
            type="org.eclipse.cdt.launch.coreFileCLaunch"
            class="org.eclipse.cdt.launch.internal.ui.CoreFileLaunchConfigurationTabGroup"
            id="org.eclipse.cdt.launch.coreFileCLaunchTabGroup">
      </launchConfigurationTabGroup>
   </extension>
   <extension
         point="org.eclipse.debug.ui.launchShortcuts">
      <shortcut
            label="%CApplicationShortcut.label"
            icon="icons/obj16/c_app.gif"
            modes="run, debug"
            class="org.eclipse.cdt.launch.internal.CApplicationLaunchShortcut"
            id="org.eclipse.cdt.debug.ui.localCShortcut">
         <contextualLaunch>
           <enablement>
             <with variable="selection">
               <count value="1"/>
               <iterate>
                   <or>
                     <instanceof value="org.eclipse.cdt.core.model.IBinary"/>
                     <instanceof value="org.eclipse.cdt.core.model.ICProject"/>
                     <test
                           forcePluginActivation="true"
                           property="org.eclipse.cdt.launch.isExecutable"/>
                     <test
                           forcePluginActivation="true"
                           property="org.eclipse.cdt.launch.isCProject"/>
                     <and>
                       <instanceof value="org.eclipse.ui.IFileEditorInput"/>
                       <adapt type="org.eclipse.core.resources.IResource">
                         <adapt type="org.eclipse.cdt.core.model.ICElement"/>
                       </adapt>
                     </and>
                   </or>
               </iterate>
             </with>
           </enablement>
         </contextualLaunch>
         <description
             mode="run"
             description="%ContextualRunCApplication.description"/>
          <description
             mode="debug"
             description="%ContextualDebugCApplication.description"/>
         <configurationType
               id="org.eclipse.cdt.launch.localCLaunch">
         </configurationType>
	</shortcut>
   </extension>
<!-- Property testers -->
   <extension point="org.eclipse.core.expressions.propertyTesters">
      <propertyTester
      		namespace="org.eclipse.cdt.launch"
            properties="isExecutable,isCProject"
            type="org.eclipse.core.runtime.IAdaptable"
            class="org.eclipse.cdt.launch.internal.CPropertyTester"
            id="org.eclipse.cdt.launch.CPropertyTester">
      </propertyTester>
   </extension>
   <extension
         point="org.eclipse.debug.core.statusHandlers">
      <statusHandler
            code="100"
            plugin="org.eclipse.cdt.launch"
            class="org.eclipse.cdt.launch.internal.ui.ProcessPrompter"
            id="org.eclipse.cdt.launch.statusHandler.processPrompter">
      </statusHandler>  
      <statusHandler
            code="1001"
            plugin="org.eclipse.cdt.launch"
            class="org.eclipse.cdt.launch.internal.ui.CoreFilePrompter"
            id="org.eclipse.cdt.launch.statusHandler.coreFilePrompter">
      </statusHandler>  
	</extension>
	
	<!-- Adapters for contextual launch -->
	<extension point="org.eclipse.core.runtime.adapters">
         <factory 
            class="" 
            adaptableType="org.eclipse.cdt.core.model.IBinary">
            <adapter type="org.eclipse.debug.ui.actions.ILaunchable"/>
         </factory>
         <factory 
            class="" 
            adaptableType="org.eclipse.core.resources.IResource">
            <adapter type="org.eclipse.debug.ui.actions.ILaunchable"/>
         </factory>         
         <factory 
            class="" 
            adaptableType="org.eclipse.cdt.core.model.ICProject">
            <adapter type="org.eclipse.debug.ui.actions.ILaunchable"/>
         </factory>         
    </extension>
	
</plugin>

Back to the top