This is an old revision of the document!
State Context Menus
State context menu provides a set of operations you can perform on the states. Note some of the menu items may be valid only on certain conditions.
- State Property - to edit state properties
- State MScript - to open state mScript in MScript Editor
- State Annotation - to open Annotation Editor
- Notepad - to create or edit state note
- Add Sub-State - to add a sub-state to the current state
- Paste Marked State - to move the selected state(s) as sub-state(s) of the current state
- Delete State - to delete current state. You may use Delete key to perform the delete function.
- Add Transition - to create a new transition originating from the current state. You will be prompted to select the target state. As you move the mouse a drag line (red) is displayed. Click on another state to complete the transition creation operation. Click on canvas background to cancel the operation.
- Paste Transition - to paste the marked transitions into the state
- Align Left - to align all selected states to their left edge. Only valid when there are at least two selecte states.
- Align Right - to align all selected states to their right edge. Only valid when there are at least two selecte states.
- Align Top - to align all selected states to their top edge. Only valid when there are at least two selecte states.
- Align Bottom - to align all selected states to their bottom edge. Only valid when there are at least two selecte states.
- Add To MCase - to add current state or all selected states/transitions to an existing mCase.
- Stereotype - to assign a stereotype to the state. see State Stereotype
- Toggle Break - to enable or disable the breakpoint on the state
- Guard View - to display the transition guard conditions for all outgoing transitions
- Hide SubModel - to hide all states of the sub-model.
- Show SubModel - to unhide all states of the sub-model.
- Hide SubStates - to hide all children states
- Show SubStates - to unhide all children states