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()
    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)
    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)
 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()