entities/adapters.py
branchstable
changeset 7879 9aae456abab5
parent 7815 2a164a9cf81c
child 8037 a36bd56f33bb
equal deleted inserted replaced
7874:be04706eacc9 7879:9aae456abab5
   364 
   364 
   365 
   365 
   366 class IProgressAdapter(EntityAdapter):
   366 class IProgressAdapter(EntityAdapter):
   367     """something that has a cost, a state and a progression.
   367     """something that has a cost, a state and a progression.
   368 
   368 
   369     You should at least override progress_info an in_progress methods on concret
   369     You should at least override progress_info an in_progress methods on
   370     implementations.
   370     concrete implementations.
   371     """
   371     """
   372     __needs_bw_compat__ = True
   372     __needs_bw_compat__ = True
   373     __regid__ = 'IProgress'
   373     __regid__ = 'IProgress'
   374     __select__ = implements(IProgress, warn=False) # XXX for bw compat, should be abstract
   374     __select__ = implements(IProgress, warn=False) # XXX for bw compat, should be abstract
   375 
   375