In Figure 14-1, we modeled the phases of a project with a state chart. Use the state pattern by making each of these phases a different class. Use the project management activities introduced in this chapter to make them public operations on these classes. Assume a team-based project organization.

Figure 14-1 depicts a sample solution to this exercise. The ProjectPhase class defines operation for each project
management activity class. Each concrete state class (one per phase) defines operations for those operations that it
can handle. All other operations are implemented so that they trigger a change of state. The context is stored in the
Project class.


Computer Science & Information Technology

You might also like to view...

To add an item to a stack, we call the ______ function

a. pop b. top c. push d. empty

Computer Science & Information Technology

Describe a shell variable.

What will be an ideal response?

Computer Science & Information Technology

You can use a(n) ____________________ to connect to the Internet in a Windows, Web, or VSTO application.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

The figure shown above shows the ________.

A. Quick Access Toolbar B. Mini toolbar C. ribbon D. Clipboard

Computer Science & Information Technology