This is an old revision of the document!
Model Context Menu
Model cavans context menu provides a set of operations you can use to interact with the model. Right mouse click anywhere on the modeling canvas background to bring up the model context menu. Note some of the menu items may only be displayed on certain condition.
- Model Property - to edit model properties
- MBT Setting - to edit MBT settings
- Notepad - to create or edit model note
- Tree View - to open or refresh Modeling Tree View
- MCase View - to open or refresh Modeling MCase View
- Model MScript - to open mScript in MScript Editor tab
- Add State - to add a new state to the model
- Pase Marked State - to move the states that are marked as a sub-states of current state. Valid only if there are at least one selected 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.
- Mark All States - to mark/select all states in the model
- Clear Breaks - to clear/disable all breakpoints
- Clear Marks - to un-mark/un-select all states and transitions in the model
- Replay Forward - to replay state/transition traversals graphically. You can specify number of traversals to be replayed that lead to the current state/transition the execution is paused at.
- Replay Backward - to replay state/transition traversals graphically going backward starting at the current state/transition the execution is paused at.
- Stop Replay - to stop the replay operation immediately
- Show Coverage - to color the states and transitions that are covered (green) or partially covered (blue). This operation is valid only during the model execution or when the model execution is just stopped or completed.
- Hide All SubModels - to hide all sub-models.
- Show All SubModels - to unhide all sub-models.