Reference Topics > View options > Class view options - class diagram
Class view options - class diagram
The following view options are available:
Hide Full Name specifies that only the Name of the Class is displayed, that is, the Class Name is not prefixed by any scoping items
These options appear in the Show Members' group:
Signatures - specifies that the signatures of Attributes and Operations are shown:
For Attributes, the signature shows the type of the Attribute. For example: Attribute1 : int.
For Operations, the signature shows the type of the Operation, and the name and type of each Parameter. For example: Operation1 : (in Parameter1 : int) : int
You can use an Attribute's signature to create its Type, and you can use an Operation's signature to create its Parameters and Return Type.
Access Characters - specifies that the shown Attributes and Operations are prefixed by their access characters as determined by their Visibility, that is, + for public, - for private, # for protected and ~ for Package.
Constraints- specifies that when Constraints are applied to shown Attributes or Operations, the Full Text of those Constraints is shown. For example: Attribute1 {full text of applied constraint}
Public check box - when selected, selects the two associated check boxes so that Attributes and Operations that have public access are shown. When cleared, clears the two associated check boxes so that Attributes and Operations that have public access are hidden.
Private check box - when selected, selects the two associated check boxes so that Attributes and Operations that have private access are shown. When cleared, clears the two associated check boxes so that Attributes and Operations that have private access are hidden.
Protected check box - when selected, selects the two associated check boxes so that Attributes and Operations that have protected access are shown. When cleared, clears the two associated check boxes so that Attributes and Operations that have protected access are hidden.
Package check box - when selected, selects the two associated check boxes so that Attributes and Operations that have package access are shown. When cleared, clears the two associated check boxes so that Attributes and Operations that have package access are hidden
Attributes check box - when selected, selects the four associated check boxes so that all Attributes are shown. When cleared, clears the four associated check boxes so that all Attributes are hidden.
Operations check box - when selected, selects the four associated check boxes so that all Operations are shown. When cleared, clears the four associated check boxes so that all Operations are hidden.
The eight unnamed check boxes - specifies which Attributes and Operations are shown and hidden.
These options appear in the Receptions group:
Show check box - specifies that owned Receptions are shown on the Class.
Show Keyword heck box - specifies that the «signal» keyword prefixes Receptions that are shown on the Class.
Name list - specifies whether Reception and received Signal names are shown on the Class:
Show Signal Name- specifies that the name of the received Signal is shown after the colon. For example, '«signal» : Signal1'.
Show Reception Name- specifies that the name of the Reception is shown before the colon. For example, '«signal» Reception1 :'.
Show Reception Name and Signal Name- specifies that the name of the Reception is shown, followed by a colon, followed by the name of the received Signal. For example, '«signal» Reception1 : Signal1'.
If you selected View Options by right-clicking the diagram background, the property values that you modify set the default view options for any Classes that are added to the diagram there after.
If you selected View Options by right-clicking one or more selected Classes, the check boxes you select change the view options of those Classes.