In UML diagrams, you can specify whether or not to display the compartments in classifiers. You can choose to display all of the compartments in a classifier or display only selected compartments.
You can show or hide the compartments for a specific diagram or all diagrams.
Showing or hiding the attributes and operations compartments in all diagrams
In UML diagrams, you can change the default settings to show or hide the attributes and operations compartments in all the classifiers that you add. If you change these settings, they apply only to new classifiers.Showing or hiding the compartments in specific diagrams
In UML diagrams, you can show or hide the compartments for individual classifiers, or for groups of classifiers.Showing or hiding compartments in all component diagrams
You can change the default settings to show or hide the compartments in all the components that you add to diagrams. If you change these settings, they apply only to new components.
Parent topic: Managing attributes and operations in classifiers
Parent topic: Modeling the component and services view of an application
Related concepts
Attributes
Operations
Classifiers