
Editing Events
In UML, a state in a state diagram ican
have events that are handled by actions within the state, without ever
leaving the state. Those events and actions appear in a compartment
under the state name compartment:

You can edit an event of a state within a
diagram through the State Detail Page,
or by selecting the event in the model tree.
The Detail Page for an event contains additional controls shown here:

-
Event Type: Use thid dropdown list to select an event
type. UML defines four standard types of state events:
-
Entry:
An event that happens whenever the system enters the state.
-
Do:
This event happens repeatedly as long as the system is in the state.
-
Exit:
An event that happens whenever the system leaves the state.
-
Event: Any other sort of event that happens during the state.
-
Action: This describes some action taken by the system in
response to the event.
Legal Notices
Copyright © 2006 by Martin L. Shoemaker/The Tablet UML Company.