Get Projects List in Eclipse Workbench
Friday, June 8th, 2007http://dev.eclipse.org/newslists/news.eclipse.newcomer/msg13300.html
Add
org.eclipse.core.resources
in the Require-Bundle section in your plugin MANIFEST.MF file
and invoke code:
ResourcesPlugin.getWorkspace().getRoot().getProjects()