0001 function hC = mars_blob_menu
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011 tg = 'blob_menu';
0012
0013
0014
0015 Finter = spm_figure('GetWin','Interactive');
0016 delete(findobj(get(Finter,'Children'),'flat','Tag',tg))
0017
0018 hC = uimenu(Finter,'Label','Write ROI(s)',...
0019 'Separator','on',...
0020 'Tag',tg,...
0021 'UserData','',...
0022 'HandleVisibility','on');
0023
0024
0025
0026 hWo = uimenu(hC,'Label','Write one cluster','Accelerator','O',...
0027 'CallBack','mars_blob_ui(''save_one'')',...
0028 'UserData',hC,...
0029 'HandleVisibility','off');
0030
0031
0032
0033 hWo = uimenu(hC,'Label','Write all clusters','Accelerator','A',...
0034 'CallBack','mars_blob_ui(''save_many'')',...
0035 'UserData',hC,...
0036 'HandleVisibility','off');
0037
0038
0039
0040 hWo = uimenu(hC,'Label','Rerun results UI','Accelerator','R',...
0041 'CallBack','mars_blob_ui(''reinit'')',...
0042 'UserData',hC,...
0043 'HandleVisibility','off');
0044
0045
0046 uimenu(hC,'Label','Clear','Accelerator','L','Separator','on',...
0047 'CallBack','spm_results_ui(''Clear'')',...
0048 'HandleVisibility','off');
0049
0050
0051
0052 figure(Finter)
0053
0054
0055
0056 varargout = {hC};