[Q] handling complex selection
Ned Konz
ned at bike-nomad.com
Tue Sep 2 20:32:13 UTC 2003
On Monday 01 September 2003 06:37 am, Martin Drautzburg wrote:
> This is a general model/view question.
>
> SearchResultView (model: SearchResult)
> AddressView (Address)
> AddressItemView (AddressItem)
[clip]
> What is the best way the get the information that a view is
> selected out of a deeply nested submorph hierarchy ?
By providing an object that can broadcast such a change and can still
be found. Perhaps the root morph of the hierarchy.
Or you could have a notification manager handling such subscriptions.
--
Ned Konz
http://bike-nomad.com
GPG key ID: BEEA7EFE
More information about the Squeak-dev
mailing list
|