Jump to revision: | |
---|---|
Author: | pje |
Date: | Tue Nov 16 22:01:24 2004 UTC (19 years, 4 months ago) |
Log Message:
'binding.IBindingNode' was REMOVED, consolidated into 'binding.IComponent', as its various individual methods have been replaced with generic functions in the existing 'binding' API. For example, 'binding.getParentComponent(x)' should be used in preference to 'x.getParentComponent()' unless it is a requirement that 'x' implement the full 'binding.IComponent' interface. This makes it easier to define what 'binding.getParentComponent()' and 'binding.getComponentName()' will mean for non-component types, as you do not have to define an adapter class with all of the 'IBindingNode' methods. Also, this makes PEAK itself cleaner, as we often weren't bothering to properly implement the full 'IBindingNode' interface anyway. In addition, 'binding.suggestParentComponent()' is now also a generic function, dispatching on the target (i.e. child) object.
Changed paths:
Path | Action | Text Changes | Prop Changes | Diff to Previous |
---|---|---|---|---|
PEAK/CHANGES.txt | modified | X | (diff to previous) | |
PEAK/src/peak/binding/components.py | modified | X | (diff to previous) | |
PEAK/src/peak/binding/interfaces.py | modified | X | (diff to previous) | |
PEAK/src/peak/binding/once.py | modified | X | (diff to previous) | |
PEAK/src/peak/model/elements.py | modified | X | (diff to previous) |
cvs-admin@eby-sarna.com Powered by ViewCVS 1.0-dev |
ViewCVS and CVS Help |