Test whether content is displayed in a help view? [message #609929] |
Fri, 15 February 2008 18:29 |
Eclipse User |
|
|
|
Originally posted by: ddirks.ittvis.com
I would like to be able to determine, from within an xhtml file,
whether the file is being displayed in the Eclipse help view or
if it is in a browser. I believe something like the following
ought to work, if placed in the xhtml file:
<div>
Some content...
<enablement>
<with variable="workbench">
<test property="i.am.a.help.view" value="yes.i.am"/>
</with>
</enablement>
</div>
What I have been unable to determine, despite a fair amount of
searching through the docs, are the values I would plug in for
"i.am.a.help.view" and "yes.i.am".
Is this a case where I need a custom property tester, or is there
some way to determine whether I'm in the help view using existing
properties and values?
Thanks for any help,
Doug Dirks
|
|
|
Powered by
FUDForum. Page generated in 0.02912 seconds