You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

When you specify a scope for the row or a column, you can choose from one of the following options:

  • Containment
  • Structure
  • Custom

The simple way to define the row/column scope is to drag the needed package or element onto the scope field or choose them from the Element Selection dialog. In this case, the Containment option is selected.

For more advanced cases you can choose the Structure or Custom options.

By selecting Structure, you can build a custom tree-like view for the rows and columns of the matrix. Currently it is possible to build a tree hierarchy by specifying your own criteria. You can select the predefined Structure criteria which builds the same hierarchy as in the Structure Tree in Model Browser.

Select Custom, if you need to collect elements that are not necessarily owned by the same package, you can specify the query in the Row/Column Query dialog, and see the results added to it immediately.

An example of the Row Query dialog

To specify the row/column scope




Do one of the following:


  • In the Model Browser, select one or more elements which types you wish to see on your matrix and drag them to the Row/Column Scope box in the Criteria area.


  • For the multiple selection Press and hold Shift or Ctrl.
  • If you want to add additional elements, press and hold Ctrl while dragging the elements to the Row/Column Scope box.


  • Click the  button next to the Row/Column Scope box and in the opened dialog select what element types you wish to see on your matrix. Click OK.


  • Open the matrix Specification window, click the Row/Column Scope property value cell, then click the  button, and in the opened dialog select what element types you wish to see on your matrix. Click Close.


To specify the row/column scope query


  1. Click the Specify Row/Column Query icon in the Row/Column Scope field.
  2. In the Row/Column Query dialog, select one of the following:
    • Containment. Select if you want that the row/column elements would be displayed as in the Containment tree. Owned elements will be collected recursively starting from the elements specified as scope values.
    • Structure. Select if you want that the row/column elements would be displayed as in the Structure tree. This option is available only when the SysML Plugin is installed.
    • Custom. Select if you want to make your own adjustments. Select the Build Hierarchy check box to recursively execute the specified expression for building multilevel hierarchy starting from the scope as the root.

      If you have selected Customspecify the expression.

  3. Click OK.