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