wood burning stoves
The moose likes IDEs, Version Control and other tools and the fly likes How To add SWT DOC in Eclipse Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "How To add SWT DOC in Eclipse" Watch "How To add SWT DOC in Eclipse" New topic

How To add SWT DOC in Eclipse

Pradeeep Sharma
Ranch Hand

Joined: Dec 04, 2008
Posts: 32

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

Joined: Oct 27, 2005
Posts: 20279

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.

How To Ask Questions How To Answer Questions
I agree. Here's the link: http://aspose.com/file-tools
subject: How To add SWT DOC in Eclipse
It's not a secret anymore!