view m-toolbox/m/gui/ltpdv/callbacks/ltpdv_get_selected_objs.m @ 16:91f21a0aab35 database-connection-manager

Update utils.jquery * * * Update utils.jmysql.getsinfo
author Daniele Nicolodi <nicolodi@science.unitn.it>
date Mon, 05 Dec 2011 16:20:06 +0100
parents f0afece42f48
children
line wrap: on
line source

function objs = ltpdv_get_selected_objs(mainfig)

% LTPDV_GET_SELECTED_OBJS gets the selected objects from the object list.
% 
% M Hewitson 22-04-08
% 
% $Id: ltpdv_get_selected_objs.m,v 1.1 2008/05/11 10:38:43 hewitson Exp $
% 

% Get selected rows
rows = getappdata(mainfig, 'ObjectListSelectedRows');
% Get current object list
objs = getappdata(mainfig, 'LTPDAobjects');
% Return required objects
objs = objs(rows);

% END