[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.platform.ua] Re: Generating a ToC at run-time
|
- From: pts001@xxxxxxxxx (Peter Saunders)
- Date: Tue, 21 Jul 2009 10:03:33 +0000 (UTC)
- Newsgroups: eclipse.platform.ua
- Organization: Eclipse
- User-agent: NewsPortal/0.36 (http://florian-amrhein.de/newsportal)
Chris Goldthorpe wrote:
Yes, there is an API, see the tocProvider element in the extension point
org.eclipse.help.toc - see
http://help.eclipse.org/galileo/topic/org.eclipse.platform.doc.isv/reference/extension-points/org_eclipse_help_toc.html
The AbstractTocProvider class looks useful. Thanks for the pointer.
You will probably also want to use the org.eclipse.help.contentProducer
extension point to read the content.
I tried this earlier but the getInputStream() method in my
IHelpContentProducer implementation was never called. Perhaps it is only
called when the plug-in provides corresponding ToC entries.
Peter Saunders