Example #1
0
    def __init__(self, course, title="Course Info"):
        # setup model
        BGModelController.init()
        self.course = course

        # setup breadinterface
        Controller.__init__(self, title=title, view=CourseInfoView(self))
        self.button_info_dict['tl'] = 'close without saving'
        self.button_info_dict['tr'] = 'save and close'
Example #2
0
    def __init__(self, semester, title="Semester Info"):
        # setup model
        BGModelController.init()
        self.semester = semester

        # setup breadinterface
        Controller.__init__(self, title=title, view=SemesterInfoView(self))
        self.button_info_dict['tl'] = 'close without saving'
        self.button_info_dict['tr'] = 'save and close'
Example #3
0
  def __init__( self, assignment, title="Assignment Info"):
    # setup model
    BGModelController.init()
    self.assignment = assignment

    # setup breadinterface
    Controller.__init__( self, title=title, view=AssignmentInfoView(self) )
    self.button_info_dict['tl'] = 'close without saving'
    self.button_info_dict['tr'] = 'save and close'
  def __init__( self, semester, title="Semester Info"):
    # setup model
    BGModelController.init()
    self.semester = semester

    # setup breadinterface
    Controller.__init__( self, title=title, view=SemesterInfoView(self) )
    self.button_info_dict['tl'] = 'close without saving'
    self.button_info_dict['tr'] = 'save and close'
 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, 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, semester ):
   # init model
   self.semester = semester
   BGModelController.init()
   self.course_list = BGModelController.get_courses_for_semester(self.semester)
   # init bi
   Controller.__init__( self, title="Course List", view=CourseListView(self,self) )
   self.button_info_dict['tl'] = 'go back to the Semester list'
   self.button_info_dict['tr'] = 'view the Semester information'
   self.button_info_dict['bl'] = 'delete currently selected course'
   self.button_info_dict['bm'] = 'None'
   self.button_info_dict['br'] = 'add a course'
 def __init__(self):
     # init model
     BGModelController.init()
     self.semester_list = BGModelController.get_all_semesters()
     # init bi
     Controller.__init__(self,
                         title="Semester List",
                         view=SemesterListView(self, self))
     self.button_info_dict['tl'] = 'about this app'
     self.button_info_dict['tr'] = 'open settings'
     self.button_info_dict['bl'] = 'delete currently selected semester'
     self.button_info_dict['bm'] = 'None'
     self.button_info_dict['br'] = 'add a semester'
Example #9
0
 def __init__(self, semester):
     # init model
     self.semester = semester
     BGModelController.init()
     self.course_list = BGModelController.get_courses_for_semester(
         self.semester)
     # init bi
     Controller.__init__(self,
                         title="Course List",
                         view=CourseListView(self, self))
     self.button_info_dict['tl'] = 'go back to the Semester list'
     self.button_info_dict['tr'] = 'view the Semester information'
     self.button_info_dict['bl'] = 'delete currently selected course'
     self.button_info_dict['bm'] = 'None'
     self.button_info_dict['br'] = 'add a course'
 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, 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.course_list = BGModelController.get_courses_for_semester(self.semester)
   Controller.update(self)
 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)
Example #16
0
 def update(self):
     self.course_list = BGModelController.get_courses_for_semester(
         self.semester)
     Controller.update(self)
 def update( self ):
   self.criteria_list = BGModelController.get_criterion_for_course(self.course)
   Controller.update(self)
 def update(self):
     self.semester_list = BGModelController.get_all_semesters()
     Controller.update(self)