AspectAdaptor.st
changeset 789 98a12d3c3bee
parent 448 5a9fb44b4a3f
child 2286 1c46b5e812bc
equal deleted inserted replaced
788:48a926974696 789:98a12d3c3bee
    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
   281 ! !
   281 ! !
   282 
   282 
   283 !AspectAdaptor class methodsFor:'documentation'!
   283 !AspectAdaptor class methodsFor:'documentation'!
   284 
   284 
   285 version
   285 version
   286     ^ '$Header: /cvs/stx/stx/libview2/AspectAdaptor.st,v 1.19 1997-02-24 20:11:46 ca Exp $'
   286     ^ '$Header: /cvs/stx/stx/libview2/AspectAdaptor.st,v 1.20 1998-01-29 14:46:38 stefan Exp $'
   287 ! !
   287 ! !