A Comment is a UML element used to specify various remarks of an element in the model. In the diagram palette, the Comment command appears under the Note command. You can display text in the Comment as plain or HTML text.
You can format the Comment's symbol properties in the Symbol Properties dialog.
You can specify a Comment in the Comment's Specification window, which also displays the description of each Comment property in the description area of the Specification window.
To create a comment in the element's Specification window
To switch a comment to HTML or Plain Text
Do one of the following:
You can edit the HTML text in the comment using the HTML editor. |
To display an anchored element documentation in a comment
You can enable the Retrieve Documentation option only if you already have documentation in the Comment's Specification window. Read the first set of instructions on this page to see how to create the comment in the element's Specification window. |
You can edit element documentation directly on the Comment symbol. |
To display constraints and tagged values on a comment symbol
You can also display owner and stereotype on the Comment symbol. |
To choose which constraints, or tagged values, to display on a comment symbol