Author: qmathe
Date: Sat Mar 15 09:34:27 2008
New Revision: 2939
URL: http://svn.gna.org/viewcvs/etoile?rev=2939&view=rev
Log:
[EMAIL PROTECTED]: qmathe | 2008-03-14 14:03:30 +0100
Improved ETLayout to allows it subclasses to reload the layout item tree they
display only if needed. This elimates plenty of very expansive data source
reload for ETBrowserLayout, ETTableLayout and ETOutlineLayout like on view
resizing. As a byproduct, it means ETObjectBrowserLayout won't lose the
outline expansion state on window resizing.
* ETLayout
Renamed -renderLayoutItems: to -renderLayoutItems:isNewContent:. Also renamed
-render to -render:isNewContent: and added -render:.
* ETBrowserLayout, ETTableLayout, ETObjectBrowserLayout, ETFreeLayout,
ETPaneLayout, ETPaneSwitcherLayout, ETTextEditorLayout, ETViewModelLayout
Updated to use -renderLayoutItems:isNewContent:.
* ETLayoutItemGroup, ETLayoutItemGroup+Mutation
Added new properties hasNewContent and hasNewLayout. Modified -updateLayout to
make use of these combined with -renderLayoutItems:isNewContent:. Overriden
-setRepresentedObject: to call -setHasNewContent: if needed. Also modified
-handle[Add|Remove|Insert]:item: to mark the availability of new content in
this
way.
Modified:
branches/qmathe/Container/ (props changed)
branches/qmathe/Container/Container.xcodeproj/project.pbxproj
branches/qmathe/Container/ETBrowserLayout.m
branches/qmathe/Container/ETFreeLayout.m
branches/qmathe/Container/ETLayout.h
branches/qmathe/Container/ETLayout.m
branches/qmathe/Container/ETLayoutItemGroup+Mutation.h
branches/qmathe/Container/ETLayoutItemGroup+Mutation.m
branches/qmathe/Container/ETLayoutItemGroup.h
branches/qmathe/Container/ETLayoutItemGroup.m
branches/qmathe/Container/ETObjectBrowserLayout.m
branches/qmathe/Container/ETPaneLayout.m
branches/qmathe/Container/ETPaneSwitcherLayout.m
branches/qmathe/Container/ETTableLayout.m
branches/qmathe/Container/ETTextEditorLayout.m
branches/qmathe/Container/ETViewModelLayout.m
_______________________________________________
Etoile-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/etoile-cvs