tags:

views:

80

answers:

1

Does anyone know where I can download the javadoc files for Swt and/or JFace?

I do not want the api docs for the rest of Eclipse. I found a place where the docs are available for reading online but I really need them on my local computer.

A: 

You can download the Eclipse Classic Package corresponding to your SWT / JFace versions from here: http://www.eclipse.org/downloads/ and then once unzipped and launched, just go to the Help -> Help Contents and then Platform Plugin Developer Guid, Reference, API Reference.

If you really need the html files, they are located in the plugins folder of your Eclipse SDK installation in the org.eclipse.platform.doc.isv_XXXX.jar file. If you open this file with 7Zip for example you will find the SWT Javadoc under: reference\api\org\eclipse\swt

I think it's the only way to get these html files

Manuel Selva
But extracting that .jar file gives me the docs for all of eclipse. I only need the swt/jface part and having all those other eclipse classes included is rather confusing. My use case is that I am developing an application with swt which don't have anything to do with eclipse. (So I am just using swf as gui library).But I found a solution. I just downloaded the swt source and made the javadoc myself using the linejavadoc -source 1.4 -d docs -sourcepath . -link http://java.sun.com/javase/6/docs/api/ -link . -subpackages org.eclipse.swt
MTilsted