Philip,
This bugzilla deals with that.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=245014
Some small framework changes are needed.
Note that he problem isn't with the interfaces but rather the
implementation classes.
Philip Chang wrote:
Hi,
I have an Object
public class ObjectA {
String name;
MyEMFObject ObjectB;
}
ObjectA a = ...;
outputStream = new ObjectOutputStream(new ByteArrayOutputStream());
outputStream.writeObject (a);
I get a NotSerializeableException when trying to serialize the ObjectA
because MyEMFObject extends only EObject but not Serializable.
What do I have todo in the ECore editor so that MyEMFObject implements
also the Serializable interface. Somehow I cannot manage it.
Thx in advance.
Regards,
Philip
|