Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » ITableItemLabelProvider code generation annotation in eCore model
ITableItemLabelProvider code generation annotation in eCore model [message #1052743] Tue, 30 April 2013 13:24 Go to next message
J. Michael Dean, M.D. is currently offline J. Michael Dean, M.D.Friend
Messages: 218
Registered: July 2009
Senior Member
I am implementing a table with multiple columns, and understand the
workflow to be to set Table Providers to true in the generator, and to
implement getColumnText (and if desired, getColumnImage) in the item
provider that was automatically generated. I have done this, and it works.

If I generate a new generator from the eCore model, then the Table
Providers flag will default to false. Is there a way to annotate the
eCore model so that the generator that is created defaults this to true?

Thanks.

- Mike
Re: ITableItemLabelProvider code generation annotation in eCore model [message #1052819 is a reply to message #1052743] Tue, 30 April 2013 15:29 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33141
Registered: July 2009
Senior Member
Mike,

No, there's not a way to do that in Ecore, but you can control such
flags in the *.xcore's source.


On 30/04/2013 3:24 PM, J Michael Dean wrote:
> I am implementing a table with multiple columns, and understand the
> workflow to be to set Table Providers to true in the generator, and to
> implement getColumnText (and if desired, getColumnImage) in the item
> provider that was automatically generated. I have done this, and it
> works.
>
> If I generate a new generator from the eCore model, then the Table
> Providers flag will default to false. Is there a way to annotate the
> eCore model so that the generator that is created defaults this to true?
>
> Thanks.
>
> - Mike


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:[EmfStore] Null Context in MEEditorInput
Next Topic:teneo dynamic emf example
Goto Forum:
  


Current Time: Thu Apr 25 22:50:25 GMT 2024

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

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

Back to the top