Changing the default for showing attribute and operation compartments

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:
  1. Click Window > Preferences.
  2. In the Preferences window, expand Modeling and expand Appearance, and click UML Classifier.
  3. On the UML Classifier page, clear the Show operations and Show attributes check boxes.
  4. Click OK.
Tip: To override these settings for an individual classifier, right-click it; then click Filters > Show/Hide Compartments.
Related concepts
Attributes
Operations
Related tasks
Setting the default to show parent names
Changing the default visibility style for attributes and operations
Changing the default visibility style for C/C++ stereotypes
Changing the default for extracting C/C++ visualization elements
Changing the default for C/C++ visualization related elements
Terms of use | Feedback
(C) Copyright IBM Corporation 2004, 2005. All Rights Reserved.