/**
  * Uses the IMemento pattern to obtain persistence data from the object
  *
  * @generated NO MORE
  */
 public String convertIGenericProjectElementToString(EDataType eDataType, Object instanceValue) {
   IGenericProjectElement elem = (IGenericProjectElement) instanceValue;
   UdigMemento memento = new UdigMemento();
   elem.save(memento);
   memento.putString(EXTENSION_POINT_ID_KEY, elem.getExtensionId());
   return memento.toString();
 }
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated NO MORE
  */
 public IGenericProjectElement createIGenericProjectElementFromString(
     EDataType eDataType, String initialValue) {
   try {
     UdigMemento memento = UdigMemento.readString(initialValue);
     IGenericProjectElement backingObject =
         createGenericProjectElement(
             IGenericProjectElement.class, memento.getString(EXTENSION_POINT_ID_KEY));
     backingObject.init(memento);
     return backingObject;
   } catch (IOException e) {
     ProjectPlugin.log("Error parsing memento data for IGenericProject Element", e); // $NON-NLS-1$
     return null;
   }
 }