I can't figure out how to label a transition (arrow) in a UML Statechart. With most items, I just start typing, but with the transition it says:
Shape protection and/or layer properties prevent complete execution of this command.
I found Format -> Protection and unchecked the "Text" check box, and now I can start typing, but the text just goes away when I finish. What's up with that?
One thing that sort of works is a "Guard expression", but I don't think that's quite what I want. Unlike this MSDN example, it has awkward square brackets around it. Is there any way to get a normal-looking label for transitions?
Best Answer
Double click on the transition to bring up the transition properties dialogue. Create an Event (the event button), Create a new Event. Back in the UML Transitions Properties dialogue select your new event from the Event: drop down. it'll now show up as a label. Painful isn't it