Go to Glossary Search VisualAge C++ Help Go to VisualAge C++ Help Home Page Go to WWW VisualAge C++ Site

Promote

The Promote tab lists the names of all parts within a composite part, and their promotable attributes, actions, and events.

Use the fields on the Promote tab to add features of an embedded part to the interface of the composite part. An embedded part is a part you have added to the composite part.

Alternatively, you can select Promote part feature from the pop-up menu for a part in the Composition Editor.

Use the following fields to promote features:


Related procedures
About Promoting Part Features

Related references
Push Buttons -- Part Interface Editor
Part Interface Editor
Visual Composition Messages

Promote Feature Name

Use the Promote feature name field to specify the name that the promoted feature is to be given in the composite part, or use the default name provided by the Defaults or Add with defaults push button. The feature name can contain only single-byte alphanumeric characters and blanks.

Before you specify a feature name, select the feature you are promoting. Do this by selecting choices in the following fields:

  1. Subpart name--the embedded part
  2. Feature type--the feature type
  3. Promotable feature--the feature you are promoting

Subpart Name

Use the Subpart name list box to select the part whose feature you want to promote.

Feature Type

Use the Feature type list box to select which type of feature (attribute, action, or event) you want to promote for the part you specified.

Promotable Feature

Use the Promotable feature list box to select the feature that you want to promote.

Promoted Features

The Promoted features list box lists features that have been promoted to the interface of the composite part. You can use the Update push button to map a promoted feature to a different promotable feature. You can use the Delete button to remove a promoted feature from the composite part interface.