Loading @GUI/check_call.m +1 −1 Original line number Diff line number Diff line Loading @@ -16,7 +16,7 @@ error = 0; msg = object.check_inputs; if (isempty(msg)) set(object.function_inputs_control,'BackgroundColor',[1 1 1]); msg = object.check_grid_condition(object.Grid2); msg = object.check_grid_condition(object.data.left_cond); %TODO: Rename this function if object.multi_mode == 0 msg = [msg object.check_grid_condition(object.Grid1)]; end Loading @GUI/check_grid_condition.m +3 −1 Original line number Diff line number Diff line Loading @@ -10,9 +10,11 @@ % none % Author: Colin Eles elesc@mcmaster.ca % Organization: McMaster Centre for Software Certification %TODO: Merge this back into the grid itself function msg = check_grid_condition(object,grid) msg = []; for i = 1:size(grid.cells,2) for i = 1:size(grid.grid,2) error = ''; string = get(grid.cells(i).cond,'String'); Loading @HierarchicalGrid/HierarchicalGrid.m +4 −0 Original line number Diff line number Diff line Loading @@ -29,6 +29,10 @@ classdef HierarchicalGrid < handle width = object.max_width_impl(object.grid, 1); end function cell = get_cell(object, cell_index) cell = object.grid{cell_index}; end end Loading @HierarchicalGridCell/HierarchicalGridCell.m +4 −1 Original line number Diff line number Diff line Loading @@ -6,7 +6,7 @@ classdef HierarchicalGridCell < handle properties text = ''; grid = []; grid = {}; end Loading @@ -23,6 +23,9 @@ classdef HierarchicalGridCell < handle end function cell = get_cell(object, cell_index) cell = object.grid{cell_index}; end end Loading Loading
@GUI/check_call.m +1 −1 Original line number Diff line number Diff line Loading @@ -16,7 +16,7 @@ error = 0; msg = object.check_inputs; if (isempty(msg)) set(object.function_inputs_control,'BackgroundColor',[1 1 1]); msg = object.check_grid_condition(object.Grid2); msg = object.check_grid_condition(object.data.left_cond); %TODO: Rename this function if object.multi_mode == 0 msg = [msg object.check_grid_condition(object.Grid1)]; end Loading
@GUI/check_grid_condition.m +3 −1 Original line number Diff line number Diff line Loading @@ -10,9 +10,11 @@ % none % Author: Colin Eles elesc@mcmaster.ca % Organization: McMaster Centre for Software Certification %TODO: Merge this back into the grid itself function msg = check_grid_condition(object,grid) msg = []; for i = 1:size(grid.cells,2) for i = 1:size(grid.grid,2) error = ''; string = get(grid.cells(i).cond,'String'); Loading
@HierarchicalGrid/HierarchicalGrid.m +4 −0 Original line number Diff line number Diff line Loading @@ -29,6 +29,10 @@ classdef HierarchicalGrid < handle width = object.max_width_impl(object.grid, 1); end function cell = get_cell(object, cell_index) cell = object.grid{cell_index}; end end Loading
@HierarchicalGridCell/HierarchicalGridCell.m +4 −1 Original line number Diff line number Diff line Loading @@ -6,7 +6,7 @@ classdef HierarchicalGridCell < handle properties text = ''; grid = []; grid = {}; end Loading @@ -23,6 +23,9 @@ classdef HierarchicalGridCell < handle end function cell = get_cell(object, cell_index) cell = object.grid{cell_index}; end end Loading