Rational Software Corp.

TOC PREV NEXT INDEX



Creating a New Stereotype Configuration File

Creating a New Stereotype Configuration File

The stereotypes in Rational Rose must be defined in a stereotype configuration file. Rational Rose is delivered with a default stereotype configuration file, called DefaultStereotypes.ini. If possible, add your stereotypes to that file. If you do not want to use that file, follow these steps to create a new stereotype configuration file:

1 Close Rational Rose.

2 Create a text file (called, for example, MyStereotypes.ini) using Notepad or another text editor, and save it in the Rose installation folder.

3 Edit the new stereotype configuration file. For information on how to create a new stereotype and add it to a stereotype configuration file, please refer to Creating a New Stereotype for the Current Model on page 183.

4 Run the Windows Registry Editor (regedit.exe) by clicking Run on the Start menu. Type regedit and click OK.

5 Locate and select the section entitled [HKEY_LOCAL_MACHINE\SOFTWARE\Rational Software\RoseStereotypeCfgFiles] in the registry list.

6 Click Edit > New > String Value. Give the new registry key the name file#, where # is the next consecutive number (1, 2, or 3, etc.).

7 Double-click the new key, and enter the name of your configuration file (for example, MyStereotypes.ini).

8 Close the registry.

    Next time you open a model in Rational Rose, the stereotypes defined in your new stereotype configuration file will be available in the model.


Rational Software Corporation  http://www.rational.com
support@rational.com
docs@us.ibm.com
Copyright © 1993-2000, Rational Software Corporation. All rights reserved.
TOC PREV NEXT INDEX