Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 4b3bd48c13ad0c916e0b1d4735932d9a46974704 (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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Dynamic Content</title>
</head>
<body>

	<h3>Enablement</h3>
	
	<!-- should never appear -->
	<p>
		Your OS is invalid
		<enablement>
			<systemTest property="osgi.os" value="invalid"/>
		</enablement>
	</p>
	<p>
		Your WS is invalid
		<enablement>
			<systemTest property="osgi.ws" value="invalid"/>
		</enablement>
	</p>
	<p>
		Your ARCH is invalid
		<enablement>
			<systemTest property="osgi.arch" value="invalid"/>
		</enablement>
	</p>
	<p>
		Your OS is win32 AND your WS is invalid
		<enablement>
			<systemTest property="osgi.os" value="win32"/>
			<systemTest property="osgi.ws" value="invalid"/>
		</enablement>
	</p>

	<p>
		The plugin org.eclipse.help is installed
		<enablement>
			<with variable="platform">
				<test property="org.eclipse.core.runtime.isBundleInstalled" args="org.eclipse.help"/>
			</with>
		</enablement>
	</p>

	<!-- should never appear -->
	<p>
		The plugin invalid is installed
		<enablement>
			<with variable="platform">
				<test property="org.eclipse.core.runtime.isBundleInstalled" args="invalid"/>
			</with>
		</enablement>
	</p>

	<p>
		The product org.eclipse.sdk.ide is running
		<enablement>
			<with variable="platform">
				<test property="org.eclipse.core.runtime.product" value="org.eclipse.sdk.ide"/>
			</with>
		</enablement>
	</p>

	<!-- should never appear -->
	<p>
		The product invalid is running
		<enablement>
			<with variable="platform">
				<test property="org.eclipse.core.runtime.product" value="invalid"/>
			</with>
		</enablement>
	</p>

	<p>
		The category org.eclipse.categories.developmentCategory is enabled
		<enablement>
			<with variable="workbench">
				<test property="org.eclipse.ui.isCategoryEnabled" args="org.eclipse.categories.developmentCategory"/>
			</with>
		</enablement>
	</p>

	<!-- should never appear -->
	<p>
		The category invalid is enabled
		<enablement>
			<with variable="workbench">
				<test property="org.eclipse.ui.isCategoryEnabled" args="invalid"/>
			</with>
		</enablement>
	</p>

	<p>
		The activity org.eclipse.javaDevelopment is enabled
		<enablement>
			<with variable="workbench">
				<test property="org.eclipse.ui.isActivityEnabled" args="org.eclipse.javaDevelopment"/>
			</with>
		</enablement>
	</p>

	<!-- should never appear -->
	<p>
		The category invalid is enabled
		<enablement>
			<with variable="workbench">
				<test property="org.eclipse.ui.isActivityEnabled" args="invalid"/>
			</with>
		</enablement>
	</p>

	<h3>Legacy</h3>

	<!-- should never appear -->
	<p filter="os=invalid">Your OS is invalid</p>
	<p filter="ws=invalid">Your WS is invalid</p>
	<p filter="arch=invalid">Your ARCH is invalid</p>
	<p>
		Your OS is win32 AND your WS is invalid
		<filter name="os" value="win32"/>
    	<filter name="ws" value="invalid"/>
    </p>

	<p filter="plugin=org.eclipse.help">The plugin org.eclipse.help is installed</p>

	<!-- should never appear -->
	<p filter="plugin=invalid">The plugin invalid is installed</p>

	<p filter="product=org.eclipse.sdk.ide">The product org.eclipse.sdk.ide is running</p>

	<!-- should never appear -->
	<p filter="product=invalid">The product invalid is running</p>

	<p filter="category=org.eclipse.categories.developmentCategory">The category org.eclipse.categories.developmentCategory is enabled</p>

	<!-- should never appear -->
	<p filter="category=invalid">The category invalid is enabled</p>

	<p filter="activity=org.eclipse.javaDevelopment">The activity org.eclipse.javaDevelopment is enabled</p>

	<!-- should never appear -->
	<p filter="activity=invalid">The activity invalid is enabled</p>	

</body>
</html>

Back to the top