|
|
|
|
|
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:
Use the Edit push button to modify the feature description in the Description field.
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.
Defaults -- Attribute, Event,
and Action Tabs
Add -- Attribute, Event, and
Action Tabs
Attribute
Event
Action
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.
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.
Use the Delete push button to remove the feature from the part interface.
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.
Use the Clear push button to remove all information from the feature input fields.
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.
Defaults -- Promote Tab
Add -- Promote Tab
Promote
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.
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:
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.
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.
Use the Clear push button to remove all information from the Feature type and Promotable feature list boxes.
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.
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.
Use the Remove all push button to remove all features from the list in the Preferred Features list box.
