You can change the default so that attribute and operation
compartments do not appear when you add classifiers to a class diagram.
You must be in the C/C++ perspective.
Note: These default settings affect only new classifiers
that you add to a class diagram and do not affect existing classifiers.
To change the default for showing attribute and operation
compartments:
- Click .
- In the Preferences window, expand Modeling and
expand Appearance, and click UML
Classifier.
- On the UML Classifier page, clear
the Show operations and Show attributes check
boxes.
- Click OK.
Tip: To override these settings for an individual
classifier, right-click it; then click .