在RCP中,也可以利用Eclipse Help构建自己的帮助系统。Eclipse 帮助系统包括静态,动态和上下文敏感的帮助,这些都可以应用到RCP中。
在RCP中,加入帮助,也是通过plugin,如果要帮助要依赖于指定的plugin,也可以做成fragment的形式,这里是以plugin的形式。
要实现完整的帮助功能,需要在plugin.xml 依赖中添加以下插件:
添加插件
-
org.apache.lucene
-
org.eclipse.help.appserver
-
org.eclipse.help.base
-
org.eclipse.help.ui
-
org.eclipse.help.webapp
-
org.eclipse.ui.forms
-
org.eclipse.equinox.http.jetty(未添加该插件,我运行时提示错误)
然后在自己创建的xxx.product文件中的依赖项中点击添加需要插件(Add Required Plug-ins)
本文来自 能量守恒洛 的CSDN 博客 ,全文地址请点击:https://blog.csdn.net/luoww1/article/details/38012217?utm_source=copy