Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Platform - User Assistance (UA) » Test whether content is displayed in a help view?
Test whether content is displayed in a help view? [message #609929] Fri, 15 February 2008 13: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
Previous Topic:IExpansionListener not called
Next Topic:running help in RCP without a workbench and not standalone
Goto Forum:
  


Current Time: Sat Jul 26 15:25:03 EDT 2014

Powered by FUDForum. Page generated in 0.01759 seconds