Chapter 4 Extending your Models with Profiles


Attaching a new extended model definition to the model

In your workspace, you already have created an OOM with a use case diagram containing an actor and 3 use cases.

You have to create a new extended model definition and import it into the current model before starting the profile definition.

Steps To attach an extended model definition to the model:

  1. Select Tools→Resources→Extended Model Definitions→Object-Oriented Model.

    The List of Extended Model Definitions for an OOM is displayed.
  2. Click the New tool in the list toolbar.

    The New Extended Model Definition dialog box is displayed.
  3. Type Robustness_Extension in the Name box.
  4. Keep <Default Template> in the Copy From box.
  5. Click OK.

    A standard Save As dialog box is displayed. By default the file name is identical to the name of the extended model definition.
  6. Click Save.

    The Extended Model Definition editor is displayed.
  7. Clear the Complement Language Generation check box.

    This extended model definition does not belong to any object language family and will not be used to complement any object language generation.
  8. Click OK to close the Extended Model Definition editor.
  9. Click Close in the List of Extended Model Definitions.

    A Confirmation box asks you to save the extended model definition file.
  10. Click Yes.
  11. Select Model→Extended Model Definitions.

    The List of Extended Model Definitions is displayed.
  12. Click the Import an Extended Model Definition tool in the List toolbar.

    The Extended Model Definition Selection dialog box is displayed.
  13. Click the General Purpose tab and select the Robustness_Extension check box.
  14. Click OK, the extended model definition is displayed in the List of Extended Model Definitions.
  15. Click OK in the list.
  16. Right-click the model in the Browser, and select New→Communication Diagram in the contextual menu.

    The diagram property sheet is displayed.
  17. Type Robustness Diagram in the name box and click OK in the property sheet.

 


Copyright (C) 2008. Sybase Inc. All rights reserved.