Community
Participate
Working Groups
[StateMachineDiagram] In the state machine diagram, elements cannot be moved inside or outside a composite state. A workaround is possible but painful: You must move it in model explorer first, drag and drop it in the composite state and delete graphically the old figure
Should be fixed in revision 11161 of trunk. A reparent operation is now supported. During this operation, the containers of affected transitions are (eventually) updated.
There is an issue that is not well handled by the current bug-fix: If the state that is dragged into a composite is visualized in a different state diagram (or duplicated in the same diagram), these other occurrences are not updated accordingly. We need to remove these occurrences of a "re-parented" state from other diagrams. However, the user might not be aware that these side-effects of the move operation. If other occurrences of the same state exist in other diagrams, papyrus should ask the user in a dialog, if he really wants to execute a reparent operation. Btw. this problem existed already before the current fix, since moving into a composite state via the model explorer does not imply diagram updates at all.