logo       

Re: Creating custom events in a domain.: msg#00118

lang.smalltalk.squeak.beginners

Subject: Re: Creating custom events in a domain.

Mispunt a écrit :
Hi Squeakers,

I am working an a project where we have a domain. this domain should
not know the classes outside the world, so to communicate the domain
should fire an event where the classes outside the domain could react
to.
How could this be done? I didn't find anything about it in the wiki..

Kind regards,

Mispunt


You are looking for the Observer pattern,

see this small note about it http://wiki.squeak.org/squeak/1214

Hilaire


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise