Skip to main content



      Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » clause "implements" for a EMF generated class
clause "implements" for a EMF generated class [message #510497] Wed, 27 January 2010 11:25 Go to next message
Eclipse UserFriend
Hi.

I want to declare a clause "implements" for a class which is regenerated using EMF ecore.
If I change the tag @generated adding NOT, to get the "implements" untouched, the code of the class will not be generated...
But if I leave the tag @generated without NOT, when the code was generated, "implements" will be deleted.
So, have you got any suggestion about this issue?

Thanks in advance,
Carlos.
Re: clause "implements" for a EMF generated class [message #510566 is a reply to message #510497] Wed, 27 January 2010 11:02 Go to previous messageGo to next message
Eclipse UserFriend
Carlos,

There's an @implements tag you can add to the user-doc section to
specify things to be added to the implements clause.

Carlos wrote:
> Hi.
>
> I want to declare a clause "implements" for a class which is
> regenerated using EMF ecore.
> If I change the tag @generated adding NOT, to get the "implements"
> untouched, the code of the class will not be generated...
> But if I leave the tag @generated without NOT, when the code was
> generated, "implements" will be deleted.
> So, have you got any suggestion about this issue?
>
> Thanks in advance,
> Carlos.
>
Re: clause "implements" for a EMF generated class [message #622056 is a reply to message #510497] Wed, 27 January 2010 15:55 Go to previous message
Eclipse UserFriend
Carlos,

There's an @implements tag you can add to the user-doc section to
specify things to be added to the implements clause.

Carlos wrote:
> Hi.
>
> I want to declare a clause "implements" for a class which is
> regenerated using EMF ecore.
> If I change the tag @generated adding NOT, to get the "implements"
> untouched, the code of the class will not be generated...
> But if I leave the tag @generated without NOT, when the code was
> generated, "implements" will be deleted.
> So, have you got any suggestion about this issue?
>
> Thanks in advance,
> Carlos.
>
Previous Topic:MWE: capture log output?
Next Topic:Ecoretools sources not included in the SDK
Goto Forum:
  


Current Time: Sat Jul 05 09:35:38 EDT 2025

Powered by FUDForum. Page generated in 0.13629 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top