Given scenario: In the Project Explorer of Eclipse-RCP a user deleted (right mousclick->delete) a project with the name "XXX" from the workspace but he did not delete the project contents from his disk. (So, the project exists on his disk physically. This use case is desired.)
Next time the user wants to create a new (blank) project with the same name "XXX" as the deleted project has had.
The problem: When creating the new project, Eclipse realized that a project exists in this Workspace physically. So Eclipse "will automatically configure the JRE and the Project layout based on the existing source". After finishing the Create-Process, there will be the project with the Name "XXX", but Eclipse loaded the content(classes, etc) of the already deleted project.
Image: Create new Project with same name
Is there a mechanism in Eclipse-RCP to check (before creating the new project) if there is a old deleted Project with the same (wished) name?
Thank you for your help.