Using PowerDesigner menu items in PowerBuilder

After you generate and link a PowerBuilder target to an OOM through reverse-engineering, PowerDesigner menu items are enabled in the pop-up menus for objects in that target as described in Table 4-1.

Table 4-1: Items added to PowerBuilder object pop-up menus after plug-in is enabled

Object

Menu item added

Target

Reverse Engineer, Open Class Diagram, Plug-in Attributes

Library

Open Class Diagram

Object

Find in Class Diagram

The Open Class Diagram menu item opens or changes focus to the class diagram for the selected PowerBuilder library. The Find in Class Diagram menu item opens or changes focus to the class diagram for the library containing the selected object, then changes focus to the corresponding class for that object in the class diagram. These menu items cause an error message to display if the target is not linked to an OOM.

You link an OOM to a PowerBuilder target by reverse-engineering the target or by selecting an OOM file in the Plug-in Attributes dialog box. You can open this dialog box from the target pop-up menu or from the Reverse Engineer dialog box.

For more information, see “Reverse-engineering a PowerBuilder target”.

If a linked OOM is not present in the plug-in PowerDesigner browser, selecting the Open Class Diagram or Find in Class Diagram menu item adds the OOM to the Local tab of the browser in addition to opening the class diagram or finding an object in the diagram.