IRegion gone missing from the API [message #163294] |
Fri, 28 November 2003 08:31  |
Eclipse User |
|
|
|
Originally posted by: angeles_sorano.yahoo.com.ar
Does anyone know where org.eclipse.jface.text.IRegion has moved to?. I
can't find it anywhere.
Thanks!
|
|
|
Re: IRegion gone missing from the API [message #164213 is a reply to message #163294] |
Mon, 01 December 2003 15:07  |
Eclipse User |
|
|
|
I use this trick to find out where a class is defined, and I used it alot
when porting my code from 3.0M4 to 3.0M5.
Hit ctrl-shift-T in the plugin development perspective, and type in IRegion
and hit enter. You will quickly find out that it is in org.eclipse.jdt.core
and one in org.eclipse.jface.text. You obviously are interested in the
second one of these. Now in the package explorer click on the 'Link with
Editor' button (two arrows that point at each other) and you will find out
that the class org.eclipse.jface.text.IRegion is in the org.eclipse.text
plugin. You will need to add this plugin to your class path (right click
your project and choose properties, check the box for org.eclipse.text in
'Project References' and in 'Java Build Path | Projects'
And that should do it!
--
-----------------------------------------------
Patrick Baker
Stilo Corporation
pbaker@ca.stilo.com
"Hail, twin companionship, children of Mars."
This message, including any attachments, is for the sole use of the
intended recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure, copying, or
distribution is strictly prohibited. If you are not the intended
recipient(s) please contact the sender by reply email and destroy
all copies of the original message and any attachments.
"Angeles Sorano" <angeles_sorano@yahoo.com.ar> wrote in message
news:bq7in8$ucc$1@eclipse.org...
>
>
> Does anyone know where org.eclipse.jface.text.IRegion has moved to?. I
> can't find it anywhere.
>
> Thanks!
>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03522 seconds