Ultra Light Client Guide and Reference


Enabling reuse with ULC composite parts

Composite ULC parts are visual parts that can be stored in the library for later use in other windows. They are much like standard ULC visual parts except that their topmost widget is not a shell, but a cell-like widget that looks and feels much like a FormView from the standard Composition Editor. Building a composite part really means building a reusable ULC widget that can be used in any other ULC visual part (both in other composites and shells).

To create a ULC composite part from the VisualAge Organizer's New Part window, simply choose ULC Composite Visual Part from the Part type list. You will see that the superclass of the part switches to UlcCompositeView. From there, building a ULC composite part is no different than building a ULC visual part. All features and parts that can be used in shell-based parts can also be used in composite parts. Any restrictions that apply to shells also apply to composite parts.

For an example, see the name example shown in Working with Form Model parts.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]