Rational Programming Patterns

Adding elements to a Logical View

In the -CE Lines tab, you call elements in the Logical View.

Procedure

  1. Adding a Data Element call:
    1. If the table is empty, click Add Data Element or select this action in the contextual menu of the table. If the table is not empty, set your cursor where you want to insert a Data Element call line. The Data Element entry is sequential. To create a first Data Element line in a defined group, click the group line. You can also click in the group where the Data Element call line must be added. Then, click Add Data Element.
    2. The dialog box that opens displays the list of the available Data Elements. If the list is large, you can reduce it by entering a string that is used as filter (the filtering is performed on the code or on the label of the instance). Select an instance and press OK.

      You can also create a Data Element. To open the creation wizard, click New Data Element . When the Data Element is created, it is added to the list of Data Elements in the primary window. Select it and press OK.

      The new Data Element call is added to the table.

  2. Adding a group call:

    You can call a group of elementary Data Elements. There can be up to 99 elementary Data Elements, on nine different levels maximum. A group can include other groups. A group can also include one or more Segments. Each Segment call is then considered as an elementary Data Element.

    1. If the table is empty, click Add group or select this action in the contextual menu of the table. If it is not empty, set your cursor where you want to insert a new Data Element call line.
    2. A group is added to the table. Complete the editable column cells or the input fields in the Group Definition section.
  3. Adding a Segment:
    1. If the table is empty, click Add Segment. If it is not empty, set your cursor where you want to insert a Segment call line. The element input is sequential.
    2. The dialog box that opens displays the list of the available Segments and Logical Views. Select one of them and press OK.

      You can also create a Segment or Logical View. To do so, click New Segment and complete the input fields in the creation wizard that opens. In the entity type, select Segment or Logical View. When the Segment is created, it is added to the list of Segments in the previous dialog box. Select it and press OK.

      Then, complete the Segment call characteristics.
  4. Other actions in the call lines table:
    1. To remove a call line from the table, select it and click Remove. A group is removed with all its subelements.
    2. To change the order in the table, click the line and move it by clicking the direction button.
    3. You can copy one or more lines and paste them after the selection. Right-click the selection to display the menu. Only elements or groups with the same level of indentation can be copied and pasted.
    4. You can create Sets of Redefines for a Data Element call for example. To do so, click a Data Element to be redefined and select the Redefines option in the Data Element call section. A Set of Redefines line is created. It contains the redefined Data Element and the preceding Data Element with the same level in the tree structure. You must then define the Occurs option in the Set of Redefines section that is displayed when you click the Set of Redefines line call. Redefines are also possible for Segment calls and groups.

What to do next

After you have added element calls or modified the element calls in the table, you must complete the column cells with the required values for each element call. If you are familiar with the -CE of Logical Views, you can do it directly in the table. You can also complete the fields in the section that is dedicated to each entity call type. The following sections are available:
Note: Do not forget to click the other buttons in all sections to access more specifications.

Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)