/[eiffelstudio]/branches/eth/eve/Src/Eiffel/interface/graphical/tools/autodebug/panels/es_adb_panel_fixes.e
ViewVC logotype

Diff of /branches/eth/eve/Src/Eiffel/interface/graphical/tools/autodebug/panels/es_adb_panel_fixes.e

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 95331 by maxpei, Sat Jun 21 22:38:32 2014 UTC revision 95332 by maxpei, Fri Jun 27 12:57:49 2014 UTC
# Line 294  feature -- GUI actions Line 294  feature -- GUI actions
294    
295          on_row_select (a_row: EV_GRID_ROW)          on_row_select (a_row: EV_GRID_ROW)
296                          -- Action to perform when `a_row' is selected.                          -- Action to perform when `a_row' is selected.
297                    local
298                            l_should_enable_apply: BOOLEAN
299                  do                  do
300                          if attached {ES_ADB_FIX} a_row.data as lt_fix then                          if attached {ES_ADB_FIX} a_row.data as lt_fix then
301                                  show_diff (lt_fix)                                  show_diff (lt_fix)
302                                  if not tool_panel.is_external_process_running and then not lt_fix.fault.is_fixed and then attached {ES_ADB_FIX_IMPLEMENTATION} lt_fix then                                  l_should_enable_apply := not tool_panel.is_external_process_running and then not lt_fix.fault.is_fixed and then attached {ES_ADB_FIX_AUTOMATIC} lt_fix
303                                          enable_command_invocation_widget (True)                                  enable_command_invocation_widget (l_should_enable_apply)
                                 end  
304                          end                          end
305                  end                  end
306    
# Line 307  feature -- GUI actions Line 308  feature -- GUI actions
308                          -- Action to perform when `a_row' is deselected.                          -- Action to perform when `a_row' is deselected.
309                  do                  do
310                          clear_diff                          clear_diff
311                          if not tool_panel.is_external_process_running then                          enable_command_invocation_widget (False)
                                 enable_command_invocation_widget (False)  
                         end  
312                  end                  end
313    
314  feature{NONE} -- Access  feature{NONE} -- Access

Legend:
Removed from v.95331  
changed lines
  Added in v.95332

  ViewVC Help
Powered by ViewVC 1.1.23