Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » How to get all java file from an JavaProject
How to get all java file from an JavaProject [message #333061] Mon, 24 November 2008 03:10 Go to next message
Bhuvan Mehta is currently offline Bhuvan MehtaFriend
Messages: 58
Registered: July 2009
Member
Hello,


I have retrieved the IJavaProject from an IProjects in below way :-


IJavaProject javaProj = JavaCore.create(project);


I can see one method to get all NonJavaResources but i am not getting a
way to get all java files in this project. :(

Kindly some please guide.


--
Thanks and Regards,
Bhuvan Mehta
Re: How to get all java file from an JavaProject [message #333183 is a reply to message #333061] Fri, 28 November 2008 10:13 Go to previous message
Remy Suen is currently offline Remy SuenFriend
Messages: 462
Registered: July 2009
Senior Member
You could try to just invoke IResource's accept method and use a visitor
to retrieve all of the java files I suppose.
Previous Topic:How to get fine grained notifications after a resource save?
Next Topic:completion does not work, why?
Goto Forum:
  


Current Time: Thu Apr 25 07:45:16 GMT 2024

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

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

Back to the top