Using the Matrix 'X in Cell' menu command you notice it is disabled and results in no change to the intersection cell type in Rational System Architect

Technote (troubleshooting)


Problem(Abstract)

Attempts to use the "Matrix > 'X in Cell'" menu command you notice it is disabled (greyed out), hence blocking you from switching your Matrix Intersection Cell type between 'X' and 'Text' in IBM Rational System Architect (SA).

Symptom

The "Matrix > 'X in Cell'" menu command is greyed out. When viewing the matrix the Intersection Cell Type is 'X in Cell' and only shows an X in the intersection cell.

In the following screen shot, the menu is highlighted by the red ellipse we have drawn and the Matrix Intersection Cell is highlighted by the red circle we have drawn.


Cause

Your definition for the intersection does not have a 'PROPERTY "Description"' defined to hold the text.

Resolving the problem

To have a matrix with text in the intersection cells and also enabling the "Matrix > X in Cell" menu command, you need to follow these steps:

  1. Create a cell definition in your USRPROPS.txt file whose description would hold that text.

  2. Specify the intersection cell (that has the description property) in the matrix designer.

The steps above are further explained as follows:

  1. Create a cell definition whose description for the intersection would hold some text.
    In the cell you can Enter any text string or Enter an item from a list.

      1. To enter any string of text in the intersection then you can use the following code in your USRPROPS.txt file:


        RENAME DEFINITION "user 1" to "Process/Function"

        DEFINITION "Process/Function"
        {
          LAYOUT { COLS 2 ALIGN OVER }
          PROPERTY "RowDefinition"
          { KEY EDIT OneOf "Process" RELATE BY "is part of" LABEL "Process" ReadOnly }

          PROPERTY "ColumnDefinition"
          { KEY EDIT OneOf "Function" RELATE BY "is part of" LABEL "Function"}

          PROPERTY "Description"
          { EDIT Text LENGTH 255}

          PROPERTY "Intersection?"
          { EDIT Boolean LENGTH 1 READONLY DEFAULT "F"}
        }




      2. To select the text from a drop down list in the intersection, you can use the following in your USRPROPS.txt file:


        LIST "A"
        {
          value "A"
          value "B"
          value "C"
          value "D"
        }

        RENAME DEFINITION "user 1" to "Process/Function"
        DEFINITION "Process/Function"
        {
          LAYOUT { COLS 2 ALIGN OVER }
          PROPERTY "RowDefinition"
          { KEY EDIT OneOf "Process" RELATE BY "is part of" LABEL "Process" ReadOnly }

          PROPERTY "ColumnDefinition"
          { KEY EDIT OneOf "Function" RELATE BY "is part of" LABEL "Function"}

          PROPERTY "Description"
          { Edit Text ListOnly List "A" HELP "Appears in the cell of a matrix" }

          PROPERTY "Intersection?"
          { EDIT Boolean LENGTH 1 READONLY DEFAULT "F"}
        }




  2. To specify the intersection cell (that has the description property) in the matrix designer, select the Cell Name as we have highlighted here by the red ellipse drawn in this screen shot.





Notes:
  • You will notice that once the "Matrix > 'X in Cell'" menu command is enabled, you will be able to use it to switch the viewed Matrix Intersection Cell back and forth between 'X' to 'text' or 'text' to 'X'.
  • Both the PROCESS and the FUNCTION definitions used in the above examples are built-in definition types. You can use your own or other built-ins.
  • You can use and modify any of the above examples to suit your own requirements.
  • Further matrix information can be found in the help pages, in section: Working with the Matrix Editors. This describes the different matrix types you can define, design and edit.

Related information

Operational Activity versus ICOM Arrow Matrix

Rate this page:

(0 users)Average rating

Document information


More support for:

Rational System Architect
General Information

Software version:

11.4, 11.4.0.1, 11.4.0.2, 11.4.0.3, 11.4.1, 11.4.1.1, 11.4.1.2, 11.4.2, 11.4.2.1, 11.4.2.2, 11.4.2.3

Operating system(s):

Windows

Reference #:

1636678

Modified date:

2014-03-31

Translate my page

Machine Translation

Content navigation