Example #1
0
 def display_item(self):
     import ATE.spyder.widgets.actions_on.program.ViewTestProgramWizard as view
     handle_excpetions(
         self.project_info.parent, lambda: view.view_program_dialog(
             self.text(), self.project_info, self.owner),
         ExceptionTypes.Program())
Example #2
0
def add_testprogram_impl(project_info, item):
    import ATE.spyder.widgets.actions_on.program.TestProgramWizard as new_prog
    handle_excpetions(
        project_info.parent, lambda: new_prog.new_program_dialog(
            project_info, get_prefix(item), item), ExceptionTypes.Program())
Example #3
0
 def edit_item(self):
     import ATE.spyder.widgets.actions_on.program.EditTestProgramWizard as edit
     handle_excpetions(
         self.project_info.parent, lambda: edit.edit_program_dialog(
             self.text(), self.project_info, self.owner),
         ExceptionTypes.Program())