def __init__( self, course ):
   # init model
   self.course = course
   BGModelController.init()
   self.criteria_list = BGModelController.get_criterion_for_course(self.course)
   # init bi
   Controller.__init__( self, title="Criteria List", view=CriteriaListView(self,self) )
   self.button_info_dict['tl'] = 'go back to the Course list'
   self.button_info_dict['tr'] = 'view the Course information'
   self.button_info_dict['bl'] = 'delete currently selected criteria'
   self.button_info_dict['bm'] = 'None'
   self.button_info_dict['br'] = 'add a criteria'
 def __init__(self, course):
     # init model
     self.course = course
     BGModelController.init()
     self.criteria_list = BGModelController.get_criterion_for_course(
         self.course)
     # init bi
     Controller.__init__(self,
                         title="Criteria List",
                         view=CriteriaListView(self, self))
     self.button_info_dict['tl'] = 'go back to the Course list'
     self.button_info_dict['tr'] = 'view the Course information'
     self.button_info_dict['bl'] = 'delete currently selected criteria'
     self.button_info_dict['bm'] = 'None'
     self.button_info_dict['br'] = 'add a criteria'
 def update(self):
     self.criteria_list = BGModelController.get_criterion_for_course(
         self.course)
     Controller.update(self)
 def update( self ):
   self.criteria_list = BGModelController.get_criterion_for_course(self.course)
   Controller.update(self)