File: plugin.xml

package info (click to toggle)
eclipse-platform-runtime 4.18-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 6,220 kB
  • sloc: java: 49,587; xml: 1,421; makefile: 5
file content (231 lines) | stat: -rw-r--r-- 9,312 bytes parent folder | download | duplicates (4)
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
224
225
226
227
228
229
230
231
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
<plugin>

     <extension point="org.eclipse.core.expressions.propertyTesters">
      <propertyTester
            namespace="org.eclipse.core.internal.expressions.tests"
            properties="simple, overridden, ordering, chainOrdering"
            type="org.eclipse.core.internal.expressions.tests.A"
            class="org.eclipse.core.internal.expressions.tests.A_TypeExtender"
            id="org.eclipse.core.internal.expressions.tests.A_TypeExtender">
      </propertyTester>
      <propertyTester
            namespace="org.eclipse.core.internal.expressions.tests"
            properties="chaining, chainOrdering"
            type="org.eclipse.core.internal.expressions.tests.A"
            class="org.eclipse.core.internal.expressions.tests.A_TypeExtender2"
            id="org.eclipse.core.internal.expressions.tests.A_TypeExtender2">
      </propertyTester>
      <propertyTester
            namespace="org.eclipse.core.internal.expressions.tests"
            properties="overridden"
            type="org.eclipse.core.internal.expressions.tests.B"
            class="org.eclipse.core.internal.expressions.tests.B_TypeExtender"
            id="org.eclipse.core.internal.expressions.tests.B_TypeExtender">
      </propertyTester>
      <propertyTester
            namespace="org.eclipse.core.internal.expressions.tests"
            properties="ordering"
            type="org.eclipse.core.internal.expressions.tests.I"
            class="org.eclipse.core.internal.expressions.tests.I_TypeExtender"
            id="org.eclipse.core.internal.expressions.tests.I_TypeExtender">
      </propertyTester>
      
      <propertyTester
            namespace="org.eclipse.core.internal.expressions.tests2"
            properties="differentNamespace"
            type="org.eclipse.core.internal.expressions.tests.A"
            class="org.eclipse.core.internal.expressions.tests.A_TypeExtender3"
            id="org.eclipse.core.internal.expressions.tests.A_TypeExtender">
      </propertyTester>
   </extension>

   <extension point="org.eclipse.core.runtime.adapters">
		<factory 
            class="org.eclipse.core.internal.expressions.tests.TestAdapterFactory" 
            adaptableType="org.eclipse.core.internal.expressions.tests.Adaptee">
            <adapter type="org.eclipse.core.internal.expressions.tests.Adapter"/>
		</factory>
		<factory
			adaptableType="org.eclipse.core.internal.expressions.tests.ExpressionTests$CollectionWrapper"
			class="org.eclipse.core.internal.expressions.tests.CollectionAdapterFactory">
			<adapter type="org.eclipse.core.expressions.IIterable"/>
			<adapter type="org.eclipse.core.expressions.ICountable"/>
		</factory>
   </extension>
   
   <extension-point id="testParticipants" name="%testParticipant" schema="schema/testParticipants.exsd"/>
   
	<extension point="org.eclipse.core.expressions.tests.testParticipants">
	  <testParticipant id="test1">
		<enablement>
			<and>
	            <and/> 
	            <or/>
	            <not><count value="1"/></not>
	            <instanceof value="org.eclipse.core.expressions.Expression"/>
	            <test property="namespace.isDefault"/>
	            <systemTest property="isDefault" value="xx"/>
	            <equals value= "string"/>
				<count value="1"/>
				<with variable="eclipse"/>
				<resolve variable="eclipse"/>
			    <adapt type="org.eclipse.core.expressions.Expression"/>            
	            <iterate/> 
			</and>
			<or>
	            <and/> 
	            <or/>
	            <not><count value="1"/></not>
	            <instanceof value="org.eclipse.core.expressions.Expression"/>
	            <test property="namespace.isDefault"/>
	            <systemTest property="isDefault" value="xx"/>
	            <equals value= "string"/>
				<count value="1"/>
				<with variable="eclipse"/>
				<resolve variable="eclipse"/>
			    <adapt type="org.eclipse.core.expressions.Expression"/>            
	            <iterate/> 
			</or> 
			<not><count value="1"/></not>
            <instanceof value="org.eclipse.core.expressions.Expression"/>
            <test property="namespace.isDefault"/>
            <test property="namespace.isDefault" value="default"/>
            <test property="namespace.isDefault" args="'arg1', 'arg2'" value="default"/>
            <test property="namespace.isDefault" forcePluginActivation="true"/>
	        <systemTest property="isDefault" value="xx"/>
	        <equals value= "string"/>
            <count value="1"/>
            <with variable= "element">
	            <and/> 
	            <or/>
	            <not><count value="1"/></not>
	            <instanceof value="org.eclipse.core.expressions.Expression"/>
	            <test property="namespace.isDefault"/>
	            <systemTest property="isDefault" value="xx"/>
	            <equals value= "string"/>
				<count value="1"/>
				<with variable="eclipse"/>
				<resolve variable="eclipse"/>
			    <adapt type="org.eclipse.core.expressions.Expression"/>            
	            <iterate/> 
            </with>
            <resolve variable="eclipse">
	            <and/> 
	            <or/>
	            <not><count value="1"/></not>
	            <instanceof value="org.eclipse.core.expressions.Expression"/>
	            <test property="namespace.isDefault"/>
	            <systemTest property="isDefault" value="xx"/>
	            <equals value= "string"/>
				<count value="1"/>
				<with variable="eclipse"/>
				<resolve variable="eclipse"/>
			    <adapt type="org.eclipse.core.expressions.Expression"/>            
	            <iterate/> 
            </resolve>
            <resolve variable="eclipse" args="1, true"/>
            <adapt type="org.eclipse.core.expressions.Expression">
	            <and/> 
	            <or/>
	            <not><count value="1"/></not>
	            <instanceof value="org.eclipse.core.expressions.Expression"/>
	            <test property="namespace.isDefault"/>
	            <systemTest property="isDefault" value="xx"/>
	            <equals value= "string"/>
				<count value="1"/>
				<with variable="eclipse"/>
				<resolve variable="eclipse"/>
			    <adapt type="org.eclipse.core.expressions.Expression"/>            
	            <iterate/> 
            </adapt>
            <iterate>
	            <and/> 
	            <or/>
	            <not><count value="1"/></not>
	            <instanceof value="org.eclipse.core.expressions.Expression"/>
	            <test property="namespace.isDefault"/>
	            <systemTest property="isDefault" value="xx"/>
	            <equals value= "string"/>
				<count value="1"/>
				<with variable="eclipse"/>
				<resolve variable="eclipse"/>
			    <adapt type="org.eclipse.core.expressions.Expression"/>            
	            <iterate/> 
            </iterate>
      </enablement>
     </testParticipant>
    </extension>
    
	<extension point="org.eclipse.core.expressions.tests.testParticipants">
	  <testParticipant id="test2">
		<enablement>
            <test property="namespace.isDefault" forcePluginActivation="true"/>
            <test property="namespace.isDefault" forcePluginActivation="false"/>
            <test property="namespace.isDefault"/>
      	</enablement>
      </testParticipant>
   	</extension>

	<extension point="org.eclipse.core.expressions.tests.testParticipants">
	  <testParticipant id="test3">
		<enablement>
			<and>
            	<test property="org.eclipse.core.runtime.isBundleInstalled" args="org.eclipse.core.expressions"/>
            	<not>
            		<test property="org.eclipse.core.runtime.isBundleInstalled" args="org.eclipse.core.expressions.invalid.bundle.name"/>
            	</not>
            	<not>
            		<test property="org.eclipse.core.runtime.product" value="org.eclipse.core.expressions.invalid.product.name"/>
            	</not>
            </and>
      	</enablement>
      </testParticipant>
   	</extension>
 <extension
       point="org.eclipse.core.expressions.definitions">
    <definition
          id="org.eclipse.core.expressions.tests.activeProblemsView">
       <with
             variable="activePartId">
          <equals
                value="org.eclipse.ui.views.ProblemsView">
          </equals>
       </with>
    </definition>
    <definition
          id="org.eclipse.core.expressions.tests.expressionSelection">
       <iterate ifEmpty="false">
          <instanceof
                value="org.eclipse.core.expressions.Expression">
          </instanceof>
       </iterate>
    </definition>
 </extension>
 <extension
       point="org.eclipse.core.expressions.tests.testParticipants">
    <testParticipant
          id="refTest1">
       <enablement>
          <reference
                definitionId="org.eclipse.core.expressions.tests.activeProblemsView">
          </reference>
       </enablement>
    </testParticipant>
    <testParticipant
          id="refTest2">
       <enablement>
          <and>
          <reference
                definitionId="org.eclipse.core.expressions.tests.activeProblemsView">
          </reference>
          <reference
                definitionId="org.eclipse.core.expressions.tests.expressionSelection">
          </reference>
          </and>
       </enablement>
    </testParticipant>
 </extension>
   	 
</plugin>