Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 16:25 Go to next message
Carlos  is currently offline Carlos Friend
Messages: 52
Registered: September 2009
Member
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 16:02 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33133
Registered: July 2009
Senior Member
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.
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: clause "implements" for a EMF generated class [message #622056 is a reply to message #510497] Wed, 27 January 2010 20:55 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33133
Registered: July 2009
Senior Member
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.
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:MWE: capture log output?
Next Topic:Ecoretools sources not included in the SDK
Goto Forum:
  


Current Time: Thu Apr 18 02:24:22 GMT 2024

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

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

Back to the top