The product enables you to generate code and open a text
editor for editing the generated code directly from within an object
model diagram.
Procedure
To generate code for a single class:
- Right-click the class and then select Generate.
- If a directory for the configuration that
the class belongs to has not yet been created, the product asks if
you want to create the directory. The configuration directory is under
the component directory. Click Yes.
- The product creates the configuration directory
and generates the class code to it. An output window opens at the
bottom of the IBM® Rational® Rhapsody® window
for the display of code generation messages.