简体   繁体   English

如何在Eclipse RCP应用程序中启用上下文相关帮助?

[英]How to Enable the context sensitive help in eclipse rcp application?

I wanted to enable context sensitive help in my eclipse rcp application. 我想在我的eclipse rcp应用程序中启用上下文相关的帮助。 By context sensitive help, i mean that question mark in round circle that comes at left corner, every time you open a wizard page, like when you do New->java project. 上下文相关的帮助,我的意思是每次您打开向导页面时,就像在执行New-> java项目时,该问号都位于左上角的圆圈中。 I used: PlatformUI.getWorkbench().getHelpSystem().displayDynamicHelp(); 我使用过: PlatformUI.getWorkbench()。getHelpSystem()。displayDynamicHelp();
in
public void initialize(IWorkbenchConfigurer workbenchConfigurer) method in WorkbenchAdivisor.java , but no use. WorkbenchAdivisor.java中的 public void initialize(IWorkbenchConfigurer workbenchConfigurer)方法,但没有用。 How to do this? 这个怎么做?

Got it !! 得到它了 !!
I added WizardDialog.setDialogHelpAvailable(true); 我添加了WizardDialog.setDialogHelpAvailable(true); in WorkbenchAdvisor.java WizardDialog is imported by: 在WorkbenchAdvisor.java中,WizardDialog通过以下方式导入:
import org.eclipse.jface.wizard.WizardDialog; 导入org.eclipse.jface.wizard.WizardDialog;

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何在 Java 应用程序中创建上下文相关帮助 - How to create a context sensitive help in a Java application 在Eclipse RCP中显示视图时如何显示上下文帮助 - How to show context help when view is showed in eclipse RCP 如何在Eclipse RCP中为对话框实现上下文敏感帮助? - How to implement context sensite help for dialogs in Eclipse RCP? GWT 应用程序中的上下文相关帮助 - Context sensitive help in GWT application 如何在Eclipse中为自定义函数添加上下文相关帮助文本 - How to add context sensitive help text for custom functions in eclipse 如何更新Eclipse RCP应用程序? - How update Eclipse RCP application? 具有基于Eclipse的简单帮助文档的Java swing应用程序(无RCP应用程序) - Java swing application with simple help documentation based on eclipse (no RCP application) 如何在Eclipse 3.8.1 RCP应用程序的“帮助”菜单下的“关于”条目中自定义文本和按钮 - How to customize text and buttons for the About entry under the Help Menu in a Eclipse 3.8.1 RCP application 在 Eclipse RCP 项目中使用 Spring 应用程序上下文的推荐方法 - A recommended way to use Spring application context within Eclipse RCP project Eclipse RCP插件应用程序中的Implemet帮助选项(F1) - Implemet help option(F1) in eclipse RCP plugin application
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM