|
|
|
|
|
|
Re: i haveprobléme [message #1759305 is a reply to message #1759248] |
Mon, 10 April 2017 12:35 |
|
Hello,
We do speak French, but threads on Eclipse forums can be interesting for everyone and therefore are in English.
In your metamodel on Arc, you have the attribute source and target that are typed EString...therefore it cannot reference your source and target nodes but you are using it in your Edge Creation Tool. In this tool, you should be using the EReference to and from that you have between metaclasses Node and Arc.
I think you should first create a model with the default editor and you will see more easily which fields you should use, and which ones are unrequired (useless?) like source and target. Then, you will be able to check if your Edge mapping is properly set, because I'm not sure that it is. After that, you can fix the Edge creation tool as I presented.
Also, I think that you are adding some complexity to your metamodel. Instead of having "Standard" containing "Arc" with the containing reference "conainerArc" (you have a typo here), you could have a containing reference from "Node" to "Arc" that would replace the source reference, and then add a second reference (non-containement this time) from "Node" to "Arc" for the target reference. It will make your Edge Creation Tool easier to set.
Regards,
Steve
Steve Monnier - Obeo Canada
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
|
|
|
|
Powered by
FUDForum. Page generated in 0.03915 seconds