[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.rcp] Re: Need help with the eclipse standalone help


Hi Lee Anne,

I try to explain it ;)

to keep my programm small and easy to update, I would like to avoid duplicated html-help-pages and use linking instead. To do that, I put the same href in two different toc files. If I do so, the help window shows the right page and opens the tree(i know, its not really a tree but it looks like a tree) at the right position, but the path on top of the html page ist wrong.
Thats why I tried "link_to". With link_to the path is not right but it would be okay, but it does not open the tree.
In a documentation I was reading, that displayHelpResource can hand keywords like "key=value&key=value" over.
Maybe I can tell the help system to search for the html page with this unique toc and not just to open the first fitting html page.


I hope you can understand now what I mean and my problem...


Lee Anne wrote:

Hi Jenny,

I'm adding the eclipse.platform.ua newsgroup to this thread.

That newsgroup includes a focus on the Eclipse help system, and folks who hang out there might see ways to help you.

What do you mean by "tried to use the same href twice"? The hrefs in your code snippet below look unique. Do you mean the same HTML file is in two different toc.xml files?

I'm not sure that your displayHelpResource parameters are proper. Can you describe what you expect to see displayed in the help system from executing that command?

Best regards,
Lee Anne


Jenny wrote:
Hi,

I use the eclipse native help system and encountered a problem:
i want to use a html page at two different places, but don't know how to do this.


yet i tried to use the same href twice but the help don't show the right path and i tried link_toc but than he don't show the actual tree on the left; so neither one with satisfying success

For Example:

<toc label="gettingstarted" link_to="toc.xml#gettingstarted"> <topic label="maintopic" href="html/gettingstarted/maintopic.html"> </topic> <topic label="subtopic"> <link toc="tocreference.xml"/> </topic> </toc>

<toc label="reference" link_to="toc.xml#reference"> <topic label="subtopic" href="html/reference/subtopic.html"> </topic> </toc>


PlatformUI.getWorkbench().getHelpSystem().displayHelpResource("toc=/HelpBook/tocgettingstarted.xml&topic=/HelpBook/html/reference/subtopic.html");

Can anybody help me?