ITableItemLabelProvider code generation annotation in eCore model [message #1052743] |
Tue, 30 April 2013 09:24  |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.06168 seconds