Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get Javadocs for Eclipse DOM plug-in development classes?

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?

like image 824
Raffi Khatchadourian Avatar asked Nov 16 '10 20:11

Raffi Khatchadourian


People also ask

How do I find the generated javadoc?

Accessing the Javadoc from NetbeansSelect the desired package, class or method name, right-click and select Show Javadoc. This will launch your default web browser and navigate to the Javadoc for the selected item.

How do I enable javadoc?

From the main menu, select Tools | Generate JavaDoc. In the dialog that opens, select a scope — a set of files or directories for which you want to generate the reference, and set the output directory where the generated documentation will be placed.


1 Answers

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.

like image 130
oshai Avatar answered Oct 05 '22 22:10

oshai