Chapter 4 Extending your Models with Profiles


Menus (Profile)

You can add menus in the PowerDesigner interface and fill them with commands that call method (see Methods (Profile)) or transformations (see Transformations and Transformation Profiles (Profile)).

Menus can be added to the PowerDesigner File, Tools, and Help menus when defined on the model or a diagram metaclass, or on the contextual menus of diagram symbols and browser items. Menus defined on a parent metaclass are inherited by its children. For example, you could generalize a contextual menu by defining it on a parent metaclass like BaseObject.

Steps To create a menu:

  1. Right-click a metaclass, stereotype or criterion and select New→Menu.
  2. Enter a name and comment (and, in the case of model or diagram metaclasses, a location).
  3. Use the tools on the Menu sub-tab to create the items in your menu (see Adding commands and other items to your menu).
  4. Click Apply to save your changes.

 


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