|Test whether content is displayed in a help view? [message #472326]
||Fri, 15 February 2008 18:29
| Douglas Dirks
Registered: July 2009
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:
<test property="i.am.a.help.view" value="yes.i.am"/>
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,
|Re: Test whether content is displayed in a help view? [message #609944 is a reply to message #472328]
||Wed, 20 February 2008 00:19
Originally posted by: ddirks.ittvis.com|
Thanks, Chris. With that insight I can solve my current problem
and CSS (to control what's displayed).
I can't tell whether it would be generally useful to have a
<enablement> test for this. That would certainly make it easier
to control the displayed content based on the view type, but
maybe that's a fringe case. Do you (or anyone else out there)
think it would be worth filing as a feature request?
Powered by FUDForum
. Page generated in 0.03429 seconds