|
|
|
Re: Why is there an error for * about the data type * not being serializable? [message #1727844 is a reply to message #1727838] |
Mon, 28 March 2016 11:44 |
Ed Merks Messages: 33140 Registered: July 2009 |
Senior Member |
|
|
Paul,
The factory is always generated. You must change the EDataType's
serializeable attribute to true to make the error go away and then the
factory will have the method stubs you must implement.
On 28.03.2016 18:39, Paul Roubekas wrote:
> The attribute must be serializeable.
>
> Quote:
>> which involves hand implementing the two conversion methods in the
>> generated factory implementation class.
>
>
>
> Yes, I remember this from reading the EMF book. My issue is one step
> sooner. How do you get the ecore editor to allow the factory to be
> generated? In other words, how do you get the error to go away? How do
> you tell the editor I will implement the conversion methods?
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.02590 seconds