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?
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.
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With