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

Hi Michael,

try the following - it should works under eclipse 3.1 M7:

First create your "help plugin" contains only your html-help-files (possibly as .zip),
your plugin.xml including the [org.eclipse.help.context] extension
and 1 to * context.xml files.


The plugin-attribute of the [org.eclipse.help.context] extension has to referenz to
the plugin id of your plugin contains the UI-Javaclass displaying your help (view,
editor or anything else).
You should create a new [org.eclipse.help.context] extension for every new plugin.
(Sample: [org.eclipse.platform.doc.user])


Inside your context.xml files you have to set a context-id.
Referenz to this ID when you set the help to your ui-javaclass.
=> PlatformUI.getWorkspace().getHelpSystem().setHelp(getControl(), contextId).
(Sample: [org.eclipse.editors.text.TextEditorPreferencPage])


This shoul work...

I hope this was what you ask for and you understand my confused description
Regards
Dara Meinhard



On Tue, 31 May 2005 11:41:00 +0200, Michael Illgner <michael.illgner@xxxxxxxx> wrote:

Hi folks,
I am writing some plugins with context sensitive help by extending org.eclipse.help.contexts. Is it possible to reference a html file located in another plugin ? The main idea is to have a help plugin with the normal online help and manuals and each application plugin supplies the context sensitive help and only references to the main manual.
Is this possible ?



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