Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 21587

Summary: Plugin Import could set JavadocLocation
Product: [Eclipse Project] PDE Reporter: Martin Aeschlimann <martinae>
Component: UIAssignee: Wassim Melhem <wassim.melhem>
Status: RESOLVED DUPLICATE QA Contact:
Severity: enhancement    
Priority: P3 CC: daniel_megert, ed.burnette
Version: 1.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Martin Aeschlimann CLA 2002-07-15 12:53:35 EDT
2.0

The plugin importer could set the Javadoc Location for JARs in binary plugins.
API for this is JavaUI.setLibraryJavadocLocation


Example is: 

Set workspace.jar Javadoc Location to

http://download.eclipse.org/downloads/documentation/2.0/html/plugins/org.eclipse
.platform.doc.isv/reference/api

or

http://127.0.0.1:2179/help/content/help:/org.eclipse.platform.doc.isv/reference/
api/

(Port number can change)
Comment 1 Dejan Glozic CLA 2003-02-12 13:28:20 EST
Cannot be contained in 2.1 because it requires us to reverse-engineer mapping 
between a Jar and a location in the documentation. There is no reliable 1-1 
mapping - we would need to guess and make assumptions based on doc organization 
that is not API.
Comment 2 Martin Aeschlimann CLA 2003-04-30 16:40:20 EDT
Please reope this bug. Just had 2 other request for this feature on the jdt
newsgroup.
So far we have two isv doc plugins, and you could use a heuristic to map plugins
the isv plugins.

The problem is that its almost impossible to config the locations from hand, too
many plugins so configure.
Comment 3 Ed Burnette CLA 2003-05-05 21:51:10 EDT
If the source for a jar (including a plug-in jar) is available then the 
Javadoc is automatically available and there is no need to set a Javadoc 
location - jdt pulls it from the source comments. Just hover the mouse over a 
method/class/etc., or press F2 for a bigger window.
Comment 4 Wassim Melhem CLA 2004-03-02 03:24:29 EST
Reopening...
Doing it by hand is pretty tedious.  Tons of JARs.
We might be able to use the org.eclipse.pde.source extension point to help map 
plugins to Javadoc locations.
Comment 5 Wassim Melhem CLA 2004-03-06 11:58:05 EST

*** This bug has been marked as a duplicate of 52894 ***
Comment 6 Dani Megert CLA 2013-05-14 07:09:31 EDT
*** Bug 73852 has been marked as a duplicate of this bug. ***