Skip to main content



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 15:26 Go to next message
Eclipse UserFriend
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 15: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: Sat Feb 22 09:47:03 EST 2025

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

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

Back to the top