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.

To show or hide compartments in component diagrams:
  1. Click Window > Preferences.
  2. In the Preferences window, in the Navigator view, click Modeling > Appearance > UML Component.
  3. On the UML Component page, complete one of the following steps:
    • To show the compartments, select the corresponding check boxes.
    • To hide the compartments, clear the corresponding check boxes.
Related concepts
Classifiers
Feedback
(C) Copyright IBM Corporation 2004, 2005. All Rights Reserved.