Plug-in toolbars

PowerBars and PainterBars

The PowerDesigner View toolbar is named PowerBar2 in the plug-in and the PowerDesigner Repository toolbar is named PowerBar3. A PowerBar is always present by default in a PowerBuilder session, even when a plug-in painter is not open. PainterBars display only when the current PowerBuilder painter is a class diagram.

Table 4-3 shows the names of PowerDesigner toolbars supported by the plug-in and their corresponding names in the PowerBuilder user interface.

Table 4-3: Plug-in names for PowerDesigner toolbars

Plug-in toolbar

Corresponding PowerDesigner toolbar

PainterBar1

Standard

PainterBar2

Diagram

PainterBar3

Palette

PainterBar4

PowerBuilder

PowerBar2

View

PowerBar3

Repository

Figure 4-5 shows the Palette toolbar in the plug-in. Other PowerDesigner toolbars are not currently supported by the PowerDesigner plug-in.

Figure 4-5: PowerDesigner palette toolbar in the plug-in

List of tools in the PowerDesigner palette of the plug-in. The tools are: Pointer, Lasso, Grabber, Zoom In, Zoom Out, Open Diagram, Properties, Delete, Package, Generalization, Association, Aggregation, Dependency, Realization, Inner Link, File, Note, Link/External Dependency, Title, Text, Line, Arc, Rectangle, Ellipse, Rounded Rectangle, Polyline, and Polygon. Class and Interface buttons are grayed in the picture.

Toolbar differences

When you add classes to the class diagram using the plug-in’s PainterBar4 (PowerBuilder) toolbar, default propertes are automatically assigned to the new classes. If you add the same classes using the PowerBuilder toolbar in PowerDesigner, default properties are not assigned.

The plug-in’s PowerBar2 (View) toolbar has an additional toolbar button that opens the Plug-in Options dialog box. These options are available for the plug-in, but not for PowerDesigner. You can also access the Plug-in Options dialog box from the Tools>Plug-in Options menu when a class diagram has focus.