140129

Created cfgILABSecure: For handing ILAB-related functions.
- apOff:
- Disable SaccadeTable auto-plot checkbox function, and for checkmark.
- Store old auto plot value in UserData (for apOn)
- apOn:
- Enable and restore SaccadeTable auto-plot checkbox function.
- Old setting taken from UserData
- Clear UserData.

cfgParams:
- Added ‘reset’
- Added ‘setsacc’ for saccade-specific data, and table formatting
- Modified CFG.cfgheaders
'Start Code'
'Target Code'
'Trial Type'
'Start (ms)'
'End (ms)'
'Peak vel (deg/s)'
'Mean vel (deg/s)'
'SRT (ms)'
'Time-to-peak (ms)'
'Latency (ms)'
'Distance'
'Drop'
'Error'
- Modified CFG.cfgFormat:
'numeric'
'numeric'
'char'
'bank'
'bank'
'numeric'
'numeric'
'bank'
'bank'
'numeric'
'numeric'
'logical'
'logical'
- Modified CFG.cfgEditTable: All false except last two columns (drop &
error)
- Modified CFG.CFG_TAGS for initial/final table and text.
- Added CFG.cfgInitEmpty to initialize with appropriate format
- Added CFG.cfgColWidth = {45 60 'auto' 54 54 65 65 56 80 66 55 35 35};
- Will need to adjust these relative to screen size.  Keep in mind
header and data field widths.

ToDo:
- Modify CFG.(initial/final).table to contain CFG formatted data output.
Done
- Modify cfgParams (init) to adjust table data.  Include new header
information (column names), column format, and column edit information.
RowName is Trial #.  Change CFG.CFG_TAGS accordingly. Done
- Add drop/error columns to uitable, set as adjustable. Done
- Modify cfgShow hInitialHeader, hFinalHeader, hInitialListBox, and
hFinalListBox to be uitable() instead.  Use newly formatted
CFG.(initial/final).table data, header information, and adjust position.
Done
- Modify cfgParams (setsacc) to populate CFG.(initial/final).table. Done
- Add cfgShow method to update CFG.(initial/final).table information.
Broad update with handle values?
- Modify cfgSaccCB/addSelectCB() to use new cfgShow update method after
cfgParams(‘setsacc’).
- Unify drop/error vectors with uitable edits.  Add callbacks for data
table drop/err update
- Include “Are you sure?” text if selected saccade already has saccade
data inputted for that initial/final trial.
- Add method to cfgParams for loading experimental data. Write up
specifications.  Add file string to data structure.  Add ui text to
“General Info”.  Edit CFG.CFG_TAGS.  Maybe modify menu item (Import
trial data)