Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 89eed9280c6113622d02dba190e97e6689a1ac45 (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
<?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.linux.app"
            modes="run,debug"
            name="%LaunchType.Linux.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.linux.app">
         <launchManagerDelegate
               id="org.eclipse.tcf.te.tcf.launch.type.linux.app.launchManagerDelegate"
               modes="run,debug">
         </launchManagerDelegate>
         <stepGroup
               id="org.eclipse.tcf.te.tcf.launch.type.linux.app.stepGroup"
               modes="run,debug">
         </stepGroup>
      </launchConfigTypeBinding>
   </extension>
   
<!-- Launch Manager Delegate contributions -->
   <extension point="org.eclipse.tcf.te.launch.core.launchManagerDelegates">
      <delegate
            class="org.eclipse.tcf.te.launch.core.lm.delegates.DefaultLaunchManagerDelegate"
            id="org.eclipse.tcf.te.tcf.launch.type.linux.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.linux.app.stepGroup"
            label="%LaunchStepGroup.Linux.App.name"
            locked="false">
         <references>
            <reference
                  id="org.eclipse.tcf.te.tcf.launch.core.openChannelStep"
                  disable="false"
                  hidden="false"
                  removable="false"
                  singleton="true">
            </reference>
            <reference
                  id="org.eclipse.tcf.te.tcf.launch.core.closeChannelStep"
                  disable="false"
                  hidden="false"
                  removable="false"
                  singleton="true">
            </reference>
            <reference
                  id="org.eclipse.tcf.te.launch.core.removeLaunchStep"
                  disable="false"
                  hidden="false"
                  removable="false"
                  singleton="true">
                  <enablement>
                      <with variable="context">
                          <not>
                              <test property="org.eclipse.tcf.te.launch.core.launchMode" value="debug"/>
                          </not>
                      </with>
                  </enablement>
            </reference>
         </references>
      </stepGroup>
   </extension>
   
<!-- Launch Step contributions -->
   <extension point="org.eclipse.tcf.te.runtime.stepper.steps">
      <step
            class="org.eclipse.tcf.te.tcf.launch.core.steps.OpenChannelStep"
            id="org.eclipse.tcf.te.tcf.launch.core.openChannelStep"
            label="%LaunchStep.OpenChannel.name">
      </step>
      <step
            class="org.eclipse.tcf.te.tcf.launch.core.steps.CloseChannelStep"
            id="org.eclipse.tcf.te.tcf.launch.core.closeChannelStep"
            label="%LaunchStep.CloseChannel.name">
         <requires
               id="org.eclipse.tcf.te.tcf.launch.core.openChannelStep">
         </requires>
      </step>
   </extension>

</plugin>

Back to the top