this.waitLock = waitLock;
}
@Override
protected ProjectLocation doInBackground() throws Exception {
ProjectLocationRenamer renamer = new ProjectLocationRenamer(location);
renamer.setConflictResolver(new NameCollisionHandler());
ProjectLocation newLocation = renamer.rename(newName);
if (newLocation != null) {
viewer.getRecentProjects().addProjectLocation(newLocation);
}
return newLocation;
}