Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Shift-F2 and SWT - where is it?
Shift-F2 and SWT - where is it? [message #461744] Thu, 29 September 2005 08:44 Go to next message
Eclipse UserFriend
Originally posted by: eclipse.ptoye.com

A newbie question, I'm afraid.

I want to use the shift-F2 mechanism for looking up the javadoc for SWT
elements - but I don't know how to tell Eclipse where the javadoc is.
Where do I get it from please? It doesn't seem to be part of the download
package.

Peter
Re: Shift-F2 and SWT - where is it? [message #461751 is a reply to message #461744] Thu, 29 September 2005 10:10 Go to previous messageGo to next message
Robert Bacs is currently offline Robert BacsFriend
Messages: 165
Registered: July 2009
Senior Member
Hi,

Right-click on the swt.jar, then select Properties, in the Javadoc location
select the "Javadoc in archive" radio button and put the following in the
above edit boxes:
1'st edit box:
%ECLIPSE_HOME%\plugins\org.eclipse.platform.doc.isv_3.1.0\do c.zip
2'nd edit box: reference\api

Of course you need to replace %ECLIPSE_HOME% with your root directory of
installed Eclipse.

Hope this helps.

Regards,
Boby

"Peter Toye" <eclipse@ptoye.com> wrote in message
news:memo.20050929094428.2760A@ptoye-ptoye.cix.co.uk...
> A newbie question, I'm afraid.
>
> I want to use the shift-F2 mechanism for looking up the javadoc for SWT
> elements - but I don't know how to tell Eclipse where the javadoc is.
> Where do I get it from please? It doesn't seem to be part of the download
> package.
>
> Peter
Re: Shift-F2 and SWT - where is it? [message #461771 is a reply to message #461751] Thu, 29 September 2005 22:19 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse.ptoye.com

In article <dhgejb$42s$1@news.eclipse.org>, boby@zerosoft.ro (Robert Bacs)
wrote:

> *From:* "Robert Bacs" <boby@zerosoft.ro>
> *Date:* Thu, 29 Sep 2005 13:10:49 +0300
>
> Hi,
>
> Right-click on the swt.jar, then select Properties, in the Javadoc
> location
> select the "Javadoc in archive" radio button and put the following in
> the
> above edit boxes:
> 1'st edit box:
> %ECLIPSE_HOME%\plugins\org.eclipse.platform.doc.isv_3.1.0\do c.zip
> 2'nd edit box: reference\api
>
> Of course you need to replace %ECLIPSE_HOME% with your root directory of
> installed Eclipse.
>
> Hope this helps.
>
> Regards,
> Boby
>
> "Peter Toye" <eclipse@ptoye.com> wrote in message
> news:memo.20050929094428.2760A@ptoye-ptoye.cix.co.uk...
> > A newbie question, I'm afraid.
> >
> > I want to use the shift-F2 mechanism for looking up the javadoc for
> > SWT
> > elements - but I don't know how to tell Eclipse where the javadoc is.
> > Where do I get it from please? It doesn't seem to be part of the
> > download
> > package.
> >
> > Peter
>
>
>
Boby,

Thanks a million. How on earth does one find this out (without asking
silly newbie questions in the newsgroup)?

Peter
Re: Shift-F2 and SWT - where is it? [message #461820 is a reply to message #461744] Fri, 30 September 2005 20:45 Go to previous messageGo to next message
Billy Biggs is currently offline Billy BiggsFriend
Messages: 94
Registered: July 2009
Member
Peter Toye wrote:
> A newbie question, I'm afraid.
>
> I want to use the shift-F2 mechanism for looking up the javadoc for SWT
> elements - but I don't know how to tell Eclipse where the javadoc is.
> Where do I get it from please? It doesn't seem to be part of the download
> package.

The Javadoc is online here, and you can give this URL in Eclipse:

http://help.eclipse.org/help31/nftopic/org.eclipse.platform. doc.isv/reference/api/

In the standalone SWT download on www.eclipse.org/swt/ this is now set
up by default when you import the project (SWT .zip 3.2M2 and newer), so
Shift-F2 should "just work". Let me know if you have problems.

-Billy
Re: Shift-F2 and SWT - where is it? [message #461821 is a reply to message #461771] Fri, 30 September 2005 20:48 Go to previous messageGo to next message
Billy Biggs is currently offline Billy BiggsFriend
Messages: 94
Registered: July 2009
Member
Peter Toye wrote:
>
> Thanks a million. How on earth does one find this out (without asking
> silly newbie questions in the newsgroup)?

See my other post for our fix in 3.2M2 and newer. The fact that it
wasn't set up by default was basically a bug (or a misfeature, we just
didn't have it set up right).

That said, SWT javadoc is linked to from the SWT homepage at
(www.eclipse.org/swt/).

-Billy
Re: Shift-F2 and SWT - where is it? [message #461822 is a reply to message #461820] Fri, 30 September 2005 22:10 Go to previous message
Eclipse UserFriend
Originally posted by: eclipse.ptoye.com

In article <dhk860$ctk$3@news.eclipse.org>, bbiggs@ca.ibm.com (Billy
Biggs) wrote:

> *From:* Billy Biggs <bbiggs@ca.ibm.com>
> *Date:* Fri, 30 Sep 2005 16:45:52 -0400
>
> Peter Toye wrote:
> > A newbie question, I'm afraid.
> >
> > I want to use the shift-F2 mechanism for looking up the javadoc for
> > SWT elements - but I don't know how to tell Eclipse where the javadoc
> > is. Where do I get it from please? It doesn't seem to be part of the
> > download package.
>
> The Javadoc is online here, and you can give this URL in Eclipse:
>
> http://help.eclipse.org/help31/nftopic/org.eclipse.platform. doc.isv/refe
> rence/api/
>
> In the standalone SWT download on www.eclipse.org/swt/ this is now
> set
> up by default when you import the project (SWT .zip 3.2M2 and newer), so
> Shift-F2 should "just work". Let me know if you have problems.
>
> -Billy
>
Thanks Billy - Boby got there first. And it works fine (on a single test -
not the world's best statistical sample, but I'm involved in other things
at the moment).

Peter
Previous Topic:FormLayout calculating location of formData.bottom
Next Topic:problems with drawing image with transparent background
Goto Forum:
  


Current Time: Fri Apr 26 21:17:36 GMT 2024

Powered by FUDForum. Page generated in 0.03216 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top