View this PageEdit this Page (locked)Attachments to this PageHistory of this PageHomeRecent ChangesSearch the SwikiHelp Guide
Hotspots: Admin Pages | Turn-in Site |
Current Links: Cases Final Project Summer 2007

Task 2

<Name>Hierarchy</Name>
<Description>View the Class Hierarchy for a Particular Class</Description>
<Keywords><size>2</size><1>class</1><2>hierarchy</2></Keywords>
<Steps><size>7</size>
<1>
	<Text>Open the world menu by clicking on the desktop background</Text>
	<Showme>worldMenu := DemoEngineLib openWorldMenu. worldMenu position: 100@100; stayUp: true.</Showme>
	<Check>testing</Check>
</1>
<2>
	<Text>Choose 'open' from the world menu</Text>
	<Showme>worldMenu := (DemoEngineLib getOpenWorldMenus) at: 1. 6 timesRepeat: [worldMenu moveSelectionDown: 1 event: ActiveEvent. DemoEngineLib wait: 150.]. DemoEngineLib wait: 1000. (worldMenu submorphs at: 11) doButtonAction. worldMenu stayUp: false; deleteIfPopUp. openMenu := DemoEngineLib getOpenWorldMenus at: 1. openMenu position: 100@100; stayUp: true.</Showme>
	<Check>testing</Check>
</2>
<3>
	<Text>Choose 'browser' from the open menu</Text>
	<Showme>openMenu := (DemoEngineLib getOpenWorldMenus) at: 1. (openMenu submorphs at: 2) doButtonAction. openMenu stayUp: false; deleteIfPopUp.</Showme>
	<Check>testing</Check>
</3>
<4>
	<Text>Choose the class category in the left pane</Text>
	<Showme>browser := (DemoEngineLib getOpenSystemWindowsByLabel: 'System Browser') at: 1. browserModel := browser model. browserModel selectCategoryForClass: Guide.</Showme>
	<Check>testing</Check>
</4>
<5>
	<Text>Choose the class in the left-of-middle pane</Text>
	<Showme>browser := (DemoEngineLib getOpenSystemWindowsByLabel: 'System Browser') at: 1. browserModel := browser model. browserModel selectClass: Guide.</Showme>
	<Check>testing</Check>
</5>
<6>
	<Text>Click on 'hierarchy' from the central horizontal button list</Text>
	<Showme>browser := (DemoEngineLib getOpenSystemWindowsByLabel: 'System Browser') at: 1. browserModel := browser model. browserModel spawnHierarchy. hierarchy := (DemoEngineLib getOpenSystemWindowsByLabel: 'Hierarchy Browser') at: 1.</Showme>
	<Check>testing</Check>
</6>
<7>
	<Text>Peruse class hierarchy at your leisure</Text>
	<Showme>testing</Showme>
	<Check>testing</Check>
</7>
</Steps>


Link to this Page