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:
- In the diagram editor, right-click an enumeration
that contains enumeration literals; then click .
- In the Sort/Filter Compartment Items window,
click .
- 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.