|Deleted Projects [message #1014272]
||Mon, 25 February 2013 13:32
| Aravindhan Annamalai
Registered: July 2009
I am deleting a project from workspace but not their contents on the disk.|
Next time, when I create a project with the same name, I need to warn the user saying that, "A project with the name already exists, Do you wish to override?"...
Is this possible?
IProject project = ResourcesPlugin.getWorkspace().getRoot().getProject(getMainPage().getProjectName());
IProject projects = ResourcesPlugin.getWorkspace().getRoot().getProjects();
The above lines aren't capturing the deleted project as I guess the project entry is removed from .metadata...
I tried the same scenario with a Java project, which restores the deleted contents in the newly created project.. wondering how it is handled?
Any clues on this will be helpful.
Powered by FUDForum
. Page generated in 0.01734 seconds