Sorting model elements

About this task

If your IBM® Rational® Rhapsody® ReporterPLUS template is not already open, follow the instructions in Starting Rational Rhapsody ReporterPLUS.

To sort diagrams and classes by name, follow these steps:

Procedure

  1. In the template view, click the Package iteration node (the first iteration node, labeled ‘From class "Model"…'). Be sure to select the iteration node, not the iteration subnode.
  2. Click the Sort tab.
  3. Click Add key.
  4. Click the browse button next to the Attribute field to display a list of attributes.
  5. Select name from the list, then click OK. Because you want the sort to be alphanumeric, ascending, and case sensitive, do not need to select any of the check boxes.
  6. Click OK, and then click Apply.
  7. Click the classes iteration node in the template view and repeat 2 6.

Results

You can generate a Microsoft Word document now to check the sort order, or you can wait until after you add a condition and then generate.


Feedback