Home > m > gui > ltpdv > callbacks > ltpdv_workspaceList_select.m

ltpdv_workspaceList_select

PURPOSE ^

LTPDV_WORKSPACELIST_SELECT activates when the user selects cells in the

SYNOPSIS ^

function ltpdv_workspaceList_select(varargin)

DESCRIPTION ^

 LTPDV_WORKSPACELIST_SELECT activates when the user selects cells in the
 workspace object list on the import panel
 
 M Hewitson 22-04-08
 
 $Id: ltpdv_workspaceList_select.m,v 1.1 2008/05/11 10:38:43 hewitson Exp $

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function ltpdv_workspaceList_select(varargin)
0002 % LTPDV_WORKSPACELIST_SELECT activates when the user selects cells in the
0003 % workspace object list on the import panel
0004 %
0005 % M Hewitson 22-04-08
0006 %
0007 % $Id: ltpdv_workspaceList_select.m,v 1.1 2008/05/11 10:38:43 hewitson Exp $
0008 %
0009 
0010 % Handles
0011 myh     = varargin{1};
0012 mainfig = varargin{end};
0013 
0014 % Structure of selection details
0015 sel = varargin{2};
0016 
0017 % Get selected rows
0018 rows = unique(sel.Indices(:,1));
0019 setappdata(mainfig, 'ImportWorkspaceSelectedRows', rows);
0020 
0021 % END

Generated on Mon 08-Sep-2008 13:18:47 by m2html © 2003