Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 756dde5363c47198db519542a61fbb34804b7524 (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
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>

<!-- Extension points -->
   <extension-point id="launchConfigTypeBindings" name="%Extension.LaunchConfigTypeBindings.name" schema="schema/launchConfigTypeBindings.exsd"/>
   <extension-point id="launchManagerDelegates" name="%Extension.LaunchManagerDelegates.name" schema="schema/launchManagerDelegates.exsd"/>

<!-- Adapter factory contributions -->
   <extension point="org.eclipse.core.runtime.adapters">
      <factory
            adaptableType="org.eclipse.tcf.te.launch.core.selection.interfaces.ISelectionContext"
            class="org.eclipse.tcf.te.launch.core.adapters.internal.AdapterFactory">
         <adapter type="org.eclipse.core.expressions.IIterable"/>
         <adapter type="org.eclipse.core.expressions.ICountable"/>
      </factory>
   </extension>

<!-- Preference contributions -->
   <extension point="org.eclipse.core.runtime.preferences">
      <initializer
            class="org.eclipse.tcf.te.launch.core.preferences.PreferencesInitializer">
      </initializer>
   </extension>

<!-- Property tester contributions -->
   <extension point="org.eclipse.core.expressions.propertyTesters">
      <propertyTester
            class="org.eclipse.tcf.te.launch.core.bindings.internal.PropertyTester"
            id="org.eclipse.tcf.te.launch.core.PropertyTester"
            namespace="org.eclipse.tcf.te.launch.core"
            properties="launchMode"
            type="org.eclipse.debug.core.ILaunch">
      </propertyTester>
      <propertyTester
            class="org.eclipse.tcf.te.launch.core.bindings.internal.PropertyTester"
            id="org.eclipse.tcf.te.launch.core.PropertyTester"
            namespace="org.eclipse.tcf.te.launch.core"
            properties="isValidLaunchConfigType"
            type="java.lang.Object">
      </propertyTester>
   </extension>

<!-- Launch Step contributions -->
   <extension point="org.eclipse.tcf.te.runtime.stepper.steps">
      <step
            class="org.eclipse.tcf.te.launch.core.steps.RemoveLaunchStep"
            id="org.eclipse.tcf.te.launch.core.removeLaunchStep"
            label="%LaunchStep.RemoveLaunch.name">
      </step>
   </extension>

<!-- Persistence delegate contributions -->
   <extension point="org.eclipse.tcf.te.runtime.persistence.delegates">
      <delegate 
            id="org.eclipse.tcf.te.launch.core.persistence.gson.referencedProjectItem"
            class="org.eclipse.tcf.te.launch.core.internal.GsonReferencedProjectItemPersistenceDelegate">
      </delegate>
      <delegate 
            id="org.eclipse.tcf.te.launch.core.persistence.gson.fileTransferItem"
            class="org.eclipse.tcf.te.launch.core.internal.GsonFileTransferItemPersistenceDelegate">
      </delegate>
      <delegate 
            id="org.eclipse.tcf.te.launch.core.persistence.gson.launchConfigAttributes"
            class="org.eclipse.tcf.te.launch.core.internal.GsonLaunchConfigAttributesPersistenceDelegate">
      </delegate>
   </extension>

<!-- Persistence delegate bindings contributions -->
   <extension point="org.eclipse.tcf.te.runtime.persistence.bindings">
       <binding
            delegateId="org.eclipse.tcf.te.launch.core.persistence.gson.fileTransferItem"
            id="org.eclipse.tcf.te.launch.core.binding.gson.fileTransferItem">
         <enablement>
            <with variable="container">
               <or>
                  <instanceof value="java.lang.String"/>
                  <and>
                     <instanceof value="java.lang.Class"/>
                     <with variable="containerClass">
                        <equals value="java.lang.String"/>
                     </with>
                  </and>
               </or>
            </with>
            <with variable="context">
               <or>
                  <instanceof value="org.eclipse.tcf.te.runtime.services.interfaces.filetransfer.IFileTransferItem"/>
                  <and>
                     <instanceof value="java.lang.Class"/>
                     <with variable="contextClass">
                        <equals value="org.eclipse.tcf.te.runtime.services.interfaces.filetransfer.IFileTransferItem"/>
                     </with>
                  </and>
               </or>
            </with>
         </enablement>
      </binding>
      <binding
            delegateId="org.eclipse.tcf.te.launch.core.persistence.gson.referencedProjectItem"
            id="org.eclipse.tcf.te.launch.core.binding.gson.referencedProjectItem">
         <enablement>
            <with variable="container">
               <or>
                  <instanceof value="java.lang.String"/>
                  <and>
                     <instanceof value="java.lang.Class"/>
                     <with variable="containerClass">
                        <equals value="java.lang.String"/>
                     </with>
                  </and>
               </or>
            </with>
            <with variable="context">
               <or>
                  <instanceof value="org.eclipse.tcf.te.launch.core.interfaces.IReferencedProjectItem"/>
                  <and>
                     <instanceof value="java.lang.Class"/>
                     <with variable="contextClass">
                        <equals value="org.eclipse.tcf.te.launch.core.interfaces.IReferencedProjectItem"/>
                     </with>
                  </and>
               </or>
            </with>
         </enablement>
      </binding>
      <binding
            delegateId="org.eclipse.tcf.te.launch.core.persistence.gson.launchConfigAttributes"
            id="org.eclipse.tcf.te.launch.core.binding.gson.launchConfigAttributes">
         <enablement>
            <and>
               <with variable="containerClass">
                 <equals value="java.lang.String"/>
               </with>
               <or>
                  <with variable="context">
                     <instanceof value="org.eclipse.debug.core.ILaunchConfiguration"/>
                  </with>
                  <with variable="contextClass">
                     <equals value="org.eclipse.debug.core.ILaunchConfigurationWorkingCopy"/>
                  </with>
               </or>
            </and>
         </enablement>
      </binding>
   </extension>

<!-- Variable delegate contributions --> 
   <extension point="org.eclipse.tcf.te.runtime.persistence.variableDelegates">
      <delegate 
            id="org.eclipse.tcf.te.launch.core.persistence.variableDelegate" 
            delegateId="org.eclipse.tcf.te.launch.core.persistence.gson.fileTransferItem">
         <class class="org.eclipse.tcf.te.runtime.persistence.delegates.PathVariableDelegate">
            <parameter name="keysToHandle" value="host"/>
         </class>
      </delegate>
   </extension>



</plugin>

Back to the top