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 compound object; |
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 the object and move these 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 |
45 Then, let the editFields modify the valueHolders contents and |
46 finally, fetch the values and put them back into the compound object. |
46 finally, fetch the values and put them back into the compound object. |
47 |
47 |
48 An aspectAdaptor makes this easier, by playing model with |
48 An aspectAdaptor makes this easier, by playing model with |
49 value/value: symbols towards the editField, and forwarding changes and |
49 value/value: symbols towards the editField, and forwarding changes and |
50 updates to/from the combound object using different aspect symbols |
50 updates to/from the compound object using different aspect symbols |
51 and access messages. |
51 and access messages. |
52 |
52 |
53 Notice: |
53 Notice: |
54 this class was implemented using protocol information |
54 this class was implemented using protocol information |
55 from alpha testers - it may not be complete or compatible to |
55 from alpha testers - it may not be complete or compatible to |