Closed cdamus closed 5 years ago
Yes, indeed. There is no pop-up bar on the state machine but on a state it offers region and state, both of which need to go. The state tool implicitly creates a region for the composite state.
Blocking the pop-up tool for nested state turned out tricky because the edit-policy in the state edit-part doesn't consult the Element Types for creation of the region. So, I had to override that edit-policy. This has the happy side-effect of also preventing creation via the palette of a state within a state.
Very nice, thanks!
Remove the
Region
tool from the palette as multiple regions and composite states are not supported.