Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How To add SWT DOC in Eclipse

 
Pradeeep Sharma
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I got SWT documentation on following url :http://help.eclipse.org/help32/index.jsp?topic=/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/widgets/Shell.html


But there is no link provided to download it.
Can any one tell me from where to download it and how to add it in eclipse.


With Regards.
 
Rob Spoor
Sheriff
Posts: 20827
68
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For any JAR file on the build path you can attach both source code and Javadoc to it as follows:
- right click on the project
- select Properties
- click on Java Build Path
- select the Libraries tab
- open the library by pressing on the +
- click on Source attachment
- press Edit
- select the path (external file for JAR/ZIP files, external folder for directories, workspace for another Eclipse project)
- press OK
- click on Javadoc location
- press Edit
- fill in the Javadoc URL
- press OK

For SWT the Javadoc URL is http://help.eclipse.org/stable/nftopic/org.eclipse.platform.doc.isv/reference/api/


Since this is an Eclipse issue I'm moving this to IDEs.
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!