Пример #1
0
 def external_open_interpreted_age_group(self):
     self.load_projects()
     ogd = OpenGroupDialog(projects=self.projects,
                           oprojects=self.projects,
                           db=self.manager.db)
     info = ogd.edit_traits(kind='livemodal')
     if info.result:
         return ogd.get_selected_ids()
Пример #2
0
    def open_interpreted_age_group(self):
        if self.has_active_editor():
            ogd = OpenGroupDialog(projects=self.projects, db=self.manager.db)
            if self.selected_projects:
                ogd.selected_project = self.selected_projects[-1]

            info = ogd.edit_traits(kind='livemodal')
            if info.result:
                ids = ogd.get_selected_ids()
                if ids:
                    self.open_interpreted_age_groups(ids)
Пример #3
0
    def open_interpreted_age_group(self):
        if self.has_active_editor():
            ogd=OpenGroupDialog(projects=self.projects, db=self.manager.db)
            if self.selected_projects:
                ogd.selected_project = self.selected_projects[-1]

            info = ogd.edit_traits(kind='livemodal')
            if info.result:
                ids=ogd.get_selected_ids()
                if ids:
                    self.open_interpreted_age_groups(ids)
Пример #4
0
 def external_open_interpreted_age_group(self):
     self.load_projects()
     ogd = OpenGroupDialog(projects=self.projects, db=self.manager.db)
     info = ogd.edit_traits(kind='livemodal')
     if info.result:
         return ogd.get_selected_ids()