Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: e136f29523ba45312bf279a30c599d4a9fb98e8e (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
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>

<!-- Adapter factory contributions -->
   <extension point="org.eclipse.core.runtime.adapters">
      <factory
            adaptableType="org.eclipse.debug.core.ILaunch"
            class="org.eclipse.tcf.te.tcf.launch.core.internal.adapters.AdapterFactory">
         <adapter type="org.eclipse.tcf.te.runtime.stepper.interfaces.IStepContext"/>
      </factory>
      <factory
            adaptableType="org.eclipse.tcf.te.tcf.locator.interfaces.nodes.IPeerNode"
            class="org.eclipse.tcf.te.tcf.launch.core.internal.adapters.AdapterFactory">
         <adapter type="org.eclipse.debug.core.ILaunchConfiguration"/>
         <adapter type="org.eclipse.debug.core.ILaunchConfigurationWorkingCopy"/>
      </factory>
      <factory
            adaptableType="org.eclipse.tcf.protocol.IPeer"
            class="org.eclipse.tcf.te.tcf.launch.core.internal.adapters.AdapterFactory">
         <adapter type="org.eclipse.debug.core.ILaunchConfiguration"/>
         <adapter type="org.eclipse.debug.core.ILaunchConfigurationWorkingCopy"/>
      </factory>
   </extension>

<!-- Service contributions -->
   <extension point="org.eclipse.tcf.te.runtime.services.services">
      <service
            id="org.eclipse.tcf.te.tcf.launch.services.persistence.import"
            class="org.eclipse.tcf.te.tcf.launch.core.internal.services.ImportPersistenceService">
         <serviceType class="org.eclipse.tcf.te.tcf.core.interfaces.IImportPersistenceService"/>
      </service>
      <service
            id="org.eclipse.tcf.te.tcf.launch.services.persistence.export"
            class="org.eclipse.tcf.te.tcf.launch.core.internal.services.ExportPersistenceService">
         <serviceType class="org.eclipse.tcf.te.tcf.core.interfaces.IExportPersistenceService"/>
      </service>
      <service
            id="org.eclipse.tcf.te.tcf.launch.services.pathmap"
            class="org.eclipse.tcf.te.tcf.launch.core.internal.services.PathMapService">
         <serviceType class="org.eclipse.tcf.te.tcf.core.interfaces.IPathMapService"/>
      </service>
   </extension>
   
<!-- Launch Configuration Type contributions -->
   <extension point="org.eclipse.debug.core.launchConfigurationTypes">
      <launchConfigurationType
            id="org.eclipse.tcf.te.tcf.launch.type.remote.app"
            sourceLocatorId="org.eclipse.tcf.debug.SourceLocator"
            sourcePathComputerId="org.eclipse.tcf.te.launch.core.sourcePathComputer"
            delegate="org.eclipse.tcf.te.tcf.launch.core.delegates.LaunchConfigurationDelegate"
            modes="run,debug"
            name="%LaunchType.Remote.App.name"/>
      <launchConfigurationType
            id="org.eclipse.tcf.te.tcf.launch.type.attach"
            public="false"
            sourceLocatorId="org.eclipse.tcf.debug.SourceLocator"
            sourcePathComputerId="org.eclipse.tcf.te.launch.core.sourcePathComputer"
            delegate="org.eclipse.tcf.te.tcf.launch.core.delegates.LaunchConfigurationDelegate"
            modes="debug"
            name="%LaunchType.Attach.name"/>
   </extension>
   
<!-- Launch Configuration Type Binding contributions -->
   <extension point="org.eclipse.tcf.te.launch.core.launchConfigTypeBindings">
      <launchConfigTypeBinding launchConfigTypeId="org.eclipse.tcf.te.tcf.launch.type.remote.app">
         <launchManagerDelegate
               id="org.eclipse.tcf.te.tcf.launch.type.remote.app.launchManagerDelegate"
               modes="run"/>
         <stepGroup
               id="org.eclipse.tcf.te.tcf.launch.type.remote.app.stepGroup"
               modes="run"/>
         <enablement>
            <with variable="context">
               <or>
                  <adapt type="org.eclipse.core.resources.IResource">
                     <test property="org.eclipse.core.resources.projectNature" value="org.eclipse.cdt.core.cnature"/>
                  </adapt>
                  <and>
                     <!-- binds to generic connections only -->
                     <instanceof value="org.eclipse.tcf.te.tcf.locator.interfaces.nodes.IPeerNode"/>
                     <test property="org.eclipse.tcf.te.tcf.locator.isOfType" value="null"/>
                  </and>
               </or>
            </with>
         </enablement>
      </launchConfigTypeBinding>
      <launchConfigTypeBinding launchConfigTypeId="org.eclipse.tcf.te.tcf.launch.type.remote.app">
         <launchManagerDelegate
               id="org.eclipse.tcf.te.tcf.launch.type.remote.app.launchManagerDelegate"
               modes="debug"/>
         <stepGroup
               id="org.eclipse.tcf.te.tcf.launch.type.remote.app.stepGroup"
               modes="debug"/>
         <enablement>
            <with variable="context">
               <or>
                  <adapt type="org.eclipse.core.resources.IResource">
                     <test property="org.eclipse.core.resources.projectNature" value="org.eclipse.cdt.core.cnature"/>
                  </adapt>
                  <and>
                     <!-- binds to generic connections only -->
                     <instanceof value="org.eclipse.tcf.te.tcf.locator.interfaces.nodes.IPeerNode"/>
                     <test property="org.eclipse.tcf.te.tcf.locator.isOfType" value="null"/>
                  </and>
               </or>
            </with>
         </enablement>
      </launchConfigTypeBinding>
      <launchConfigTypeBinding launchConfigTypeId="org.eclipse.tcf.te.tcf.launch.type.attach">
         <launchManagerDelegate
               id="org.eclipse.tcf.te.tcf.launch.type.attach.launchManagerDelegate"
               modes="debug"/>
         <stepGroup
               id="org.eclipse.tcf.te.tcf.launch.type.attach.stepGroup"
               modes="debug"/>
         <enablement>
            <with variable="context">
               <instanceof value="org.eclipse.tcf.te.tcf.locator.interfaces.nodes.IPeerNode"/>
            </with>
         </enablement>
      </launchConfigTypeBinding>
   </extension>
   
<!-- Launch Manager Delegate contributions -->
   <extension point="org.eclipse.tcf.te.launch.core.launchManagerDelegates">
      <delegate
            class="org.eclipse.tcf.te.tcf.launch.core.lm.delegates.RemoteAppLaunchManagerDelegate"
            id="org.eclipse.tcf.te.tcf.launch.type.remote.app.launchManagerDelegate"/>
      <delegate
            class="org.eclipse.tcf.te.tcf.launch.core.lm.delegates.AttachLaunchManagerDelegate"
            id="org.eclipse.tcf.te.tcf.launch.type.attach.launchManagerDelegate"/>
   </extension>
   
<!-- Launch Step Group contributions -->
   <extension point="org.eclipse.tcf.te.runtime.stepper.stepGroups">
      <stepGroup
            id="org.eclipse.tcf.te.tcf.launch.type.remote.app.stepGroup"
            label="%LaunchStepGroup.Remote.App.name"
            iterator="org.eclipse.tcf.te.launch.core.steps.iterators.LaunchContextIterator">
         <references>
            <reference id="org.eclipse.tcf.te.tcf.locator.connectNoAttachStepGroup"/>
            <reference id="org.eclipse.tcf.te.tcf.core.openChannelStep"/>
            <reference id="org.eclipse.tcf.te.tcf.launch.core.fileTransferStepGroup"/>
            <reference id="org.eclipse.tcf.te.tcf.launch.core.launchProcessStepGroup"/>
            <reference id="org.eclipse.tcf.te.tcf.launch.core.attachDebuggerStep">
               <enablement>
                  <with variable="context">
                     <test property="org.eclipse.tcf.te.launch.core.launchMode" value="debug"/>
                  </with>
               </enablement>
            </reference>
            <reference id="org.eclipse.tcf.te.launch.core.removeLaunchStep">
               <enablement>
                  <not>
                     <test property="org.eclipse.tcf.te.launch.core.launchMode" value="debug"/>
                  </not>
               </enablement>
            </reference>
         </references>
      </stepGroup>
      <stepGroup
            id="org.eclipse.tcf.te.tcf.launch.core.launchProcessStepGroup"
            label="%LaunchStepGroup.LaunchProcess.name"
            iterator="org.eclipse.tcf.te.tcf.launch.core.steps.iterators.LaunchProcessIterator">
         <references>
            <reference id="org.eclipse.tcf.te.tcf.locator.checkServiceStep">
               <parameter name="remoteService" value="Processes"/>
            </reference>
            <reference id="org.eclipse.tcf.te.tcf.locator.checkServiceStep">
               <parameter name="remoteService" value="RunControl"/>
               <enablement>
                  <test property="org.eclipse.tcf.te.launch.core.launchMode" value="debug"/>
               </enablement>
            </reference>
            <reference id="org.eclipse.tcf.te.tcf.processes.core.launchProcessStep"/>
            <reference id="org.eclipse.tcf.te.tcf.processes.core.resumeProcessStep">
               <enablement>
                  <test property="org.eclipse.tcf.te.launch.core.launchMode" value="debug"/>
               </enablement>
            </reference>
         </references>
      </stepGroup>
      <stepGroup
            id="org.eclipse.tcf.te.tcf.launch.core.fileTransferStepGroup"
            label="%LaunchStepGroup.FileTransfer.name"
            iterator="org.eclipse.tcf.te.tcf.launch.core.steps.iterators.FileTransferIterator">
         <references>
            <reference id="org.eclipse.tcf.te.tcf.locator.checkServiceStep">
               <parameter name="remoteService" value="FileSystem"/>
            </reference>
            <reference id="org.eclipse.tcf.te.tcf.filesystem.core.fileTransferStep"/>
         </references>
      </stepGroup>
      
      <stepGroup
            id="org.eclipse.tcf.te.tcf.launch.type.attach.stepGroup"
            label="%LaunchStepGroup.Attach.name"
            iterator="org.eclipse.tcf.te.launch.core.steps.iterators.LaunchContextIterator">
         <references>
            <reference id="org.eclipse.tcf.te.tcf.core.openChannelStep"/>
            <reference id="org.eclipse.tcf.te.tcf.locator.checkServiceStep">
               <parameter name="remoteService" value="RunControl"/>
            </reference>
            <reference id="org.eclipse.tcf.te.tcf.launch.core.attachDebuggerStep">
               <enablement>
                  <test property="org.eclipse.tcf.te.launch.core.launchMode" value="debug"/>
               </enablement>
            </reference>
            <reference id="org.eclipse.tcf.te.tcf.core.closeChannelStep"/>
         </references>
      </stepGroup>
   </extension>
   
<!-- Launch Step contributions -->
   <extension point="org.eclipse.tcf.te.runtime.stepper.steps">
      <step
            id="org.eclipse.tcf.te.tcf.launch.core.attachDebuggerStep"
            class="org.eclipse.tcf.te.tcf.launch.core.steps.AttachDebuggerStep"
            label="%LaunchStep.AttachDebugger.name"/>
   </extension>

</plugin>

Back to the top