[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.platform.swt] Re: Easy way to get API info
|
Place the mouse in the method and either hit F2 and a dialog pops up with
the Javadoc or have the Javadoc view open and the doc will be displayed in
the view.
Also, during code assist (Ctrl+space), if you use the arrow keys to move
through the possible matches, the javaodoc for the selected item will appear
beside the code assist dialog.
However, you should be seeing int x, int y rather than int arg0, int arg1.
I experimented a bit with Eclipse. If I specify the swt jar as an external
jar in the Java Build Path, and do not specify the src or javadoc location,
I get the javadoc as I expected. As soon as I specify the source location,
I do not get the javadoc. This may be a bug in Eclipse. Is your project an
Eclipse plugin or a regular Java project? If it is a regular Java project,
how have you defined your Java build path?
"Bill Ewing" <ewing@xxxxxxxxx> wrote in message
news:csmkff$q7t$1@xxxxxxxxxxxxxxxxxx
> Can anyone tell me how to quickly and easily set up Eclipse so I can see
> doc'n on SWT API methods?
>
> For example, I am currently working alot with gc.drawImage(). It has many
> overloads, and I wonder if the one with just two int arg's is the one I
> want.
> (SWT people: seeing "int arg0, int arg1" is one step above useless. If it
> were "int x, int y" that would be far better).
>
> I would like to be able to select "drawImage" in my code and with one
> click or keystroke, get taken into the doc'n on that method.
>
> We've always had this in other API's, can someone describe how it works in
> Eclipse?
>
> TIA, Bill
>