Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc) » [Texo] Problem creating opposite relations
[Texo] Problem creating opposite relations [message #786388] |
Mon, 30 January 2012 11:04 |
Benoit Cantin Messages: 34 Registered: January 2012 |
Member |
|
|
Hello all,
Has anyone recently tried on the latest stable version of Texo to create opposite relations in the .ecorediag ?
In my case, when 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 (this is lookink fine to me : cardinalities are all put on the same relation) and the remaining one is not oriented any more.
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.
|
|
| |
Re: [Texo] Problem creating opposite relations [message #786396 is a reply to message #786388] |
Mon, 30 January 2012 11:12 |
Martin Taal Messages: 5468 Registered: July 2009 |
Senior Member |
|
|
Hi Benoit,
I am not sure that this is a Texo or an EcoreTools (which provides diagramming) problem. You encounter this issue when
creating/updating a model graphically using ecoretools?
gr. Martin
On 01/30/2012 12:04 PM, Benoit Cantin wrote:
> Hello all,
>
> Has anyone recently tried on the latest stable version of Texo to create opposite relations in the .ecorediag ?
>
> In my case, when 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 (this is lookink fine to me : cardinalities are
> all put on the same relation) and the remaining one is not oriented any more.
>
> 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.
--
With Regards, Martin Taal
Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Cell: +31 (0)6 288 48 943
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@springsite.com - mtaal@elver.org
Web: www.springsite.com - www.elver.org
|
|
|
Re: [Texo] Problem creating opposite relations [message #786411 is a reply to message #786393] |
Mon, 30 January 2012 11:42 |
Martin Taal Messages: 5468 Registered: July 2009 |
Senior Member |
|
|
Hi Benoit,
Yes, but this all happens in the graphical editor, right? If so then you need to post this on this same newsgroup but
with the prefix: [ecoretools], then the correct person will reply.
gr. Martin
On 01/30/2012 12:12 PM, Benoit Cantin wrote:
> I can add that once when both relations are merged, it becomes impossible to specify the 'is containment' property, not
> because of the editor, but because it is impossible to know on which extremity the composition will be applied.
--
With Regards, Martin Taal
Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Cell: +31 (0)6 288 48 943
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@springsite.com - mtaal@elver.org
Web: www.springsite.com - www.elver.org
|
|
| |
Goto Forum:
Current Time: Fri Apr 19 22:32:32 GMT 2024
Powered by FUDForum. Page generated in 0.02796 seconds
|