[英]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 . 我已经阅读了Lars Vogel的有关在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. 从
org.eclipse.jface.dialogs.TrayDialog
派生对话框,以获得对侧托盘和帮助按钮的支持。
You may need to call the TrayDialog
method setHelpAvailable(true)
您可能需要调用
TrayDialog
方法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. 您也可以基于
TitleAreaDialog
(扩展了TrayDialog
)来TitleAreaDialog
类,以获取一个对话框,该对话框的标题和消息区域位于对话框顶部。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.