[GMF] Missing domain model elements [message #134852] |
Tue, 12 June 2007 09:14 |
Eclipse User |
|
|
|
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 #135428 is a reply to message #135145] |
Wed, 13 June 2007 08:48 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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.
|
|
|
Powered by
FUDForum. Page generated in 0.03716 seconds