ibm Rational Rhapsody 7.5 — Renaming elements

Model elements Copying elements To copy elements, use any of the following methods: Љ You can copy all elements within the browser by dragging-and-dropping. Љ To copy an element, press the Ctrl key while dragging the element onto the new owner. See Smart drag-and-drop . Copying an element into the same namespace, such as within its own package, creates a copy with the suffix _copy appended to its name. For example, copying a class Sensor into the same package as the original creates a class named Sensor_copy . Subsequent copies have a suffix of _copy_ , where is an incremental integer starting with 0. Copying an element into a different namespace creates a copy with exactly the same name.

Renaming elements Renaming requires a valid name that does not already exist. An appropriate message is displayed if either condition is not met, and the name reverts to its previous value. There are two methods for renaming elements. You can edit the Name box of the Features window or you can edit the name directly in the browser. 1. Click once on the element name to select it. 2. Click once again to open the name field for editing. An edit box opens with the name selected, as shown in the following example. 3. Edit the name and press Enter , or click once outside the edit field to complete the change. The other method you might use is the Features window. 1.

Open the Features window for the element. 2. Type the new name in the Name box. 3. Click Apply , or anywhere outside of the Features window, to apply the new name. 4. Click OK . Note Do not use this method to rename the project. 332 User Guide