Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » How can I provide variables for property tests to create dynamic help content
How can I provide variables for property tests to create dynamic help content [message #725667] Thu, 15 September 2011 13:49
Riccardo Missing name is currently offline Riccardo Missing nameFriend
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>
Previous Topic:How could we shield selection using right-click
Next Topic:override global delete command handler
Goto Forum:
  


Current Time: Thu Apr 25 01:28:17 GMT 2024

Powered by FUDForum. Page generated in 0.02647 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top