|[ecoretools] Problem creating opposite ERelation through the graphical editor [message #795231]
||Fri, 10 February 2012 08:19
| Benoit Cantin
Registered: January 2012
This topic is following http://www.eclipse.org/forums/index.php/mv/msg/281817/786463/#msg_786463. I didn't see at that time that there was a forum dedicated to Ecore tools.
My version of ecore tools is 1.0.0.v20110608-1633
When I am using the .ecorediag graphical editor, if I create 2 EClass, linked by 2 ERelation (one in each sense), if I click on one of the ERelation, then in the Properties EOpposite, button '...', the second relation is not listed, until I manually change the cardinalities. If I change cardinalities, then the second ERelation does appear.
When both relations are set as opposite, one of the relations disappears. All the cardinalities are then displayed on the same link (this seems correct to me).
If I save, and reopen, then the second relation reappears. Each time I modify those relations, they merge each other...
I can reproduce that on a very simple test case :
Empty list of candidate opposites (1 single item, coming from ?)
After having changed one of the cardinalities, I can set the opposite :
And the result is :
Once saved and reopened, I get :
Any idea ? Does this look normal to you ?
Powered by FUDForum
. Page generated in 0.02738 seconds