Through the part interface, you determine which features of
your part can be connected to other parts in visual composition.
You can also determine which attributes can be given initial
values.
You can define the part interface in the following ways:
- Create a new part based on a class with features you
need. The new part inherits the features of the class it
extends.
- Add new features to a part. You can add features to
extend the inherited feature set, to override inherited
features, or both.
- Promote features of embedded parts to the interface of a
composite part.
- Describe parts and features with part information
statements. This is useful primarily for existing code
that you want to use in visual composition.
VisualAge Component Model
How Classes and Parts Are
Related
About Promoting Part
Features
Generated Code
Defining Part
Interfaces for Visual Composition