Home > m > gui > ltpdaRepoGUI > callbacks > cb_classMethodList.m

cb_classMethodList

PURPOSE ^

Get a list of methods for a class and fill the list

SYNOPSIS ^

function cb_classMethodList(varargin)

DESCRIPTION ^

 Get a list of methods for a class and fill the list
 
 M Hewitson
 
 $Id: cb_classMethodList.m,v 1.1 2008/01/22 21:10:23 hewitson Exp $

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function cb_classMethodList(varargin)
0002 
0003 % Get a list of methods for a class and fill the list
0004 %
0005 % M Hewitson
0006 %
0007 % $Id: cb_classMethodList.m,v 1.1 2008/01/22 21:10:23 hewitson Exp $
0008 %
0009 
0010 myh     = varargin{1};
0011 mainfig = varargin{4};
0012 
0013 id = findobj('Tag', 'methodInfoPanel');
0014 
0015 % get selected method
0016 id = findobj('Tag', 'classMethodList');
0017 ostr = get(id, 'String');
0018 oidx = get(id, 'Value');
0019 
0020 objStr = ostr(oidx);
0021 
0022 id = findobj('Tag', 'methodInfoPanel');
0023 
0024 if length(oidx) == 1 
0025   s = help(char(objStr));
0026   set(id, 'String', s);
0027 end
0028

Generated on Mon 31-Mar-2008 13:54:54 by m2html © 2003