Re: displayGroupDidChangeSelection: vs. displayGroupDidChangeSelectedObjects:

Lon Varscsak <[email protected]> Tue, 31 May 2005 15:41:16 -0700
Newsgroups gmane.comp.web.webobjects.eof
Message-ID <[email protected]>
 From what I can tell on YellowBox for Windows :D is that the 
displayGroupDidChangeSelection is called when the selection indexes 
change and displayGroupDidChangeSelectedObjects is called when the set 
of selected objects change.

So, switching between rows calls both methods (because the index and the 
set of selected objects are changing), but re-sorting the displaygroup 
(assuming this causes the index to change) calls 
displayGroupDidChangeSelection because the selected index changes, but 
the selected set remains the same.

Hope this helps,

Lon


Nat! wrote:

> Does any of the oldtimers here know, what the real life difference  
> between the EODisplayGroup (WODisplayGroup maybe also) delegate  
> methods displayGroupDidChangeSelection: and
> displayGroupDidChangeSelectedObjects:. Or more specifically, what  
> would be a case where one would be called and not the other.
>
> Ciao
>     Nat!
> ------------------------------------------------------
> Thanks for paying my rent. -- EVH
>
> _______________________________________________
> EOF mailing list
> [email protected]
> http://www.omnigroup.com/mailman/listinfo/eof