Component diagrams Adding text to a file To add a text element to a file: 1. In the file Features window, click Add Text . The File Text Element window opens. 2. If wanted, edit the default name of the text element in the Name field. 3. In the Text Element field, type the text you want to add to the file. For example, you can add #ifdef statements or #define statements, headers and footers, or additional comments. 4. In the Description field, enter a description of the text element. 5. Click OK . Deleting an element from a file To delete an element from a file: 1. In the file Features window, select the element to delete. 2. Click Delete .
Rational Rhapsody asks you to confirm that you want to remove the element from the file. 3. Click Yes to delete the element. Editing an element To edit an element in a file: 1. In the file Features window, select the element you want to edit. 2. Click Edit . The File Text Element window opens. 3. Make the appropriate changes. 4. Click OK . Rearranging elements in a file You have explicit control over the order in which elements are generated in files. Moving an element up or down in the list means that it will be generated earlier or later in the file. To rearrange elements in a file: 1. In the file Features window, select the element you want to move. 2.
Click Up to generate the element earlier in the file, or Down to generate the element later in the file. 854 User Guide