Retrieving all classes from IProject [message #258424] |
Tue, 03 February 2009 04:59  |
Eclipse User |
|
|
|
Originally posted by: bruno.pereira.alert.pt
Hello,
I try to search around but can't find a thing, hope you guys could help me
out.
I'm trying to list all classes available in my project, not only the ones
available from compiling the source folder but also the ones inside the
Project libraries (only jars in my case).
I was looking for the component used by eclipse for the autocomplete thing
(CTRL+space), where it list all the classes available, could someone help
with this. In fact I don't need the component used, just the part where i
figure out how the eclipse know all the .class available for the project.
I would appreciate any tips.
Thanks,
Bruno Pereira
|
|
|
|
Re: Retrieving all classes from IProject [message #258475 is a reply to message #258467] |
Tue, 03 February 2009 13:05  |
Eclipse User |
|
|
|
Originally posted by: bruno.pereira.alert.pt
Thanks for the tip.I will try using that later.
Meanwhile I was listing all the classes, except the ones in the source
folder (whitch mean not all :\ ) using the IPackageFragment and the method
getClassFiles().
Bruno Pereira
"Prakash G.R." <grprakash@gmail.com> wrote in message
news:gm9pfo$tob$1@build.eclipse.org...
> Probably JDT might have its own mechanism to figure out the classes, but
> you can use theSearchEngine class to find the list of classes available.
>
> - Prakash
>
> --
>
> http://blog.eclipse-tips.com
> "Bruno Pereira" <bruno.pereira@alert.pt> wrote in message
> news:gm94fu$rg6$1@build.eclipse.org...
>> Hello,
>>
>> I try to search around but can't find a thing, hope you guys could help
>> me out.
>> I'm trying to list all classes available in my project, not only the ones
>> available from compiling the source folder but also the ones inside the
>> Project libraries (only jars in my case).
>>
>> I was looking for the component used by eclipse for the autocomplete
>> thing (CTRL+space), where it list all the classes available, could
>> someone help with this. In fact I don't need the component used, just the
>> part where i figure out how the eclipse know all the .class available for
>> the project.
>>
>> I would appreciate any tips.
>> Thanks,
>> Bruno Pereira
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03383 seconds