如何获取Eclipse DOM插件开发类的Javadocs?

发布于 2024-10-02 18:42:23 字数 526 浏览 0 评论 0原文

我正在 Eclipse 中编写一个 Java 插件,该插件利用 Eclipse DOM 类。我想查看这些类的 Javadocs,但我无法这样做。例如,当我请求 org.eclipse.jdt.core.dom.CompilationUnit 类中的 recordModifications() 方法的 javadocs 时,我收到一条消息:

尚未配置“recordModifications()”的文档位置。对于库中的元素,请在父 JAR 的属性页上指定 Javadoc 位置 URL(“/Applications/eclipse/plugins/org.eclipse.jdt.core_3.6.1.v_A68_R36x.jar”)。

但是,当我转到 JAR 的属性时,它显示:

Javadoc 位置。当前类路径条目属于容器“插件依赖项”,该容器不允许用户修改整个 Javadoc 位置。

有什么建议吗?

I am writing a plug-in for Java in Eclipse that utilizes the Eclipse DOM classes. I would like to see Javadocs for these classes but I am unable to do so. For example, when I request javadocs for the method recordModifications() in class org.eclipse.jdt.core.dom.CompilationUnit, I get a message that says:

The documentation location for 'recordModifications()' has not been configured. For elements from libraries specify the Javadoc location URL on the properties page of the parent JAR ('/Applications/eclipse/plugins/org.eclipse.jdt.core_3.6.1.v_A68_R36x.jar').

However, when I go to the properities for the JAR, it says:

Javadoc location. The current class path entry belongs to container 'Plug-in Dependencies' which does not allow user modifications to Javadoc locations on its entires.

Any advice?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

糖果控 2024-10-09 18:42:23

我认为你应该做的是安装 Eclipse 源。
通过“帮助”->“安装新软件...->”来完成此操作选择Eclipse项目更新更新站点。选择 Eclipse 插件开发者资源。
来源应该在那里。
从源代码中您还可以看到 javadocs。

I think what you should do is install the eclipse sources.
do it by Help->Install new software...-> select Eclipse project updates update site. select eclipse plugin developer resources.
the sources suppose to be there.
from the sources you will be able to see also javadocs.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文