Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » How to get the list of projects in a workspace?
How to get the list of projects in a workspace? [message #326243] Wed, 12 March 2008 19:26 Go to next message
Roshan S. is currently offline Roshan S.Friend
Messages: 125
Registered: July 2009
Senior Member
Does anyone know how I can get the list of Projects that are within a
workspace? I have a plugin where I need to check the current projects
within the workspace and then check the name of the project to see if a
projects exists or not.
Re: How to get the list of projects in a workspace? [message #326244 is a reply to message #326243] Wed, 12 March 2008 19:51 Go to previous message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

Roshan,

ResourcesPlugin.getWorkspace().getRoot().getProjects(). Note you can
do ResourcesPlugin.getWorkspace().getRoot().getProject(<name>).exists().


Roshan Soni wrote:
> Does anyone know how I can get the list of Projects that are within a
> workspace? I have a plugin where I need to check the current
> projects within the workspace and then check the name of the project
> to see if a projects exists or not.
>
Previous Topic:non-blinking cursor
Next Topic:Programatically detect if project needs building
Goto Forum:
  


Current Time: Sun Jul 07 06:41:19 GMT 2024

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

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

Back to the top