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
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 Merks
Messages: 26070
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.
>
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 Merks
Messages: 26070
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.
>
Previous Topic:MWE: capture log output?
Next Topic:Ecoretools sources not included in the SDK
Goto Forum:
  


Current Time: Wed Sep 24 04:39:58 GMT 2014

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

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