21.07.2013 Views

Learning Technology FrameWork.pdf

Learning Technology FrameWork.pdf

Learning Technology FrameWork.pdf

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Creating the diagram<br />

Lesson 7: Creating a Statechart Diagram<br />

108<br />

In this lesson, you’ll build a statechart diagram for objects in the<br />

Applicant class you created in Lesson 5, “Creating a Java Class<br />

Diagram.” Your statechart diagram will show the sequence of<br />

states a job applicant goes through within your hiring system.<br />

Specifically, it will show the changes of state during a screening<br />

process that concludes with an applicant being rejected or hired or<br />

not accepting an offer that is made.<br />

You’ll create your statechart diagram as a subdiagram of the<br />

Applicant class. That way, you’ll be able to open the diagram by<br />

double-clicking on Applicant in your Employee Hiring Classes<br />

diagram.<br />

What you do To build your statechart diagram:<br />

1 Open the Employee Hiring Classes diagram if it’s not open<br />

already.<br />

2 With your <strong>Learning</strong> <strong>FrameWork</strong> folder highlighted, click right<br />

on the Applicant class to open its popup menu. Then select New<br />

Subdiagram and More.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!