Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCurtis D'Entremont2006-12-08 15:58:33 -0500
committerCurtis D'Entremont2006-12-08 15:58:33 -0500
commit6c8438c708f168fc010c0d51b2e406fea03f238e (patch)
tree1ab00b11a3158ec8c60475a3a9b0adadb16783f2 /org.eclipse.ua.tests/data/help/manual
parent2e4821a10bd18fca34b18703c190df2a419383b0 (diff)
downloadeclipse.platform.ua-6c8438c708f168fc010c0d51b2e406fea03f238e.tar.gz
eclipse.platform.ua-6c8438c708f168fc010c0d51b2e406fea03f238e.tar.xz
eclipse.platform.ua-6c8438c708f168fc010c0d51b2e406fea03f238e.zip
142526 [Help] Allow if/else conditionals (filters) for dynamic contentv20061208
Diffstat (limited to 'org.eclipse.ua.tests/data/help/manual')
-rw-r--r--org.eclipse.ua.tests/data/help/manual/filter.xhtml107
1 files changed, 106 insertions, 1 deletions
diff --git a/org.eclipse.ua.tests/data/help/manual/filter.xhtml b/org.eclipse.ua.tests/data/help/manual/filter.xhtml
index fef3940f2..aaad67e47 100644
--- a/org.eclipse.ua.tests/data/help/manual/filter.xhtml
+++ b/org.eclipse.ua.tests/data/help/manual/filter.xhtml
@@ -6,7 +6,112 @@
</head>
<body>
- <p>This topic should always appear</p>
+ <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 category 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>

Back to the top