ibm Rational Rhapsody 7.5 — Adding an element to a file

Elements of a component diagram Specification generates only a specification file. Both specifications and implementations of all elements assigned to this file are generated into this file. Implementation generates only an implementation file. Both specifications and implementations of all elements assigned to this file are generated into this file. Other where one file is generated with the name and extension specified in the Name field. Both specifications and implementations of all elements assigned to this file are generated into the file. Љ Elements lists the elements mapped to a file.

Elements that are not explicitly mapped to files are generated in the default files that Rational Rhapsody would normally generate for these elements in the configuration directory. Љ Environment Settings where Rational Rhapsody fills in the settings from your environment. The fields are as follows: Environment where this read-only field specifies which environment (Microsoft, Solaris2, and so on) is selected for the active configuration. You cannot change the environment for an individual file. Build Set where this read-only field specifies the build setting (Debug or Release mode) for the active configuration. You cannot change the build setting for an individual file.

Compiler Switches specifies the compiler switches for the configuration. Compiler switches default to those used for the configuration, but you can override them for an individual file. Link Switches specifies the link switches used to link the active configuration. You cannot change link switches for an individual file. Љ Description describes the element. This field can include a hyperlink. See Hyperlinks for more information. 4. Click OK . Adding an element to a file To add a package or class to a file: 1. In the window, click Add Element . The Add Elements window opens. The Type box lists the file type you selected in the file Features window.

You can change the file type here if it is not logical. Logical files can contain only logical elements, but other types of files can contain whatever you want. See The Features window for more information. 2. Select the elements that you want to map to the file. Note that selecting a package automatically maps all its classes to the file. 3. Click OK . Rational Rhapsody 853