IBM
Contents Index Previous Next



Managing MSCs


You create MSCs in the MSC Editor. Once an MSC has been created, you may include it into the structure that is managed by the Organizer, in order to take full advantage of the functionality that is provided. MSCs can however be handled as separate entities.

The following operations are described in this section:

Creating an MSC

You can create MSCs in two ways.

Creating an MSC from the MSC Editor

  1. Select New from the File menu. A dialog is displayed.
  2. Enter the diagram name and type and click New.
    The MSC is saved as a separate entity that is not automatically appended to the Organizer structure. You may want to add the MSC to the Organizer in order to provide an instant access to it from the Organizer. See Starting on a New MSC Icon.

Creating an MSC from the Organizer

The procedure is identical to starting the MSC Editor with no existing MSC icon. See Starting on an Existing MSC.

Renaming an MSC

You can change the name of an MSC. The name of an MSC is reflected in the MSC heading.

To change the name, simply edit the heading.

Opening an MSC

You can open an MSC from the MSC Editor or from the Organizer.

Opening an MSC File from the MSC Editor

  1. Select Open from the File menu. A File Selection Dialog is issued.
  2. Select a file and click OK.

You can open binary GR files (*.msc) or textual PR files (*.mpr).

Opening an MSC from the Organizer

  1. Select an MSC in the Organizer.
    • Alternatively, if the MSC is associated with an SDL diagram, you can select the associated MSC link icon (looking like an MSC icon displayed in dashed form, see Figure 332).
  2. Double-click the MSC icon.

Saving an MSC

There are several ways to save an MSC. Either you can save changes made to one specific MSC or all MSCs modified during the current session.

Saving an MSC in the MSC Editor

Saving All MSCs

You can make a global save of all the MSCs that are open in the current session, and that are modified:

Saving an MSC in MSC/PR Format

You can save an MSC in the MSC/PR format. See Generate MSC PR.

Saving a Copy of an MSC

You can save the MSC you are working on into another file. You may either continue working with the original file or with the newly created copy.

Continuing Working with the New Copy

  1. Select Save As from the File menu. A file selection dialog is issued.
    The default file name which is suggested is the same file as the original was stored on, appended with an integer suffix (1, 2,..., N) in order to build up a unique file name.
  2. Click OK. The MSC is copied to the specified file, the file containing the original is closed, and the window from where the save was made remains open for editing the newly created file.

Continuing Working with the Original

  1. Select Save a Copy as from the File menu. A file selection dialog is issued.
    The default file name which is suggested is the same file as the original was stored on, appended with an integer suffix (1, 2,...,N) that guarantees a unique file name.
  2. Click OK. The MSC is saved on the specified file, and the window with the file from where the save was made remains open for editing.

Displaying an Opened MSC

You can display an MSC that is currently opened by the MSC Editor. (The MSC that you would like to see may reside in a window which is not on top of the screen.)

The Diagrams menu shows all MSCs (up to a maximum of the last nine to have been opened). If more than nine MSCs are open, a tenth menu choice, List All, provides access to a list dialog where all MSCs currently opened are listed.


http://www.ibm.com/rational
Contents Index Previous Next