Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » [GMF] Missing domain model elements
[GMF] Missing domain model elements [message #134852] Tue, 12 June 2007 09:14 Go to next message
Eclipse UserFriend
Originally posted by: Halimatou.Pouye-Diaw.thomson.net

Hi, everybody

I am fairly new to EMF/GMF and after building some editors (cheat
sheets...), I am trying to build a more complex editor and it seems not
easier like the tutorials.
I am getting a problem when I try to build the graphical definition. In
the domain model, there are some missing elements (attributes and
association reference), however the node is clearly specified and the
Ecore model, the elements are well defined.

Is it a model definition problem? How to resolve this problem? Any idea?

After searching in the newsgroup I still couldn't find any obvious
solutions, so I would appreciate any help.

Regards,
Halimatou.
Re: [GMF] Missing domain model elements [message #135145 is a reply to message #134852] Tue, 12 June 2007 14:43 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: stefan.bley.dd.gmx.de

Hi Halimatou,

maybe you could show us your ecore model. If you cannot build a graphical
definition, than probably the problem is in the model.

Regards,
Stefan
Re: [GMF] Missing domain model elements [message #135428 is a reply to message #135145] Wed, 13 June 2007 08:48 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: Halimatou.Pouye-Diaw.thomson.net

Hello, Stefan and everybody

To understand my problem with the missing elements, I decided to build
again the editor "mindmap" (cheat sheet), but this time by using the XML
Schema provided on the http://wiki.eclipse.org/index.php/GMF_Tutorial
site.
When generating the EMF model from the XSD, the ecore model is relatively
the same, with a DocumentRoot and some extended metadata added (if anybody
knows if there is an option to set/unset to avoid having the DocumentRoot
and these metadata, it would be great).

I removed these data to have exactly the same ecore model as presented on
the tutorial, and once again, I have exactly the same problem. That it is
to say, when creating the graphical defintion, the links "source" and
"target" of the node Relationship are missing in the domain elements lists.

After many investigations, I can't understand this problem. Why some links
are removed for graphical definition? And this problem involves at the end
some exceptions (for initializing DiagramLink, some missing classes when
generating code...).

Thanks for any answer.

Halimatou.
Re: [GMF] Missing domain model elements [message #135858 is a reply to message #135428] Wed, 13 June 2007 15:44 Go to previous message
Eclipse UserFriend
Originally posted by: Halimatou.Pouye-Diaw.thomson.net

Hi, everybody
In order to solve the missing elements problem during the graphical
definition, does anybody know if there exists a code generation
configuration file to define some properties?
Thanks for any hint.

Halimatou.
Previous Topic:Model Validation
Next Topic:How to set reference to another element?
Goto Forum:
  


Current Time: Tue Jul 16 13:25:51 GMT 2024

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

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

Back to the top