37 " |
37 " |
38 an AspectAdaptor forwards updates and change messages |
38 an AspectAdaptor forwards updates and change messages |
39 from/to a complex model. |
39 from/to a complex model. |
40 |
40 |
41 Consider the case where editFields are required for the |
41 Consider the case where editFields are required for the |
42 elements (instance variables) of a more complex model. |
42 elements (instance variables) of a compound object; |
43 Without an aspect adaptor, you needed to copy the individual |
43 - without an aspect adaptor, you needed to copy the individual |
44 values out-of and into multiple valueHolders. |
44 values out-of the object and move these into multiple valueHolders. |
|
45 Then, let the editFields modify the valueHolders contents and |
|
46 finally, fetch the values and put them back into the compound object. |
|
47 |
45 An aspectAdaptor makes this easier, by playing model with |
48 An aspectAdaptor makes this easier, by playing model with |
46 value/value: symbols towards the editField, and forwarding changes and |
49 value/value: symbols towards the editField, and forwarding changes and |
47 updates to/from the complex model using different aspect symbols. |
50 updates to/from the combound object using different aspect symbols |
|
51 and access messages. |
48 |
52 |
49 Notice: |
53 Notice: |
50 this class was implemented using protocol information |
54 this class was implemented using protocol information |
51 from alpha testers - it may not be complete or compatible to |
55 from alpha testers - it may not be complete or compatible to |
52 the corresponding ST-80 class. |
56 the corresponding ST-80 class. |