Creating packages

An IBM® Rational® Rhapsody® project must contain at least one package.

Procedure

  1. Right-click the project or the package category, then select Add New > Package.
  2. Edit the name of the package using the package label in the browser.
  3. Double-click the new package to open the Features window.
  4. Select a stereotype for the package (if necessary) from the Stereotype list.
  5. Select an object model or use case diagram as the main diagram for a package from the Main Diagram list.
  6. Enter a description for the package in the Description box.

    In the generated code, this text becomes a comment located after the #define statements and before the #include statements at the top of the .h file for the package.

Feedback