Heyho,
I'm trying to develop my own Eclipse Plugin. It should be visiable as a new entry in the PopupMenu from the Eclipse Project Explorer. I would like to right-click at the Project and execute a little bit of JavaCode and need the project path from the marked project. So how do i get the specific project path?
How to add the popup menu see: Adding menus, toolbar and popup menus to the Eclipse IDE - Tutorial
The project location can be computed via current selection: see e. g. source code of OpenManifestHandler, line 52..86 for details.
IProject -> File: getRawLocation().makeAbsolute().toFile();