/**
  * Read prefs to determine if this descriptor is dirty. Default is TRUE.
  *
  * @return
  */
 public static boolean isDirtyInPreference(DescriptorType desc, IProject project) {
   IEclipsePreferences node =
       new InstanceScope().getNode(net.bioclipse.qsar.ui.Activator.PLUGIN_ID);
   //        System.out.println(" READ PREFERENCE: " + project.getName()+"_"+desc.getId() +" = " +
   // node.getBoolean( project.getName()+"_"+desc.getId(), true));
   return node.getBoolean(project.getName() + "_" + desc.getId(), true);
 }
  public static void setChangedInPreference(
      DescriptorType desc, IProject project, boolean newValue) {

    IEclipsePreferences node =
        new InstanceScope().getNode(net.bioclipse.qsar.ui.Activator.PLUGIN_ID);
    node.putBoolean(project.getName() + "_" + desc.getId(), newValue);
    try {
      node.flush();
    } catch (BackingStoreException e) {
      e.printStackTrace();
    }
  }