Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Add Help to HelpButton in TitleAreaDialog
Add Help to HelpButton in TitleAreaDialog [message #630817] Tue, 05 October 2010 03:48 Go to next message
Eclipse UserFriend
Hi,

I want add context help to the help button that is displayed in the subclass TitleAreaDialog ... can any one tell how to add it

Thanks
Ashok
Re: Add Help to HelpButton in TitleAreaDialog [message #630833 is a reply to message #630817] Tue, 05 October 2010 04:14 Go to previous message
Eclipse UserFriend
On 05.10.2010 09:48, ashok_kumar_rr@yahoo.com wrote:
> Hi,
>
> I want add context help to the help button that is displayed in the
> subclass TitleAreaDialog ... can any one tell how to add it

Call:

PlatformUI.getWorkbench().getHelpSystem().setHelp(ctrl, helpContextId);

where helpContaxtId is your associated help context id. A good place for
this call is at the end of the configureShell method (using the
shell from the function as ctrl argument) or at the end of the
createDialogArea method (using the result of super.createDialogArea as
ctrl argument).

Consider to read:

http://stackoverflow.com/questions/1012929/eclipse-contextua l-help

HTH & Greetings from Bremen,

Daniel Krügler
Previous Topic:presentationFactories extension
Next Topic:Plug-in Development :- How to call Palette on the finish button of Wizard ?
Goto Forum:
  


Current Time: Sat Aug 30 19:41:25 EDT 2025

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

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

Back to the top