Chapter 3 Building Structural Diagrams


Creating a new annotation type

You can create new annotation types to attach to your objects.

Steps To create a new annotation type:

  1. Create a class and then double-click it to access its property sheet.
  2. On the General tab, in the Stereotype list:

  3. Click the Attributes tab, and add an attribute for each parameter accepted by the annotation type.
  4. [optional] Click the Preview tab to review the code to be generated for the annotation type:
  5. Click OK to return to the diagram. The annotation type will be represented as follows:

 


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