Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Retrieving all classes from IProject
Retrieving all classes from IProject [message #258424] Tue, 03 February 2009 04:59 Go to next message
Eclipse UserFriend
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 #258467 is a reply to message #258424] Tue, 03 February 2009 10:56 Go to previous messageGo to next message
Eclipse UserFriend
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
Re: Retrieving all classes from IProject [message #258475 is a reply to message #258467] Tue, 03 February 2009 13:05 Go to previous message
Eclipse UserFriend
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
>
>
Previous Topic:How to disable wrapping for assignments?
Next Topic:javac compiles, eclipse doesn't
Goto Forum:
  


Current Time: Sat Apr 19 15:08:57 EDT 2025

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

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

Back to the top