Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » [RCP] Help Contents
[RCP] Help Contents [message #278256] Tue, 28 December 2004 01:41 Go to next message
Eclipse UserFriend
Originally posted by: scherbakova.yandex.ru

Hi, all!

I'm developing an RCP application and want to provide "Help Contents"
for it.

I added Help and Help Contents menus by creating
ActionFactory.HELP_CONTENTS action. (I used code from
org.eclipse.ui.internal.ide.WorkbenchActionBuilder).

Then I defined Help extension
<extension
point="org.eclipse.help.toc">
<toc
primary="true"
file="helptoc.xml"/>
</extension>

and added org.eclipce.help dependence.

But it didn't work. The application shows Help Contents menu but nothing
happens when I click it.

What extensions do I have to add more, do anybody know?

Thanx,
Ekaterina.
Re: [RCP] Help Contents [message #278847 is a reply to message #278256] Sat, 08 January 2005 13:37 Go to previous message
Eclipse UserFriend
plugin.xml:

<requires>
<import plugin="org.eclipse.help.ui"/>
</requires>

<extension point="org.eclipse.help.toc">
<toc file="book.xml" primary="true"/>
</extension>

@@

In Advisor/ActionBuilder:

//..

fHelpContentsAction = ActionFactory.HELP_CONTENTS.create(fWindow);
actionBarConfigurer.registerGlobalAction(fHelpContentsAction );

//...

IMenuManager menubar = actionBarConfigurer.getMenuManager();
IMenuManager menu = new MenuManager("&Help",
IWorkbenchActionConstants.M_HELP);
menu.add(fHelpContentsAction);
menubar.add(menu);

@@

Don't forget to deploy with plug-ins:

org.eclipse.help.webapp
org.eclipse.tomcat

and their prerequisites.

@@@@

Sebastian
Previous Topic:word wrap in editor
Next Topic:ManagedForm and Eclipse Standalone
Goto Forum:
  


Current Time: Mon Jun 09 04:44:20 EDT 2025

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

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

Back to the top