In pier PRKernal keeps a list of its instances. When accessing my Magma repository the instances of PRKernel are probably not in the PRKernel list. Looking around I can see various hooks for handling this kind of situation but I am not sure what to use.
many thanks in advance
Keith
___________________________________________________________ All New Yahoo! Mail Tired of Vi@gr@! come-ons? Let our SpamGuard protect you. http://uk.docs.yahoo.com/nowyoucan.html
Yes you can hook into post-materialization quite easily.
Add a method to PRKernel:
maWantsPostMaterialization ^ true
and then somewhere in your app,
mySession serializer preferences afterMaterializingAny: PRKernel do: [ : aPRKernel | "...do something with aPRKernel..." ]
Magma uses this feature for special classes like Projects and Morphs, but you are the first I've heard to use it externally. If you have any questions or issues, please don't hesitate to ask.
- Chris
--- Keith Hodges Keith.Hodges@warwick.ac.uk wrote:
In pier PRKernal keeps a list of its instances. When accessing my Magma repository the instances of PRKernel are probably not in the PRKernel list. Looking around I can see various hooks for handling this kind of situation but I am not sure what to use.
many thanks in advance
Keith
___________________________________________________________ All New Yahoo! Mail Tired of Vi@gr@! come-ons? Let our SpamGuard protect you. http://uk.docs.yahoo.com/nowyoucan.html _______________________________________________ Magma mailing list Magma@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/magma
magma@lists.squeakfoundation.org