Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 07:48 Go to next message
ash is currently offline ashFriend
Messages: 142
Registered: July 2010
Senior Member
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 08:14 Go to previous message
Daniel Krügler is currently offline Daniel KrüglerFriend
Messages: 853
Registered: July 2009
Senior Member
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: Sun Nov 23 06:21:48 GMT 2014

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

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