Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Platform - User Assistance (UA) » Generating a ToC at run-time
Generating a ToC at run-time [message #623440] Mon, 20 July 2009 16:26
Peter Saunders is currently offline Peter SaundersFriend
Messages: 30
Registered: July 2009
Member
Hi

I am displaying a set of external HTML help files from a local filesystem
within
the Eclipse help system as follows:

docDir = getDocDirPreference();
href = "file:" + docDir + "/myhelp.html";
PlatformUI.getWorkbench().getHelpSystem().displayHelpResourc e(href);

The location of the directory containing the external help files is
configurable at run-time and this may affect the precise set of help files
available so I am unable to provide a static Table of Contents file when I
build my plug-in.

If I generated a ToC programatically at run-time, how could I add this to
the help system? Is there an API for this?

Thanks

Peter Saunders
Previous Topic:Questions about context help
Next Topic:Some index terms using path to href instead of title
Goto Forum:
  


Current Time: Fri Nov 28 16:14:19 GMT 2014

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

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