Chapter 4 Extending your Models with Profiles


Adding commands and other items to your menu

You insert items into your menu using the tools in the Menu tab toolbar.

You can reorder items in the menu tree by dragging and dropping them. To place an item inside a submenu item, drop it onto the submenu.

Tool Function

Add Command - Opens a selection dialog box to allow you to add one or more methods or transformations to the menu as commands. This list is limited to methods and transformations defined in the current metaclass and its parents.

When you click OK, each selected method is added to your menu in the format: <Caption> (<Method/Transformation name>).

The caption is the command name that will appear in the menu. You can define a shortcut key in the caption by adding an ampersand before the shortkey letter.

Methods or transformations associated with menu commands are not synchronized with those defined in a metaclass. Thus, if you modify the name or the script of a method or transformation, you should use the Find tool to locate and update all the commands using this method or transformation..

Add Separator -Creates a menu separator under the selected item.

Add Submenu - Creates a submenu under the selected item.

Deletes the selected item.

 


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