Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Linking to a toc.xml which doesn't have any html contents
Linking to a toc.xml which doesn't have any html contents [message #651973] Wed, 02 February 2011 10:19
Jesper Eskilson is currently offline Jesper Eskilson
Messages: 131
Registered: July 2009
Senior Member
Hello,

I'm trying to contribute a universal intro which when clicked on will
bring up the documentation contained in a plugin. In the "overview.xml"
file containing the "<introContent> ... " element, I have a link to the
toc.xml, like this:

http://org.eclipse.ui.intro/showHelpTopic?id=/com.iar.ide.co mmon.doc/toc.xml

This is, according to the javadoc in IHelpResource a valid syntax: "For
example. /myplugin/mytoc.xml or /myplugin/references/myclass.html are
vaild."

However, when clicking on the link displayed under "Overview" in the
welcome page, I get a browser page displaying the raw toc.xml code, with
a message at the top saying "This XML file does not appear to have any
style information associated with it. The document tree is shown below."

(The toc.xml does not have any html associated with it, so when clicking
on the topic in the help browser, the "default" toc representation is
displayed. If I add html content to toc.xml (i.e., adding
'topic="toc.html"'), then I can refer to
....showHelpTopic?id=/com.iar.ide.common.doc/toc.html, but I would prefer
not to do this.)

How can I write a "showHelpTopic" action so that the toc.xml is
displayed the same way as when the user clicks on the toc in the help
browser?

--
Jesper Eskilson
Developer
IAR Systems
Previous Topic:Eclipse menu : update command state
Next Topic:Compare bug, have patch, any chance for 3.6.2?
Goto Forum:
  


Current Time: Mon Sep 22 00:11:15 GMT 2014

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

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