Radosław Łazarz
Radosław Łazarz

Reputation: 968

How to implement context sensite help for dialogs in Eclipse RCP?

I have already read Lars Vogel's tutorial on creating dynamic help in Eclipse RCP. However, it does not cover one topic - how to create side-pop-up help for dialog's (Like the one in screenshot) and integrate it with the rest of the help mechanism. Surprisingly, I could not find any materials describing this matter.

dialog with help

Upvotes: 2

Views: 485

Answers (1)

greg-449
greg-449

Reputation: 111142

Derive your dialog from org.eclipse.jface.dialogs.TrayDialog to get the support for the side tray and the help button.

You may need to call the TrayDialog method setHelpAvailable(true)

You can also base your class on TitleAreaDialog (which extends TrayDialog) to get a dialog with a title and message area at the top of the dialog.

Upvotes: 4

Related Questions