Define action features to represent part behaviors or
functions that you want other parts to have access to.
Add each new action on the Action tab as follows:
- Enter a name in the Action name entry field.
- If you want to add the action with default values for all
fields, select Add with defaults. The action is
added to the part interface and to the Action name
list.
- If you do not add the action with default values for all
fields, do the following:
- Select Defaults to have VisualAge produce
default values for the following fields:
- Action member function
- Return type
- If you want to change the default action member
function signature, edit the Action member
function value. The action member function
performs the action for connections.
- If you do not want the action member function
return value to be available for connections,
clear the Return type field. If you change
the return type, be sure that it is compatible
with the action member function signature. The
return value is connectable through the actionResult
event.
- If you want a text description of the action,
either enter text in the Description field
or select Edit to specify a resource ID
for translatable text. This description appears
when you select the action in the Feature
Implementation Browser window.
- If you want to hide the action from the part
connection list, select No for the Connectable
field in the Constraints group.
- If you want to prevent definition of the action
for some system platforms, select relevant check
boxes in the Platform constraints group.
- Select Add to add the action to the part
interface. The action is also added to the Action
name list.
- Select Clear to clear the input fields before
adding the next action.
When you have finished adding features to the part interface,
select Save from the File menu to save the part.
Naming Guidelines
for Parts and Their Features
Specifying Hidden Features
Adding Attribute Features
Adding Event Features
Adding Features to the Part
Interface
Part Interface Editor