private void restoreWidgetValues() {
   if (description != null) {
     nameText.setText(description.getName());
     nameText.setEnabled(false);
   } else {
     nameText.setText(repository.getName());
   }
   locationText.setText(TernModuleHelper.getPath(repository.getBaseDir()));
 }
 private IProjectDescription getProjectDescription() {
   File dotProject = new File(repository.getBaseDir(), IProjectDescription.DESCRIPTION_FILE_NAME);
   if (dotProject.exists()) {
     IPath path = new Path(TernModuleHelper.getPath(dotProject));
     try {
       return ResourcesPlugin.getWorkspace().loadProjectDescription(path);
     } catch (CoreException e) {
       Trace.trace(Trace.SEVERE, "Error while getting .project description", e);
     }
   }
   return null;
 }