ibm Rational Rhapsody 7.5 — Displaying namespace containment

Implementation of the base classes Property that controls display of namespace containment The display of namespace containment is controlled by the boolean property ObjectModelGe:ClassDiagram:TreeContainmentStyle , which can be set at the diagram, package, or project level. Namespace containment is displayed when the property is set to Checked. The default value of the property is Cleared . However, in the SysML profile the default value of the property is Checked . Displaying namespace containment To display namespace containment in a diagram: 1. Drag the “container” element and the “contained” elements to the diagram. 2.

From the menu, select Layout > Complete Relations > All The hierarchical relationship between the elements will be depicted in the diagram. Alternatively, you can select the Populate Diagram check box when creating a new diagram. If you then select elements that have a hierarchical relationship, the diagram created will display the namespace containment for the elements. Note There is no drawing tool to manually draw this type of relationship on the canvas. Containment relationships between elements can only be displayed automatically based on existing relationships, using one of the methods described above. Rational Rhapsody 619