aboutsummaryrefslogtreecommitdiffstats
blob: b7a3cbea83a79b57db8043784b69da4e4d5bd037 (plain)
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
<?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>
   </extension>

<!-- Service contributions -->
   <extension point="org.eclipse.tcf.te.runtime.services.services">
      <service
            class="org.eclipse.tcf.te.tcf.launch.core.services.DebugService"
            id="org.eclipse.tcf.te.tcf.launch.core.services.debug">
         <serviceType
               bundleId="org.eclipse.tcf.te.runtime.services"
               class="org.eclipse.tcf.te.runtime.services.interfaces.IDebugService">
         </serviceType>
         <enablement>
            <or>
               <instanceof value="org.eclipse.tcf.te.tcf.locator.interfaces.nodes.IPeerModel"/>
               <instanceof value="org.eclipse.tcf.protocol.IPeer"/>
            </or>   
         </enablement>
      </service>
   </extension>

<!-- Launch Configuration Type contributions -->
   <extension point="org.eclipse.debug.core.launchConfigurationTypes">
      <launchConfigurationType
            delegate="org.eclipse.tcf.te.launch.core.delegates.LaunchConfigurationDelegate"
            id="org.eclipse.tcf.te.tcf.launch.type.remote.app"
            modes="run,debug"
            name="%LaunchType.Remote.App.name">
      </launchConfigurationType>
   </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,debug">
         </launchManagerDelegate>
         <stepGroup
               id="org.eclipse.tcf.te.tcf.launch.type.remote.app.stepGroup"
               modes="run,debug">
         </stepGroup>
         <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">
                     	 </test>
                   </adapt>
                   <instanceof value="org.eclipse.tcf.te.tcf.locator.interfaces.nodes.IPeerModel"/>
                </or>
            </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>
   </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"
            locked="false">
         <references>
            <reference id="org.eclipse.tcf.te.tcf.launch.core.openChannelStep"/>
            <reference id="org.eclipse.tcf.te.tcf.launch.core.fileTransferStepGroup"/>
            <reference id="org.eclipse.tcf.te.tcf.launch.core.launchProcessStep"/>
            <reference id="org.eclipse.tcf.te.tcf.launch.core.closeChannelStep"/>
            <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"/>
         </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"
            locked="false">
         <references>
            <reference id="org.eclipse.tcf.te.tcf.launch.core.fileTransferStep"/>
         </references>
      </stepGroup>
   </extension>
   
<!-- Launch Step contributions -->
   <extension point="org.eclipse.tcf.te.runtime.stepper.steps">
      <step
            id="org.eclipse.tcf.te.tcf.launch.core.openChannelStep"
            class="org.eclipse.tcf.te.tcf.launch.core.steps.OpenChannelStep"
            label="%LaunchStep.OpenChannel.name">
      </step>
      <step
            id="org.eclipse.tcf.te.tcf.launch.core.fileTransferStep"
            class="org.eclipse.tcf.te.tcf.launch.core.steps.FileTransferStep"
            label="%LaunchStep.FileTransfer.name">
         <requires
               id="org.eclipse.tcf.te.tcf.launch.core.openChannelStep">
         </requires>
      </step>
      <step
            id="org.eclipse.tcf.te.tcf.launch.core.launchProcessStep"
            class="org.eclipse.tcf.te.tcf.launch.core.steps.LaunchProcessStep"
            label="%LaunchStep.LaunchProcess.name">
         <requires
               id="org.eclipse.tcf.te.tcf.launch.core.openChannelStep">
         </requires>
      </step>
      <step
            id="org.eclipse.tcf.te.tcf.launch.core.attachDebuggerStep"
            class="org.eclipse.tcf.te.tcf.launch.core.steps.AttachDebuggerStep"
            label="%LaunchStep.AttachDebugger.name">
         <requires
               id="org.eclipse.tcf.te.tcf.launch.core.openChannelStep">
         </requires>
      </step>
      <step
            id="org.eclipse.tcf.te.tcf.launch.core.closeChannelStep"
            class="org.eclipse.tcf.te.tcf.launch.core.steps.CloseChannelStep"
            label="%LaunchStep.CloseChannel.name">
         <requires
               id="org.eclipse.tcf.te.tcf.launch.core.openChannelStep">
         </requires>
      </step>
   </extension>

</plugin>