Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Deleted Projects(Handling new projects created in the name of deleted projects)
Deleted Projects [message #1014272] Mon, 25 February 2013 13:32
Aravindhan Annamalai is currently offline Aravindhan AnnamalaiFriend
Messages: 89
Registered: July 2009
Location: Chennai
Member
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.
Previous Topic:'Export Plug-ins' encounters a problem
Next Topic:key bindings conflicts for Juno
Goto Forum:
  


Current Time: Fri Apr 26 23:12:51 GMT 2024

Powered by FUDForum. Page generated in 0.02564 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top