Re: Properties not displayed after adding an ecore to genmodel [message #229420] |
Mon, 11 May 2009 12:09  |
Eclipse User |
|
|
|
Aurelien,
It's best to ask on the GMF newsgroup, which I've added to the "to" list
of the reply, so no need to repost.
Aurelien Pupier wrote:
> Hi,
>
> The properties relative to EObject which are all in the same .ecore
> are not displayed in the properties view.
>
> How did I arrived to that?
>
> 1. I'd already a project with multiple .ecore and one .genmodel which
> mix up them alltogether. There is a diagram which display what I want
> (generated with a beautiful gmfmap, gmftool, ...)
>
> 2. I created a new .ecore with some EClass
>
> 3. reloaded .genmodel with adding the new .ecore and regenerated the code
>
> 4. modify the gmfmap and gmftool to include a graphical part of the
> EObject
>
> 5. regenerated gmfgen and regenerated code from it
>
> Now I have my new type of element displayed at the right place in my
> diagram but when I'm selecting one of them, nothing appears in the
> properties view it is only changing the title name.
>
> Thanks for your help,
>
> Aurélien Pupier
>
|
|
|
|
Re: Properties not displayed after adding an ecore to genmodel [message #444583 is a reply to message #229701] |
Fri, 31 July 2009 13:29   |
Eclipse User |
|
|
|
Dear Alex, dear Ed,
I have the same problem: I just updated some attributes in my ecore and
genmodel. Then I updated also my mapping model and the gmfgen model.
Then I regenerated everything (model code, edit code, editor code,
diagram code).
All code is compile error free, but in the diagram I don't see any
properties of selected elements.
If I open a model with the generated EMF editor, all properties are
visible there.
What could be wrong?
Cheers,
Hauke
Alex Shatalin schrieb:
> Hello Aurelien,
>
> Are you sure you've regenerated EMF edit/editor code (not only EMF model
> code) using updated genmodel? Can you see proper properties if you
> select this new element instance in EMF-generated tree editor?
>
> -----------------
> Alex Shatalin
>
>
|
|
|
|
|
Powered by
FUDForum. Page generated in 1.25956 seconds