Commit 28c0f1a5 authored by Colin Eles's avatar Colin Eles
Browse files

latest update

git-svn-id: https://groke.mcmaster.ca/svn/grad/colin/trunk/TableTool@5976 57e6efec-57d4-0310-aeb1-a6c144bb1a8b
parent 4b41f128
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -717,11 +717,7 @@ classdef GUI < handle
                    % reset tooltip and colour if no error found
                    set(grid.cells(i).cond,'TooltipString','')
                    grid.cells(i).flag_cell(0);
                    %if (~isempty(grid.cells(i).color))
                    %    set(grid.cells(i).cond,'BackgroundColor',grid.cells(i).color)
                    %else
                    %   set(grid.cells(i).cond,'BackgroundColor',[1 1 1])
                    %end
                   

                end
                % recurse through subgrid
+24 −0
Original line number Diff line number Diff line
@@ -44,10 +44,34 @@ switch Action,
        catch exception
            msgbox(exception.identifier)
        end
    case 'Delete'
       blockHandleTTTopMask = orig_gcbh;
       data = get_param(blockHandleTTTopMask,'UserData');
       if isempty(data)
           return
       end
        if ~data.valid
             errordlg(...
          DAStudio.message('Block Data has been corputed'),...
          'Error', 'modal')
            return
        end
       
        if data.open && ishandle(data.fig)
            delete(data.fig)
            data.fig = [];
            data.open = 0;
            set_param(blockHandleTTTopMask,'UserData',data); 

        end
        
    otherwise,
        DAStudio.error('Simulink:dialog:UnknownAction',Action);
    
        

        
        
end
    
end
+5 −4
Original line number Diff line number Diff line
@@ -15,9 +15,9 @@ Library {
  ModifiedByFormat	  "%<Auto>"
  LastModifiedBy	  "colin"
  ModifiedDateFormat	  "%<Auto>"
  LastModifiedDate	  "Wed Jul 14 13:23:15 2010"
  RTWModifiedTimeStamp	  201014591
  ModelVersionFormat	  "1.%<AutoIncrement:10>"
  LastModifiedDate	  "Wed Jul 28 11:08:09 2010"
  RTWModifiedTimeStamp	  202216080
  ModelVersionFormat	  "1.%<AutoIncrement:11>"
  ConfigurationManager	  "None"
  SampleTimeColors	  off
  SampleTimeAnnotations	  off
@@ -627,7 +627,7 @@ Library {
  }
  System {
    Name		    "TableLibrary"
    Location		    [210, 331, 790, 591]
    Location		    [210, 353, 790, 613]
    Open		    on
    ModelBrowserVisibility  off
    ModelBrowserWidth	    200
@@ -696,6 +696,7 @@ Library {
      Ports		      [1]
      Position		      [70, 32, 235, 98]
      CopyFcn		      "TTdiag Copy"
      DeleteFcn		      "TTdiag Delete"
      OpenFcn		      "TTdiag Open Simulink"
      MinAlgLoopOccurrences   off
      PropExecContextOutsideSubsystem off