Chapter 16 Working with PowerBuilder
PowerBuilder is a specific language that uses its own generation options. You can generate PowerBuilder objects from the classes of an OOM using the following generation options in the PowerBuilder Generation dialog box:
You can also select the Check Model check box to verify the model before generation and stop generation if an error is found.
You have to select a target or an application from the Target/Application dropdown listbox. The following situations occur during generation:
Generated object | Generation result |
---|---|
Package with specified library path (defined in an extended attribute during reverse engineering) | Generated in corresponding library from target/application library list |
Package at the root of the model without library path | Generated in a new library at the same level as target/application library |
Child package without library path | Generated in parent package |
Object at the root of the model | Generated in the target/application library |
For more information on PowerBuilder reverse engineering, see section Reverse Engineering PowerBuilder.
Note: this mode is not available if you do not have PowerBuilder installed on your machine.
You have to define a generation directory.
Classes defined at the model level are generated as source files in the specified directory.
Classes defined in packages are generated as source files in sub-directories.
You will then have to import the generated objects into PowerBuilder.
To generate objects for PowerBuilder:
Copyright (C) 2005. Sybase Inc. All rights reserved. |
![]() |