|
|
|
Re: Text from Ecore [message #726084 is a reply to message #726008] |
Fri, 16 September 2011 14:15 |
Ed Merks Messages: 33140 Registered: July 2009 |
Senior Member |
|
|
If OCL already provides for this, they likely have a resource
implementation for producing it. Ed W gave you a detailed answer that
assumed you wanted some kind of editor/viewer, rather than just the
ability to produce text. Make it clear to him you don't need all that
fancy stuff he talked about; you just want to reuse whatever he already
has (his resource implementation) for producing text so you could do
resource.save(System.out, null) and see that text...
On 16/09/2011 4:57 AM, ModelGeek wrote:
> Thank you so much for you help, I know i need to write code generator
> but i mean in Eclipse there is an editor call OCLinEcore which
> presents Emfatic text for Ecore model. So this means there is already
> a code generator with template and workflow that can generate Emfatic
> text from Ecore model.
> So i just want to resuse that existing generator in my standalone
> application. I want to know how to do that... if it is not possible to
> reuse that then obvioulsy i will consider writing my own.
>
> help will be highly appreciated.
>
> regards
>
>
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.03317 seconds