map-dependents,
add-dependent and delete-dependent.
dependent-mixin. Note that the actual
dependents should be stored in a slot called
dependents for which you should provide a
reader function called dependents-of.
make-collection-for-dependent-mixin.
make-collection-for-dependent-mixin
method for dependent-mixins which creates and returns an
instance of a simple-childed-mixin (from the
collection protocol).
initialize-instance
on dependent-mixin which calls
make-collection-for-dependent-mixin and stores
the result in the dependents slot of the
dependent-mixin object.
map-dependencies,
add-dependency and
delete-dependencies.
dependency-mixin. Note
that the actual dependencies should be stored in a slot
called dependencies for which you should
provide a reader function called
dependenciess-of.
make-collection-for-dependency-mixin and
a suitable after method for
initialize-instance, following the same pattern
as when you defined the dependent-mixin class.
map-dependents,
add-dependent and delete-dependent
which specialize on dependent-mixin. Use
functions such as add-child to implement the
functionality required.
map-dependencies,
add-dependency and
delete-dependent which specialize on
dependency-mixin.
add-dependent, add-dependency,
delete-dependent and
delete-dependency. For example, define an
after method for add-dependent which calls
add-dependency.
Authors: Gail Anderson (ga@cley.com),
Tim Bradshaw(tfb@cley.com), Cley Limited.
Copyright 1999–2003 Cley Ltd. & Franz Inc.