Rational Rhapsody projects Using workspaces Workspaces enable you to work with selected units of a project without having to open the entire model. This feature supports component-based development and collaboration among teams. It also reduces the time required for routine operations, such as saving and code generation, by enabling you to load only the units currently under development. In addition, workspaces save viewing preferences, including window size, position, status of feature windows, and the scaling or zoom factor of open diagrams. Rational Rhapsody automatically saves workspace information in a separate file named .rpw .
Rational Rhapsody saves the .rpw file whenever a project is closed, regardless of whether you save the project itself. Creating a custom Rational Rhapsody workspace 1. Choose File > Open . The Open window displays. 2. In the Look in field, browse to the location of the project, then select the .rpy file. Alternatively, type the name of the project file in the File name field. 3. Select the Without Subunits check box. This prevents Rational Rhapsody from loading any project units. All project units will be loaded as stubs. 4. Click Open . The project file opens with no units loaded. This empty project acts as a starting point for you to create your workspace. 5.
Add units to your workspace to customize it for your needs. Adding units to a workspace 1. Select the unit in the browser. 2. Right-click the unit, then select Load Unit . 3. Select the unit in the browser. 4. Right-click the unit, then select Load Unit with Subunits . Unloaded units Units of your project that have not been loaded into your workspace are marked with the letter “U.” This designation means that the unit is a stub unit, and was either excluded from the project intentionally, or was not found when Rational Rhapsody attempted to load the unit. 262 User Guide