Sorting and filtering enumeration literals

In your UML model, you can reduce the complexity, or increase the abstraction level, of your diagrams by sorting and filtering the display of enumeration literals in enumerations.

To see enumeration literals in an enumeration, the enumeration literals compartment must be visible.
You can sort and filter enumeration literals to determine what users see in your model. You can sort the contents of individual compartments by visibility and name. You can also filter the contents of compartments, individually or collectively, by visibility.

To sort and filter enumeration literals:

  1. In the diagram editor, right-click an enumeration that contains enumeration literals; then click Filters > Sort/Filter Compartment Items.
  2. In the Sort/Filter Compartment Items window, click All Compartments > Literal.
  3. On the Literal page, complete one of the following steps:
    • To filter enumeration literals, in the Filter criteria list, click a visibility property that you want to hide, and click the left arrow to add it to the Filter Items Containing list.
    • To sort and filter enumeration literals, in the first column of the sorting table, click the enumeration literals that you want to sort, and click the column headings to sort by visibility and name.

Parent topic: Modifying parameters, literals, and signals in classifiers

Related concepts
Enumerations
Enumeration literals

Terms of use | Feedback
(C) Copyright IBM Corporation 2004, 2005. All Rights Reserved.