When I first started using eclipse, I don't know how to use JDK help documentation in eclipse and how to set
I finally got it done in the past few days. Now, Let's sum up,
Hope to help you.
I am afraid it is the simplest plug-in:
1. Create a directory: bdsc.java.doc
2 plugin. xml:
<?xml version="1.0" encoding="UTF-8"?>
<plugin id="bdsc.java.doc"
name="bdsc.java.doc"
version="0.0.1"
provider-name="bdsc">
<extension point="org.eclipse.help.toc">
<toc file="toc.xml" primary="true"/>
</extension>
</plugin>
3 toc. xml: (you need to change the Java Doc path)
<?xml version="1.0" encoding="UTF-8"?>
<?NLS TYPE="org.eclipse.help.toc"?>
<toc label="java doc" topic="index.Html">
<topic label="index.html" href="file:/C:/j2sdk1.4.2_docs/api/index.html" />
</toc>
4. Copy the directory to eclipse's plugins.
5. Use help => help Contents
Successful!