using Eclipse 3.4 Ganymede and I cannot find the way to add javadoc support for all platform plugin apis, but specifically to JFace e Ui Forms packages.
使用Eclipse 3.4 Ganymede我找不到为所有平台插件apis添加javadoc支持的方法,但是专门针对JFace e Ui Forms包。
Opening the property panel of any jar linked to the library named "plug-in dependecies" I receive the following message into the "Javadoc location" node:
打开链接到名为“plug-in dependecies”的库的任何jar的属性面板,我在“Javadoc location”节点中收到以下消息:
The current class path entry belongs to container 'Plug-in Dependencies' wich does not allow user modifications to Javadoc locations in its entries"...
当前类路径条目属于容器'插件依赖项',它不允许用户修改其条目中的Javadoc位置“...
what does it mean, that I must re-build Eclipse with some wired javadoc location?
这意味着什么,我必须用一些有线的javadoc位置重新构建Eclipse?
2 个解决方案
#1
If you have the eclipse SDK "classic", "RCP/Plugin" or "Modeling" installed, that means sources for the eclipse plugins are included.
如果你安装了eclipse SDK“classic”,“RCP / Plugin”或“Modeling”,那就意味着包含了eclipse插件的源代码。
While it is true you cannot setup Javadoc for those plugins, you still access to that documentation since the sources are here, fully "Java-documented".
虽然确实无法为这些插件设置Javadoc,但仍然可以访问该文档,因为源代码在这里,完全是“Java记录的”。
If there are no sources, you still can import all eclipse plugins with their sources in a dedicated workspace.
如果没有源,您仍然可以在专用工作空间中导入所有带有源的eclipse插件。
alt text http://www.vogella.de/articles/EclipseCodeAccess/images/eclipsesource30.gif
alt text http://www.vogella.de/articles/EclipseCodeAccess/images/eclipsesource30.gif
#2
I'm using eclipse 3.4.2 with visual editor 1.4.0. For some reason, my eclipse doesn't find the swt javadocs by default and the "import plugins method" does not work. But I found a work arround:
我正在使用eclipse 3.4.2和可视化编辑器1.4.0。出于某种原因,我的eclipse默认情况下找不到swt javadocs并且“import plugins方法”不起作用。但我找到了一份工作:
Project Properties -> Java Build Path -> Libraries -> Add External Jar add /plugins/org.eclipse.swt.gtk.linux.x86_64.3.4.1.v3452b.jar
项目属性 - > Java构建路径 - >库 - >添加外部Jar添加/plugins/org.eclipse.swt.gtk.linux.x86_64.3.4.1.v3452b.jar
edit the "source attachment" to org.eclipse.swt.gtk.linux.x86_64.source_3.4.1.v3452b.jar
编辑org.eclipse.swt.gtk.linux.x86_64.source_3.4.1.v3452b.jar的“源附件”
Press ok. Note, that you are now using swt "twice" :O)
按确定。请注意,您现在使用swt“两次”:O)
If it is still not working, go to the same dialog, remove the "Standard Widget Toolkit (SWT)" and press ok. Return to the dialog and add it again with the button "Add Library" -> SWT -> IDE Platform. Press ok. Close all Visual Editors. And go to Project -> Clean...
如果它仍然无法工作,请转到相同的对话框,删除“标准窗口小部件工具包(SWT)”并按确定。返回对话框并使用“添加库” - > SWT - > IDE平台按钮再次添加。按确定。关闭所有可视编辑器。然后去项目 - >清洁......
Now you the Javadocs are displayed directly in Eclipse and Visual Editor still works.
现在,Javadocs直接显示在Eclipse中,Visual Editor仍然有效。
#1
If you have the eclipse SDK "classic", "RCP/Plugin" or "Modeling" installed, that means sources for the eclipse plugins are included.
如果你安装了eclipse SDK“classic”,“RCP / Plugin”或“Modeling”,那就意味着包含了eclipse插件的源代码。
While it is true you cannot setup Javadoc for those plugins, you still access to that documentation since the sources are here, fully "Java-documented".
虽然确实无法为这些插件设置Javadoc,但仍然可以访问该文档,因为源代码在这里,完全是“Java记录的”。
If there are no sources, you still can import all eclipse plugins with their sources in a dedicated workspace.
如果没有源,您仍然可以在专用工作空间中导入所有带有源的eclipse插件。
alt text http://www.vogella.de/articles/EclipseCodeAccess/images/eclipsesource30.gif
alt text http://www.vogella.de/articles/EclipseCodeAccess/images/eclipsesource30.gif
#2
I'm using eclipse 3.4.2 with visual editor 1.4.0. For some reason, my eclipse doesn't find the swt javadocs by default and the "import plugins method" does not work. But I found a work arround:
我正在使用eclipse 3.4.2和可视化编辑器1.4.0。出于某种原因,我的eclipse默认情况下找不到swt javadocs并且“import plugins方法”不起作用。但我找到了一份工作:
Project Properties -> Java Build Path -> Libraries -> Add External Jar add /plugins/org.eclipse.swt.gtk.linux.x86_64.3.4.1.v3452b.jar
项目属性 - > Java构建路径 - >库 - >添加外部Jar添加/plugins/org.eclipse.swt.gtk.linux.x86_64.3.4.1.v3452b.jar
edit the "source attachment" to org.eclipse.swt.gtk.linux.x86_64.source_3.4.1.v3452b.jar
编辑org.eclipse.swt.gtk.linux.x86_64.source_3.4.1.v3452b.jar的“源附件”
Press ok. Note, that you are now using swt "twice" :O)
按确定。请注意,您现在使用swt“两次”:O)
If it is still not working, go to the same dialog, remove the "Standard Widget Toolkit (SWT)" and press ok. Return to the dialog and add it again with the button "Add Library" -> SWT -> IDE Platform. Press ok. Close all Visual Editors. And go to Project -> Clean...
如果它仍然无法工作,请转到相同的对话框,删除“标准窗口小部件工具包(SWT)”并按确定。返回对话框并使用“添加库” - > SWT - > IDE平台按钮再次添加。按确定。关闭所有可视编辑器。然后去项目 - >清洁......
Now you the Javadocs are displayed directly in Eclipse and Visual Editor still works.
现在,Javadocs直接显示在Eclipse中,Visual Editor仍然有效。