Use the Features window for a reception to change the features of a reception, including its type and the event to which the reception reacts.
About this task
On the General tab of the Features window for a reception, you define the general features for the reception through the various controls on the tab. Notice that the signature for the reception is displayed at the top of the General tab of the Features window.
- In the Name box you specify the name of the reception. The default name is event_n, where n is an incremental integer starting with 0. To enter a detailed description of the reception, use the Description tab.
- If the Name box is inaccessible, click the L button to open the Name and Label window to change the name, if any. For information about creating labels, see Assign descriptive labels to elements.
- In the Stereotype list you specify the stereotype of the attribute, if any.
- In the Visibility list you specify the visibility of the reception (Public, Protected, or Private), if available.
- In the Type list box you specify the operation type. For receptions, this box is set to Reception.
- In the Event list you specify the event to which the reception reacts. To view or modify the features of the event itself, click the Invoke Feature Dialog button
.
When you cannot delete receptions
You cannot delete receptions in the following cases:
- The reception is used by the statechart of the class.
- The reception is used by a derived statechart of a class that does not have its own reception.