[EEF] Using JMerge in the EEF Editor class [message #674352] |
Thu, 26 May 2011 11:28  |
Eclipse User |
|
|
|
Hello,
I have an editor generated for my EMF model and I am using EEF to make it an EEF editor.
I specify in the "-editor.eefgen" model that I want JMerge to be used during generation, and as I added some custom code in my editor class I added some @generated NOT in the code.
The problem is it doesn't change nothing as every time I regenerate the editor it is overwritten completely and all my custom code is gone. I really don't know what I am missing here.
One of my customization is to contribute a custom Tree Master Page as the editor main page. I didn't find any way to do it in the .eefgen model itself which will have been great.
Any help is welcome. Thanks.
|
|
|
Re: [EEF] Using JMerge in the EEF Editor class [message #675095 is a reply to message #674352] |
Mon, 30 May 2011 05:43  |
Eclipse User |
|
|
|
Am 26.05.2011 17:28, schrieb Nathalie:
> Hello,
> I have an editor generated for my EMF model and I am using EEF to make
> it an EEF editor.
> I specify in the "-editor.eefgen" model that I want JMerge to be used
> during generation, and as I added some custom code in my editor class I
> added some @generated NOT in the code.
>
> The problem is it doesn't change nothing as every time I regenerate the
> editor it is overwritten completely and all my custom code is gone. I
> really don't know what I am missing here.
>
> One of my customization is to contribute a custom Tree Master Page as
> the editor main page. I didn't find any way to do it in the .eefgen
> model itself which will have been great.
>
> Any help is welcome. Thanks.
>
>
I also observe this behavior, i think jmerge is not called, even the
flag is set.
I moved the customized files in the src folder, to prevent the override.
greetings, Urs.
|
|
|
Powered by
FUDForum. Page generated in 0.25391 seconds