|
|
Re: ECore to MOF XMI and back [message #419910 is a reply to message #419773] |
Thu, 12 June 2008 16:05 |
Eclipse User |
|
|
|
Originally posted by: matthias.schmidt.xactium.com
Hi Ed,
I hit the same issues like Andy did.
Could you give me more details, please? Which editor do you mean?
I tried the editor for .ecore files, the .ecore_diagram and the EMF
editor generated out of the .ecore file. I always went to File -> Save
As... but the Save As dialogue simply allows to change the name of the
file rather then the file type.
In addition to that. Could you point me to a package which includes the
EMOFResourceFactoryImpl class.
Cheers!
Matthias
Ed Merks wrote:
> Andy,
>
> In the editor you can save as *.emof to get an EMOF serialization and
> when loading one of those, you can save as *.ecore to get an Ecore one
> back. EMOFResourceFactoryImpl's resources do the magic to convert them.
>
> ase wrote:
>> Hi,
>>
>> Does anyone know of an Eclipse based (preferable open source) which
>> can convert from ECore to MOF XMI and back?
>>
>> Thanks,
>>
>> Andy
>>
>>
|
|
|
Re: ECore to MOF XMI and back [message #419912 is a reply to message #419910] |
Thu, 12 June 2008 17:57 |
Ed Merks Messages: 33137 Registered: July 2009 |
Senior Member |
|
|
Matthias,
The Sample Ecore Editor, the one you open directly on a .ecore file,
without the diagram. You change the name to end with .emof and it will
change the serialization format to be EMOF; it says so on the
description... Ctrl-Shift-T should be your best friend:
org.eclipse.emf.ecore.xmi.impl is the package and
org.eclipse.emf.ecore.xmi is the plugin.
Matthias Schmidt wrote:
> Hi Ed,
>
> I hit the same issues like Andy did.
> Could you give me more details, please? Which editor do you mean?
>
> I tried the editor for .ecore files, the .ecore_diagram and the EMF
> editor generated out of the .ecore file. I always went to File -> Save
> As... but the Save As dialogue simply allows to change the name of the
> file rather then the file type.
>
> In addition to that. Could you point me to a package which includes
> the EMOFResourceFactoryImpl class.
>
> Cheers!
> Matthias
>
>
>
>
> Ed Merks wrote:
>> Andy,
>>
>> In the editor you can save as *.emof to get an EMOF serialization and
>> when loading one of those, you can save as *.ecore to get an Ecore
>> one back. EMOFResourceFactoryImpl's resources do the magic to
>> convert them.
>>
>> ase wrote:
>>> Hi,
>>>
>>> Does anyone know of an Eclipse based (preferable open source) which
>>> can convert from ECore to MOF XMI and back?
>>>
>>> Thanks,
>>>
>>> Andy
>>>
>>>
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.01908 seconds