Sorting compartment items by visibility while filtering by selection

You can sort compartment items in ascending or descending alphabetical order based on their visibility types while filtering them by selecting them manually.

You can sort compartment items by visibility only when a compartment has at least two items with public, protected, private visibility types.
To sort compartment items by visibility while filtering by selection:
  1. In the diagram editor, right-click a shape; then click Filters > Sort/Filter Compartment Items.
  2. In the Sort/Filter Compartment Items window, click a compartment.
  3. In the table, click the Visibility column heading.
  4. Select or clear the check boxes for each compartment item that you want to make visible or not and click Apply.
  5. Click OK.
Related concepts
UML shapes
Classes
Visibility attributes in UML diagrams
Related tasks
Sorting compartment items by visibility
Sorting compartment items by name
Sorting attributes by type
Sorting operations by return type
Feedback
(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.