How to get the list of projects in a workspace? [message #326243] |
Wed, 12 March 2008 15:26  |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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.
>
|
|
|
Powered by
FUDForum. Page generated in 0.02642 seconds