Introduction

The defined behaviour of an interface or a component can also be shown in the form of a state table.

The state table is an alternative representation of the behaviour specified in the model code. It shows for each state all possible actions and next states based on all possible incoming events and guards.

The state table for the model in focus can be found under State Table View in the Design perspective.

StateTable in Eclipse

Clicking on an action highlights the place in the model editor where the respective behaviour is specified.

In case there are multiple interfaces and/or components in one file, the state tables for each of them can be shown by clicking on the "Click to Switch Available Diagrams" button on the top right (see picture below) or select the interface or component from the drop down list that will be shown when clicking on the drop down arrow right of the button.

image