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

Push Buttons -- Part Interface Editor

Use push buttons to add, update, and remove features in the Part Interface Editor.

The following push buttons are available on the Attribute, Event, and Action tabs:

The following push buttons are available on the Promote tab:

The following push buttons are available on the Preferred tab:

Edit -- Attribute, Event, and Action Tabs

Use the Edit push button to modify the feature description in the Description field.


Related references
Attribute
Event
Action

Add with Defaults -- Attribute, Event, and Action Tabs

Use the Add with defaults push button to add the specified feature to the part interface with default values. This push button performs the functions of both the Defaults and Add push buttons. If you are using nondefault values for any fields other than the feature name, use the Add push button instead of Add with defaults.


Related references
Defaults -- Attribute, Event, and Action Tabs
Add -- Attribute, Event, and Action Tabs
Attribute
Event
Action

Add -- Attribute, Event, and Action Tabs

Use the Add push button to add the specified feature to the part interface. Be sure you have specified all fields you want before selecting Add.

Entering information or selecting the Defaults push button does not automatically add a feature. You must select Add or Add with defaults to add the feature to the interface.


Related references
Attribute
Event
Action

Update -- Attribute, Event, and Action Tabs

Use the Update push button to apply changes to an existing feature.

Entering information or selecting the Defaults push button does not automatically update a feature. You must select Update to apply your changes.


Related references
Attribute
Event
Action

Delete -- Attribute, Event, and Action Tabs

Use the Delete push button to remove the feature from the part interface.


Related references
Attribute
Event
Action

Defaults -- Attribute, Event, and Action Tabs

Use the Defaults push button to have VisualAge insert default values in the following fields:

Selecting the defaults for a feature does not add or update the feature. You must select Add, Add with defaults, or Update to change the part.


Related references
Attribute
Event
Action

Clear -- Attribute, Event, and Action Tabs

Use the Clear push button to remove all information from the feature input fields.


Related references
Attribute
Event
Action

Add with Defaults -- Promote Tab

Use the Add with defaults push button to promote a selected feature to the part interface using a default feature name. This push button performs the functions of both the Defaults and Add push buttons. If you have entered a feature name that you want, use the Add push button instead of Add with defaults.


Related references
Defaults -- Promote Tab
Add -- Promote Tab
Promote

Add -- Promote Tab

Use the Add push button to promote a selected feature to the part interface. Be sure you have specified all fields you want before selecting Add.


Related references
Promote

Update -- Promote Tab

Use the Update push button to map a previously promoted feature to a different promotable feature. For example, suppose that you have a set of embedded push buttons, and that you have defined one as the default push button. Suppose also that you have promoted the buttonClickEvent feature of the default button as defaultButtonSelected. If you change the buttons to specify a different default button, you can map the defaultButtonSelected event to the new default button as follows:

  1. Select the new default button in the Subpart name list box.
  2. Select defaultButtonSelected in the Promoted features list box.
  3. Select event in the Feature type list box.
  4. Select buttonClickEvent for the new default button in the Promotable feature list box.
  5. Select Update.


Related references
Promote Feature Name


Related references
Promote

Delete -- Promote Tab

Use the Delete push button to remove a promoted feature from the part interface. To delete a feature, select the feature name from the list and then select the Delete push button.


Related references
Promote

Defaults -- Promote Tab

Use the Defaults push button to have VisualAge insert a default feature name in the Promote feature name field. You must select Add to promote the feature to the interface.

The default name consists of the selected part name followed by the selected feature name. For example, suppose you have a part that contains a Canvas part and you want to promote the capturePointer action of the Canvas part. If you select canvas, action, and capturePointer in the Subpart name, Feature type, and Promotable feature fields, respectively, and then select Add with defaults, VisualAge inserts canvasCapturePointer in the Promote feature name entry field and in the Promoted features list box. The action is added to the part interface so that you can connect it to a feature of another part.


Related references
Promote

Clear -- Promote Tab

Use the Clear push button to remove all information from the Feature type and Promotable feature list boxes.

Add -- Preferred Tab

Use the Add push button to add a selected feature to the list in the Preferred Features list box. If you do not select a feature in the Actions, Attributes, or Events list boxes, the Add push button is not available.


Related references
Preferred

Remove -- Preferred Tab

Use the Remove push button to remove a selected feature from the list in the Preferred Features list box. If you do not select a feature in the Preferred Features list box, the Remove push button is not available.


Related references
Preferred

Remove All -- Preferred Tab

Use the Remove all push button to remove all features from the list in the Preferred Features list box.


Related references
Preferred