Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc) » [MOVED][ecoretools] Problem creating opposite ERelation through the graphical editor
[MOVED][ecoretools] Problem creating opposite ERelation through the graphical editor [message #786463] |
Mon, 30 January 2012 13:13 |
Benoit Cantin Messages: 34 Registered: January 2012 |
Member |
|
|
Hello all,
This topic is following http://www.eclipse.org/forums/index.php/t/281756/
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 :
Initial state
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 ?
[Updated on: Fri, 10 February 2012 10:30] Report message to a moderator
|
|
| |
Goto Forum:
Current Time: Fri Apr 19 23:06:21 GMT 2024
Powered by FUDForum. Page generated in 0.02827 seconds
|