A project consists of elements that define
your model, such as packages, classes and diagrams. The browser displays
these elements in a hierarchical structure that matches the organization
of your model. IBM® Rational® Rhapsody® uses
these elements to generate code for your final application.
A Rational Rhapsody project
has the following top-level elements:
- Components contain configurations and files
and also hold the variants for different software product lines.
- Packages and profiles packages contain other
packages, components, actors, use cases, classes (C++/J), object types,
events, types (C/C++), functions (C,C++), objects, dependencies, constraints,
variables, sequence diagrams, object model diagrams, collaboration
diagrams, use-case diagrams, and deployment diagrams. A profile "hosts"
domain-specific tags and stereotypes.
- UML diagrams For example, use case, object
model, sequence, collaboration, component, and deployment diagrams.
IBM Rational Rhapsody Developer for C and IBM Rational Rhapsody Developer for C++ classes
and their instances are replaced by C equivalent object types and
objects. Similarly, class constructors and destructors are replaced
by initializers and cleanup operations.
In the browser, you can add new elements to the
model either from the Edit menu or from the pop-up menu. The location
you select in the browser hierarchy determines which model elements
you can add. The new element is added in the scope of the current
selection.
- Select the project folder or a package, then select .
- Right-click the project folder or a package and
then select .
Note: If the browser is filtered, you can add only
elements that appear in the current view.