Chapter 5 Generating Objects from an OOM

Generating objects for PowerBuilder

You can generate PowerBuilder NVO (non-visual objects) from the classes of an OOM to either of the following:

 

A PowerBuilder application

 

SRU files

 

You can create PowerBuilder user objects only from the classes of the

 

diagram and not from interfaces.

pbl application

You can generate PowerBuilder NVOs from an OOM that you can use

 

directly in PowerBuilder. To generate to a PowerBuilder pbl application, you

 

must have PowerBuilder already installed on your machine.

sru files

You can generate NVOs from the classes in an OOM. A separate file with the

 

extension .sru is created for each of the classes that you select in the OOM.

 

Each file contains a NVO corresponding to the definition of each class in the

 

OOM.

Defining PowerBuilder generation options

You can set the following PowerBuilder generation options:

Option

Check model

PBL

SRU

Result of selection

Checks the model before generation and stops generation if an error is found

PowerBuilder library directory and application into which PowerDesigner generates

Directory in which you generate PowerBuilder non-visual object .sru files

189

Page 199
Image 199
Sybase 7.5 Generating objects for PowerBuilder, Defining PowerBuilder generation options, Pbl application, Sru files, 189