Author: qmathe
Date: Tue Mar 18 10:18:39 2008
New Revision: 2947
URL: http://svn.gna.org/viewcvs/etoile?rev=2947&view=rev
Log:
[EMAIL PROTECTED]: qmathe | 2008-03-16 07:50:05 +0100
Refactored ETLayoutItem(Events) one step further towards pluggable event
handlers and to handle as transparently as possible the distinction between
ETLayoutItem and ETLayoutItemGroup and their specifities. This constitutes the
second batch of removal of compiler warnings.
* ETEventHandler, ETLayoutItem(Events)
Added new methods -eventForwarder, -layout, -selectedItems. Updated other
methods to make use of these. Fixed a forgotten event parameter in -paste:.
Renamed and modified the following helper methods to avoid an explicit state
access that depends on the type of the item, -dropIndexAtLocation:forItem:on:
to
-itemGroup:dropIndexAtLocation:forItem:on:, -insertDroppedObject:atIndex: to
-itemGroup:insertDroppedObject:atIndex:, -insertDroppedItem:atIndex: to
-itemGroup:insertDroppedObject:atIndex:. Updated all related method calls.
Introduced an explicit informal ETLayoutEventHandling protocol that ETLayout
subclass may decide to implement to tailor the event handling for their needs.
Modified:
/ (props changed)
branches/qmathe/Container/ETLayoutItem+Events.h
branches/qmathe/Container/ETLayoutItem+Events.m
_______________________________________________
Etoile-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/etoile-cvs