IBM Support

How to report on Action Pins in Context Tables

How To


Summary

When one creates a table in Rhapsody using context patterns, they show action pins as being owned by Activity Diagrams, rather than the actions that own them as in the browser

Reason for this is that State chart, Flow chart, and Activity are ‘graphical owners’ and called ‘parent’, which is different than the model owner.

So how to report on action pins?

You can use java code in the table to get this info.


Example:


In User-defined implementation:


Signature: IRPModelElement get_UserDefinedImplementation(IRPModelElement cellElement, Integer row, Integer column)


Code:

IRPPin pin = (IRPPin)cellElement;


return pin.getParent();


See example ActivityPin.sbsx.zip.
Extract, unzip and File>Add to Model the package and see the corresponding view and layout.

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSB2MU","label":"IBM Engineering Systems Design Rhapsody"},"ARM Category":[{"code":"a8m50000000CjEZAA0","label":"Rhapsody-\u003EUsability-\u003ETable\/Matrix"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
03 July 2023

UID

ibm17009347