| Connection issue [message #661840] |
Mon, 28 March 2011 04:10  |
Luca Gherardi Messages: 41 Registered: November 2010 |
Member |
|
|
Hi all, I have an issue with connections in my diagram.
The editor that i'm developing allows me to define a connection between two figures. However when i close the editor and then relaunch it all the connections disappear. It seems that it is only a "graphical" problem since the ecore looks correct.
To be noticed that my ecoore is composed in the following way:
- A class object which have a properties "root" (a boolean)
- A class Model (the top class) which contains one object (the one with the property root = true)
- The class object contains one or more objects.
It's look like a tree.
Does anyone can help me?
Best regards,
Luca
[Updated on: Mon, 28 March 2011 04:16] Report message to a moderator
|
|
|
|
| Re: Connection issue [message #662241 is a reply to message #662184] |
Tue, 29 March 2011 16:16  |
Luca Gherardi Messages: 41 Registered: November 2010 |
Member |
|
|
Just for completeness.
1) I use OCL constraints to distinguish between the two cases. I set up them in gmfmap file.
2) It seems that it shows two links after the update (F5) because, I have two different representations for the same containment relationship. I can say that since I have another containment relationship, which could have 5 different representations. In that case when I make a connection I see only on link. However after the update the editor shows me 5 links.
|
|
|
Powered by
FUDForum. Page generated in 0.01645 seconds