Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 471694647b5bb648b2300245b36c5d50f9d3ee8f (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
161
162
163
164
<?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
                     ifEmpty="false">
                  <adapt
                        type="org.eclipse.cdt.core.model.ICElement">
                     <or>
                        <instanceof
                              value="org.eclipse.cdt.core.model.IBinary">
                        </instanceof>
                        <instanceof
                              value="org.eclipse.cdt.core.model.ICProject">
                        </instanceof>
                     </or>
                  </adapt>
               </iterate>
             </with>
           </enablement>
           <contextLabel
         	  mode="run"
         	  label="%ContextualRunCApplication.label"/>
  		   <contextLabel
  		 	  mode="debug"
  		 	  label="%ContextualDebugCApplication.label"/>
  		 </contextualLaunch>
         <perspective
               id="org.eclipse.cdt.ui.CPerspective">
         </perspective>
         <perspective
               id="org.eclipse.debug.ui.DebugPerspective">
         </perspective>
         <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="108"
            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 -->
	<!-- Doug: I'm not sure these are needed anymore.
		 Contextual launch seems to use a different mechanism now -->
	<!--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.internal.core.model.CProject">
            <adapter type="org.eclipse.debug.ui.actions.ILaunchable"/>
         </factory>         
    </extension-->
	
</plugin>

Back to the top