






Hotspots: Admin Pages | Turn-in Site |
Current Links: Case Final Project Summer 2007
How to view specific composites
Viewing Your Composites:
Let's say you have two composites, c1 and c2.
You will have two different methods, accessible through a menu.
///////////////////////////////////////////////////////////////////////////////////////////////////
menuViewC1
"Shows composite c1"
///////////////////////////////////////////////////////////////////////////////////////////////////
Start each method by creating two temporary wrapper variables, c1Wrapper and c2Wrapper.
///////////////////////////////////////////////////////////////////////////////////////////////////
| c1Wrapper c2Wrapper |
///////////////////////////////////////////////////////////////////////////////////////////////////
Next, set each wrapper to correspond to its composite.
///////////////////////////////////////////////////////////////////////////////////////////////////
c1Wrapper := self wrapperAt: #c1.
c2Wrapper := self wrapperAt: #c2.
///////////////////////////////////////////////////////////////////////////////////////////////////
Lastly, set the wrappers to be visible or invisible, based on the situation. Since we are creating the menuViewc1 method, we will set c1 to visible and c2 to invisible.
///////////////////////////////////////////////////////////////////////////////////////////////////
c1Wrapper beVisible.
c2Wrapper beInvisible.
///////////////////////////////////////////////////////////////////////////////////////////////////
I hope this helps!
Links to this Page
- Case last edited on 29 July 2009 at 11:50 pm by c-76-97-208-233.hsd1.ga.comcast.net
- Index of Individual Cases last edited on 28 July 2009 at 3:01 pm by lwc029.ats.gatech.edu