Using the Panel Builder
The Panel Builder automatically generates panels from charts and binds the interactors. These panels can be edited with the panel editor.
To start the Panel Builder from the Charts tab of the Rational Statemate main window, highlight a chart and select Tools > Panel Builder. The Panel Builder dialog box displays.
The Panel Builder window contains the following fields:
● Chart Name - Specifies the name for a chart you want to use as the basis for a panel. Alternatively, you can browse for a chart.
● Panel Name - Specifies the name for the panel you are creating. Alternatively, you can browse for a panel name.
● Scope of Elements - Specifies which elements are used in the panel.
The buttons above the horizontal line let you select the charts to include in the scope of the panel:
● With Descendant - Enables you to include descendant charts. If you select this button, you can merge the descendant charts into one panel by selecting Merge to One Panel.
● With Generic Instances - Enables you to include elements inside Generic Instances. If you select this button, you can merge the generic instances into one panel by selecting the button Merge to One Panel.
● Merge to One Panel - When this button is pushed all controls from all scopes are merged into a single panel. When this button is not pushed, the tool will create a separate panel for each of the descendant charts or generic instances.
The Merge to One Panel flag is enabled when either the With Descendants or the With Generic Instances buttons are pushed. Otherwise it is disabled.The buttons below the horizontal line let you select the elements that the panel will include, for each of the charts defined in the scope:
● Top Level Inputs Outputs - Use only elements with top-level inputs or outputs.
● Used In Chart - Use all the elements in the chart.
● Defined in Chart - Use only elements defined in the chart.
● Referenced In Info Flow - Uses elements that are part of the information flow.
● Expand Arrays - Use all elements of an array.
● Expand Records - Use all fields in a record.
● Advanced - This optional field opens the Specific Attributes window, as shown in the following figure. This window enables you to set the default interactor for each element type in the model.