(&mut self, tasks_info: Vec<(JobTaskId, &TaskInfo)>, current_time: SystemTime)
| 38 | } |
| 39 | |
| 40 | pub fn update(&mut self, tasks_info: Vec<(JobTaskId, &TaskInfo)>, current_time: SystemTime) { |
| 41 | let rows = create_rows(tasks_info, current_time); |
| 42 | self.table.set_items(rows); |
| 43 | } |
| 44 | |
| 45 | pub fn select_next_task(&mut self) { |
| 46 | self.table.select_next_wrap(); |