view m-toolbox/m/gui/ltpdv/callbacks/ltpdv_build_class_select.m @ 27:29276498ebdb
database-connection-manager
Remove LTPDARepositoryManager implementation
* * *
Remove GUI helper
author
Daniele Nicolodi <nicolodi@science.unitn.it>
date
Mon, 05 Dec 2011 16:20:06 +0100 (2011-12-05)
parents
f0afece42f48
children
line source
+ − % LTPDV_BUILD_CLASS_SELECT callback when the user selects the class
+ − % of object to build
+ − %
+ − % M Hewitson 26-08-08
+ − %
+ − % $Id: ltpdv_build_class_select.m,v 1.1 2008/09/02 07:51:47 hewitson Exp $
+ − %
+ −
+ − function ltpdv_build_class_select(varargin)
+ −
+ − % Handles
+ − myh = varargin{1};
+ − mainfig = varargin{end};
+ −
+ − % Fill in the set selector list
+ − sh = findobj(mainfig, 'Tag', 'LTPDVbuildSetSelect');
+ −
+ − % Get the selected class
+ − cl = ltpdv_build_get_selected_class(mainfig);
+ −
+ − % Get info object
+ − ii = eval([cl '.getInfo']);
+ −
+ − % Set sets
+ − set(sh, 'Value', 1);
+ − set(sh, 'String', ii.sets);
+ −
+ − % Callback
+ − ltpdv_build_set_select(sh, mainfig)
+ −
+ − end