How can I provide variables for property tests to create dynamic help content [message #725667] |
Thu, 15 September 2011 13:49 |
Riccardo Missing name Messages: 9 Registered: September 2011 |
Junior Member |
|
|
User assistance provides two variables (platform and workbench) which can be used for property tests to determine the enablement of an element in the documentation. Furthermore you can define a property tester via the extension point org.eclipse.core.expressions.propertyTesters.
My question is how i can provide a new variable (eg. myVariable) which i wnat to use in my property tester, so that i can enable/disable an element in my XHTML-file?
<p>
<enablement>
<with variable="myVariable">
<test property="my.namespace.propertyName" value="expectedValue"/>
</with>
</enablement>
This paragraph should only be displayed when my provided varibale passes the test.
</p>
|
|
|
Powered by
FUDForum. Page generated in 0.02647 seconds