[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.modeling.tmf] Re: [xtext] adding EOperations to the inferred ECore model
|
- From: Henrik Rentz-Reichert <hrr@xxxxxxxxx>
- Date: Thu, 17 Sep 2009 08:56:12 +0200
- Newsgroups: eclipse.modeling.tmf
- Organization: EclipseCorner
- User-agent: Thunderbird 2.0.0.23 (Windows/20090812)
Hi Moritz,
thanks for the hint.
Can you please give me a short example of how I can add an EOperation to
an inferred model element using the post processing hook?
Thanks,
Henrik
Moritz Eysholdt wrote:
> Hi Henrik,
>
> yes, there is a post processing hook which allows to customize the
> inferred Ecore model.
>
> see:
> http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse.xtext.doc/help/metamodelInference.html
>
>
> regard,
> Moritz
>
>> Hi,
>>
>> as discussed e.g. in
>> http://www.eclipse.org/newsportal/article.php?id=434&group=eclipse.modeling.tmf#434
>>
>>
>> there may be circumstances where it is desirable to extend the inferred
>> ECore model.
>>
>> One of the things one might wish to add are EOperations in EClasses.
>>
>> Is there a way to do this without being overwritten by re-generation?
>>
>> Thanks,
>> Henrik
>
>