Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
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 Go to next message
Benoit Cantin is currently offline Benoit CantinFriend
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
index.php/fa/6946/0/

Empty list of candidate opposites (1 single item, coming from ?)
index.php/fa/6947/0/

After having changed one of the cardinalities, I can set the opposite :
index.php/fa/6948/0/

And the result is :
index.php/fa/6949/0/

Once saved and reopened, I get :
index.php/fa/6950/0/

Any idea ? Does this look normal to you ?

[Updated on: Fri, 10 February 2012 10:30]

Report message to a moderator

Re: [ecoretools] Problem creating opposite ERelation through the graphical editor [message #795232 is a reply to message #786463] Fri, 10 February 2012 08:20 Go to previous message
Benoit Cantin is currently offline Benoit CantinFriend
Messages: 34
Registered: January 2012
Member
Question asked in the Ecore tools dedicated forum : http://www.eclipse.org/forums/index.php/mv/msg/288764/795231/#msg_795231
Previous Topic:[MOVED]Is Ecore tools development dead ?
Next Topic:[Texo] Status about feature "support code generation which generates separate source files"
Goto Forum:
  


Current Time: Fri Apr 19 23:06:21 GMT 2024

Powered by FUDForum. Page generated in 0.02827 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top