Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [henshin-user] UML state machines and dangling edges?

Thanks for your quick reply,

I altered the rule as shown in the screenshot but it doesn't help.

Jens

Am 16.09.2015 um 18:24 schrieb Daniel Strüber:
You're totally right, the containment edge must be deleted (the
graphical editor does this by default, so I usually let it do this piece
of thinking for me :)).

Technically, both directions should work, since both edges are
EOpposites and thus EMF takes care of updating their correspondence. For
the sake of clarity, I prefer modeling the containment edge,
"transition" (as opposed to the container edge, "container"), since the
containment edge is a distinguished kind of edge and highlighted as such
in the editor.

Regards,
Daniel

Am 16.09.2015 um 18:15 schrieb Jens Bürger:
Am 16.09.2015 um 17:57 schrieb Daniel Strüber:
[…]
To get an intact rule, you have to specify the container
node and the connecting containment edge as preserved elements.

Are you sure that the connecting containment edge needs to be
specified as preserving? Isn't that exactly a dangling edge then?

However, I tried to model it as you suggested, but if I try to specify
the "transition" as preserve, the diagram editor also sets the
Transition node to preserve.

I'm not really sure what is the right direction for the containment
edge. I tried both with the most obvious possibilities for edge types
("container" for Transition->Region and "transition" for
Region->Transition) but none of this worked so far.

Greetings,
Jens
_______________________________________________
henshin-user mailing list
henshin-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or
unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/henshin-user




--
Dipl.-Inf. Jens Bürger
Technische Universität Dortmund
Lehrstuhl 14 AG SecSE
Otto-Hahn-Straße 14
44227 Dortmund

OH14 Raum 131
Tel.: +49 231 755-2690
Fax:  +49 231 755-7936

https://www-secse.cs.tu-dortmund.de/secse/pages/home/disclaimer_en.shtml

Attachment: rule2.jpeg
Description: JPEG image


Back to the top