Chapter 4 Managing Profiles


Creating a stereotype

You create one or several stereotypes for a given metaclass. You cannot create a stereotype within another stereotype or within a criterion.

Steps To create a stereotype:

  1. Right-click a metaclass and select New→Stereotype in the contextual menu.

    A new stereotype is created with a default name.
  2. Type a stereotype name in the Name box.
  3. (optional) Select a parent stereotype in the Parent list.
  4. (optional) Select the Use as metaclass check box if you want to create a sub-classification within the current metaclass.
  5. (optional) Define an icon for the stereotype using the Browse for icon and tool cursor file tool.
  6. (optional) Select the Palette Custom Tool check box to associate a tool to the stereotype, this tool corresponds to the selected icon.
  7. (optional) Type a default name in the Default Name box if you want to create a naming template for objects with current stereotype.


    Once you have created the stereotype, you can define extensions like a custom tool, or custom checks for the stereotype. These extensions will apply to the metaclass instances with the stereotype.

 


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