Skip to main content



      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 09:24 Go to next message
Eclipse UserFriend
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 11:29 Go to previous message
Eclipse UserFriend
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
Previous Topic:[EmfStore] Null Context in MEEditorInput
Next Topic:teneo dynamic emf example
Goto Forum:
  


Current Time: Wed Jul 23 14:47:49 EDT 2025

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

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

Back to the top