function A = doclick(A)
%CELLTEXT/DOCLICK

%   Copyright (c) 1984-98 by The MathWorks, Inc.
%   $Revision: 1.5 $  $Date: 1997/12/06 00:40:19 $


figH = get(A,'Figure');
figObjH = getobj(figH);
selType = figObjH.SelectionType;

selected = get(A,'IsSelected');

switch selType
case 'open'
   set(A,'Editing','on');
case 'normal'
   % select parent cell
   myCell = get(A,'MyBin');
   doclick(myCell);
case 'extend'
   % add to selection
end
   
