Listing 9 shows the complete action class code, not just the segment that changes the project description, so we can learn about some utility methods created for the second revision of the plugin.
Some common examples of events are found in user interface applications where a user action such as clicking a button causes a segment of code to execute.