[squeak-dev] Progress bar design pattern

Martin Dias tinchodias at gmail.com
Wed Mar 30 00:17:23 UTC 2011


Hello

I have a couple of algorithms and I want to show the progress while they
run. I played with the progress bar and it's okay for my needs.

The progress bar should be pluggable and decoupled of the algorithms.

I am writing to you to ask about good designs for my problem. I hope I
haven't expressed the problem in a too abstract way.

The design I have in mind is a kind of observer pattern: the serialization
algorithm publishes information about the run; a specific listener
implements the progress bar for that serialization algorithm, interpreting
the information published.

Thanks,
Martin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20110329/97ade992/attachment.htm


More information about the Squeak-dev mailing list