Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 5a464e74785e5459f0e1c6ba6e91ea56e581fc44 (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
165
166
167
168
169
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
<plugin
   id="org.eclipse.cdt.launch"
   name="%pluginName"
   version="3.0.0"
   provider-name="%providerName"
   class="org.eclipse.cdt.launch.internal.ui.LaunchUIPlugin">

   <runtime>
      <library name="cdtlaunch.jar">
         <export name="*"/>
      </library>
   </runtime>
   <requires>
      <import plugin="org.eclipse.ui.ide"/>
      <import plugin="org.eclipse.core.expressions"/>
      <import plugin="org.eclipse.core.resources"/>
      <import plugin="org.eclipse.debug.core"/>
      <import plugin="org.eclipse.debug.ui"/>
      <import plugin="org.eclipse.ui"/>
      <import plugin="org.eclipse.cdt.core"/>
      <import plugin="org.eclipse.cdt.ui"/>
      <import plugin="org.eclipse.cdt.debug.core"/>
      <import plugin="org.eclipse.cdt.debug.ui"/>
      <import plugin="org.eclipse.core.runtime"/>
      <import plugin="org.eclipse.core.variables"/>
   </requires>


   <extension
         point="org.eclipse.debug.core.launchConfigurationTypes">
      <launchConfigurationType
            sourceLocatorId="org.eclipse.cdt.debug.core.sourceLocator"
            delegate="org.eclipse.cdt.launch.internal.LocalRunLaunchDelegate"
            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.LocalAttachLaunchDelegate"
            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.CoreFileLaunchDelegate"
            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>
                 <test property="org.eclipse.cdt.launch.isExecutable"/>
               </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>
      </shortcut>
   </extension>
<!-- Property testers -->
   <extension point="org.eclipse.core.expressions.propertyTesters">
      <propertyTester
      		namespace="org.eclipse.cdt.launch"
            properties="isExecutable"
            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="101"
            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>         
    </extension>
	
</plugin>

Back to the top