3SL: Requirements management and model driven systems engineering from concept to creation.
Cradle®
Login:
Username:
Password:
 
Search:  
Visitor not logged in, You are: Home > News > 3SL web based newsletter
 

 

3SL Web-based newsletter for November 2007 [Cradle 5.6]

How to Create Multiple Row Views

Views can contain any number of rows. When a view has more than one row, there are multiple view cells in each column. The view cells in the rows and column can display any attribute, without restriction. You can merge adjacent view cells into a larger cell, in the same way that you can merge cells in tables in word processing packages.

Multiple row views provide a powerful mechanism to display information in whatever way is most useful to you. They are typically used to either:

  • Show attributes from an item below other attributes, such as displaying figures and tables inside requirements below the requirement’s text, particularly useful when the requirements are shown in Document style so that all of each attribute are shown in the variable height rows provided by Document style
  • Showing linked items above or below the items to which they refer

By positioning the view cell for the linked items on a separate row in the view definition, we can position the linked items above or below their corresponding items. For example, to change the Req – Test view that we have just created, the process would be:

  1. Select the row in the view or any view cell in it:
  2. Click the Add Row button:

    which adds a new row of empty view cells:
  3. Select the first two rows in the first column:

    and select the Merge/Separate Cells button:

    to merge them into a single cell:
  4. Copy the contents of the Linked Items view cell at the end of the first row by selecting it, right clicking and choosing Cut, select the leftmost cell in the second row, right click and choose Paste:
  5. Now that it is empty, delete the rightmost column by selecting the button above it:

    and click the Delete Column button:

    to remove it:
  6. Now merge the cells in the second row so that the linked TEST items are shown underneath all of the attributes of the requirements (in our example), indented (for readability) by the requirements’ identities:

    and select Apply to apply the view:

This creates a multi-row view containing a nested table, where each of the TEST items are shown underneath the requirement to which they are linked. Similar techniques can be used to create views that show multiple levels of traceability, with items at each level shown below the higher level items to which they are linked.

The indentation shown in this view is simply to aid readability.

Back to index

 
 
[Copyright © 3SL 2008 | Last Updated: Sat Jul 19th, 2008 ]
Registered office: 2 Highfield Road, Barrow in Furness, Cumbria, LA14 5PA, Registered in England No. 2153654