Author: qmathe
Date: Fri Jan 22 16:09:15 2010
New Revision: 5862

URL: http://svn.gna.org/viewcvs/etoile?rev=5862&view=rev
Log:
Added -customSortDescriptorsForSortDescriptors: to ETLayout and ETTableLayout.
This lets the layout overrides the controller provided descriptors.
Updated -[ETLayoutItemGroup sortWithSortDescriptors:recursively:] to use it.
Rewrote -tableView:sortDescriptorsDidChange: to integrate with this new method. 

Further simplified -filterWithPredicate:recursively: by using 
-filteredArrayUsingPredicate:ignoringObjects: which was recently added to 
EtoileFoundation.
Wrote a detailed sorting and filtering test suite. Fixed some bugs it 
revealed in ETLayoutItemGroup code.

Fixed -setDisplayedProperties: to remove/add the table columns only if 
necessary, otherwise we can loose the sort indicator on a layout update.

Modified:
    trunk/Etoile/Frameworks/EtoileUI/Headers/ETLayout.h
    trunk/Etoile/Frameworks/EtoileUI/Headers/ETLayoutItemGroup.h
    trunk/Etoile/Frameworks/EtoileUI/Source/ETLayout.m
    trunk/Etoile/Frameworks/EtoileUI/Source/ETLayoutItemGroup.m
    trunk/Etoile/Frameworks/EtoileUI/Source/ETTableLayout.m
    trunk/Etoile/Frameworks/EtoileUI/Tests/test_ETController.m


_______________________________________________
Etoile-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/etoile-cvs

Reply via email to