DZone Forums
Go Back   DZone Forums > Community > Tools & IDEs > Eclipse
Reload this Page Context Sensitive Help
Notices
Reply
 
LinkBack Thread Tools Display Modes
  (#1 (permalink)) Old
Member
 
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Join Date: Jan 2009
Unhappy Context Sensitive Help - 01-14-2009, 01:00 AM

Hi all,
I'm trying to implement context sensitive help option in my application.

The steps i done:
1.Added a xml file in my project with context id definitions as below:
<?xml version="1.0" encoding="UTF-8"?>
<?NLS TYPE="org.eclipse.help.contexts"?>
<contexts>
<context id="myHelpMenu" title="MyTitle">
<description>The core JavaScript reference as defined by the ECMA spec</description>
<topic label="JavaScript editor concepts" href="concepts/myhtml.html"/>
</context>
<context id="Help_Context">
<description>try</description>
<topic href="concepts/myhtml.html" label="Help_Topic"/>
</context
</contexts>

2.I have written extension in plugin.xml

<extension point="org.eclipse.help.contexts">
<contexts file="contexts.xml" />
</extension>

3.I have register my context id to a menu as below:

IWorkbenchHelpSystem ihelp = PlatformUI.getWorkbench().getHelpSystem();
ihelp.setHelp(this, "com.rsa.esi.view.eclipse.views.myHelpMenu");

But when i press F1 the html is not launching.. If u find any mistakes,comment me as soon as possible.

Thanks in advance,
Ravikumar.
Reply With Quote
  (#2 (permalink)) Old
Moderator
 
Posts: 102
Thanks: 0
Thanked 7 Times in 7 Posts
Join Date: Jan 2008
Default 01-27-2009, 06:24 AM

Do you have any output from the consoleLog from when you click on F1?
Reply With Quote
  (#3 (permalink)) Old
Member
 
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Join Date: Jan 2009
Default 01-30-2009, 04:13 AM

No! But the control which has this help loose the focus..
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting web.xml context parameters from ant in build.xml hat27533 NetBeans 0 01-09-2009 03:13 PM
Problem with deleting Items from the Context Menu of my RCP App. alwin74 Eclipse 0 07-30-2008 09:09 AM
JDBC not bound in this context walterw Java 2 05-20-2008 06:43 AM


Copyright 1997-2009, DZone, Inc.
vBulletin Skin developed by: vBStyles.com