Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Re: Properties not displayed after adding an ecore to genmodel
Re: Properties not displayed after adding an ecore to genmodel [message #229420] Mon, 11 May 2009 16:09 Go to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 31485
Registered: July 2009
Senior Member
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
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Properties not displayed after adding an ecore to genmodel [message #229701 is a reply to message #229420] Tue, 12 May 2009 15:21 Go to previous messageGo to next message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
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
Re: Properties not displayed after adding an ecore to genmodel [message #444583 is a reply to message #229701] Fri, 31 July 2009 17:29 Go to previous messageGo to next message
Hauke Fuhrmann is currently offline Hauke FuhrmannFriend
Messages: 333
Registered: July 2009
Senior Member
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
>
>
Re: Properties not displayed after adding an ecore to genmodel [message #467962 is a reply to message #444583] Mon, 03 August 2009 12:58 Go to previous messageGo to next message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
Hello Hauke,

Are you sure you selecting exactly the same element on a diagram and in EMF
model tree? Is it a link or a node?

-----------------
Alex Shatalin
Re: Properties not displayed after adding an ecore to genmodel [message #521089 is a reply to message #444583] Tue, 16 March 2010 12:53 Go to previous message
Eclipse UserFriend
Originally posted by: mail.hamburg.googlemail.com

Hello Hauke,
had that issue since GMF 2.2. A workaround you can try (which helped me
out at least) is here:
http://sdqweb.ipd.kit.edu/wiki/Property_Sheet_remains_empty_ with_GMF_2.2
(I needed to apply only the first part of the workaround).

Hope that helps, good luck!

> 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
Previous Topic:Type-Usage-Concept
Next Topic:Create GMFGen using multiple ecore models / genmodels
Goto Forum:
  


Current Time: Sat Sep 26 23:03:55 GMT 2020

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

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

Back to the top