[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.rcp] Re: documentation references in context help

Hey Michael,

why would you seperate (or disconnect) the context.xml and the help-html-files?
Why not catching all html files in one zip file (including folders with the html files
to seperate the single contents and keep visibility) in addition with all context.xml files in one
plug-in? This plug-in is the only plug-in extends the [org.eclipse.help.context] Extension
Point. (Yout own help-plug-in.)


The other plug-ins use this help-plug-in only by adding the contextId.
=>PlatformUI.getWorkspace().getHelpSystem().setHelp(getControl(), contextId)
If you would like to add another plu-in using your help you just add a new extension to the
help-plug-in with the plug-in-id of the new plug-in as plug-in-attribute.


That's it. Very simple, isn't it?
Greetings
Dara Meinhard


On Tue, 07 Jun 2005 09:36:53 +0200, Michael Illgner <michael.illgner@xxxxxxxx> wrote:


Ok,
this works, but how do I specify the href's in the context.xml, when the html-file is located in another plugin ?
Using a path like "../myplugin.id/guide.html" seems to work, but whats happens if I use different plugin directories.


greetings
Michael



-- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/