简体   繁体   中英

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.

对话帮助

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM