Changing the default for showing attribute and operation compartments
In UML visualization, you can change the default so that attribute and operation compartments do not appear when you add classifiers to a class diagram.
Note: These default settings affect only classifiers that you add to a class diagram and do not affect any existing classifiers.
To change the default for showing attribute and operation compartments:
- Click Window > Preferences.
- In the Preferences window, expand Modeling, expand Appearance, and click UML Classifier.
- On the UML Classifier page, clear Show operations clear Show attributes, and click OK.
Tip: To override these settings for an individual classifier, right-click it; then click Filters > Show/Hide Compartments.
Parent topic
Customizing the Java visual design tool
Related concepts
Attributes
Operations
Related tasks
Setting the default for showing parent names
Setting the default for showing operation signatures
Changing the default visibility style for attributes and operations
Defining default Java collection types
Customizing the default Java types to be shown or filtered out in diagrams