Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsCreating internal transition in UML-RT?
https://www.eclipse.org/forums/index.php/mv/msg/1088487/1771509/#msg_1771509
Does it need special procedure to create an internal transition, or by simply picking "internal" as kind in UML tab (in properties window) a transition should be an internal one?
As I see unexpected behavior in a state machine with an internal transition. The transition simply does not get triggered:
Unexpected message to capsule instance prop1__TOP.trafficLight role trafficLight on port TestData protocol TestChannel signal nextTest
"trafficLight" is a capsule which its state machine has an internal transition (its kind is "internal"). That internal transition has "nextTest" as its trigger.
Thanks.]]>reza ahmadi2017-08-25T20:48:09-00:00Re: Creating internal transition in UML-RT?
https://www.eclipse.org/forums/index.php/mv/msg/1088487/1771563/#msg_1771563
Since internal transitions are not represented as edges in the state machine diagram, they are created a bit different compared to other edge based transitions. You create an internal transition using the diagram assistant, i.e. hover with the mouse above a state for a short while, and then the diagram assistant pops up where you can select to add an internal transition to the state:
When the internal transition is added, it is shown in a compartment of the state.
There is also a bug 511472 tracking an additional enhancement where it should be possible to right-click and bring up the context menu for the state, and have a "new child" menu with the same choices as for the modeling assistant.