21.07.2013 Views

Learning Technology FrameWork.pdf

Learning Technology FrameWork.pdf

Learning Technology FrameWork.pdf

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Renaming the association ends<br />

Lesson 5: Creating a Java Class Diagram<br />

78<br />

As you can see, the role names of the association ends you created<br />

do little to describe the relationship that exists between people and<br />

cities. You’ll want to rename the associations ends to emphasize<br />

the fact that cities are where people live.<br />

What you do To rename the association ends:<br />

1 Click once on the role name city. Then click again to open its<br />

edit box.<br />

Tip Even though you’re clicking twice in succession, this is not<br />

a double-click. Be sure to pause between clicks. Otherwise,<br />

<strong>FrameWork</strong> will interpret them as a double-click and display a<br />

message telling you there is no diagram anchored to the object<br />

(that is, the object has no subdiagrams).<br />

2 Rename the association end home city. Then click on the<br />

window background to close the edit box.<br />

3 Using the procedure in steps 1 and 2, change the role name of<br />

the person association end to residents.<br />

Your diagram should now look like this:<br />

Tip<br />

To fit the name of the home city association end on a single<br />

line, select it and use the selection handles to resize its anchor.

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

Saved successfully!

Ooh no, something went wrong!