home *** CD-ROM | disk | FTP | other *** search
/ OpenStep (Enterprise) / OpenStepENTCD.toast / OEDEV / EODEV.Z / EOActionInsertionAssociation.h < prev    next >
Encoding:
Text File  |  1996-09-09  |  1.2 KB  |  30 lines

  1. // EOActionInsertionAssociation.h
  2. // Copyright (c) 1995, NeXT Software, Inc. All rights reserved. 
  3. //
  4. // Bindings:
  5. //   source:       bound to DisplayGroup from which objects should be copied.
  6. //                 The key named in the source binding is not significant.
  7. //   destination:  relationship property to add source EOs to.
  8. // Description:
  9. //   Upon receiving an action from its object, the EOActionInsertionAssociation
  10. //   takes the object(s) selected in the DisplayGroup bound to its "source" aspect
  11. //   and adds them to the relationship property of the selected object of the destination
  12. //   aspect.
  13. //   The object (usually a button) is disabled when no objects are selected in
  14. //   the source and destination DisplayGroups.
  15. //
  16. // Example:
  17. //   Bind source to any property of a Talent (person) DisplayGroup.
  18. //   Bind destination to the "directors" relationship property of
  19. //   a Movie DisplayGroup.
  20. //   Pressing the button to which the association is bound will add the selected
  21. //   Talent EOs to the "directors" property of the selected Movie.
  22. //
  23. #import <EOInterface/EOAssociation.h>
  24.  
  25. // For views and cells
  26. @interface EOActionInsertionAssociation : EOAssociation
  27. {
  28. }
  29. @end
  30.