Beispiel #1
0
 def execute(self, items):
     from local_farm.ui.main_window import get_main_window
     mainWindow = get_main_window()
     selectedJobs = self.get_selected_datas(items)
     for job in selectedJobs:
         mainWindow.kill_job(job)
         mainWindow.update_data(job)
Beispiel #2
0
 def execute(self, items):
     from local_farm.ui.main_window import get_main_window
     mainWindow = get_main_window()
     selectedInstances = self.get_selected_datas(items)
     for instance in selectedInstances:
         mainWindow.kill_instance(instance)
Beispiel #3
0
 def execute(self, items):
     from local_farm.ui.main_window import get_main_window
     mainWindow = get_main_window()
     selectedJobs = self.get_selected_datas(items)
     mainWindow.remove_jobs(selectedJobs)
     mainWindow.remove_job_items(items)