Skip to main content


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 18:29
Eclipse UserFriend
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:running an infocenter on different servers: where can I find the documentation
Next Topic:running help in RCP without a workbench and not standalone
Goto Forum:
  


Current Time: Thu Nov 14 21:11:47 GMT 2024

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

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

Back to the top