function editWgt = privateslwidgetedit(name, prop, row, col, callback)
%PRIVATESLWIDGETEDIT generates dialog structure for edit field widgets
%
%    EDITWGT = PRIVATESLWIDGETEDIT(NAME, PROP, ROW, COL, CALLBACK) 
%    generates dialog structure for edit field widgets.
%

%    SS 03-03-07
%    Copyright 2007-2015 The MathWorks, Inc.
%    $Revision: 1.1.6.1 $  $Date: 2010/03/04 16:32:37 $

narginchk(5,5);

editWgt = privateslwidgetparamstruct('edit', name, prop);
editWgt.RowSpan = row;
editWgt.ColSpan = col;
editWgt.MatlabMethod = callback;
editWgt.MatlabArgs = {'%dialog','%value', '%tag'};
editWgt.DialogRefresh = false;