Model elements Note Remember that these labels do not have any meaning in the generated code and are used only as references to locate elements in diagrams and windows. Removing a label from an element To remove a label from an element: 1. Right-click the selected element in the browser. (You can double-click to display the Features window immediately.) 2. Select Features from the menu. 3. Click the L button next to the Name field to open the Name and Label window. 4. Clear the Label field. 5. Click OK twice. Alternatively, you can set the label to have the same value as the Name. In this case, the label becomes tied to the name.
In this way, any changes made to the element name also affect the label. Label mode Rational Rhapsody differentiates between element names, which are used in the generated code, and element labels, which are just used to represent elements in a user-friendly way within the Rational Rhapsody interface. Ordinarily, you must provide an element name, even if you are providing a label, and the name must satisfy certain criteria, such as not containing spaces or special characters. If you would like to deal exclusively with labels, you can select View > Label Mode . In this work mode, you only have to provide a label for elements.
Rational Rhapsody automatically converts the label to a legal element name, replacing any characters that cannot be used in element names. The text that you entered as the label will be shown in the browser, graphic editor, and the Features window. Note When Label Mode is selected, Rational Rhapsody ignores the radio button selected under Display Name in the Display Options window. Label Mode is a per-user setting. If the project is opened on a different user's computer, it is displayed in normal mode unless that user has selected Label Mode. 330 User Guide