On 29 Jun, 2006, at 13:23, Andi Vajda wrote:
- Do we need specific Calculated methods for index-dependent
dynamic values? (Does Calculated need to move to Schema for this?)
What is a 'Calculated' method ?
I think Bryan meant "Calculated attributes" not "Calculated methods",
the API for properties (Calculated is a subclass of Python's builtin
property, with a couple of extra fields that aren't really used). One
example is CalendarEventMixin.endTime, which is calculated from the
startTime and duration attributes.
See: parcels/osaf/pim/items.py, lines 64--80 for the implementation,
parcel/osaf/pim/calendar/Calendar.py for some code where it's used.
--Grant
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Open Source Applications Foundation "chandler-dev" mailing list
http://lists.osafoundation.org/mailman/listinfo/chandler-dev