140214

2/13/14

- cfgUISecure.m:
- Added ilabShowSaccadeTblCB(‘autoplot’) to nested apForceOff, needed to
empty saccade plot callback
- Note: Do not do this for apForceOn.  Manually adding a callback that
includes ilabPlotSaccade on clicks
- ‘anyselect’: Added clearSelection execution to both UI tables.
- Assuming that when row selection is released, it is safe to clear
selection
- ‘mainuioff’
- Restrict TrialList, TrialSlider, and ShowVelPlotBox
- ‘mainuion’
- Allow TrialList, TrialSlider, and ShowVelPlotBox
- cfgSaccCB.m:
- ‘add’: Added cfgUISecure(‘clearilabplot’) and
cfgUISecure(‘apForceOff’)
- Keeping initial ilab plotting-related functions at upper levels
- cfgSaccCB.m/addDblClickCB:
- Removed src.clearSelection
- **Change all Java output to double for ILAB.  It comes out as int32.**
- Moved cfgUISecure(‘anyselect’) to occur ass soon as valid selection
occurs
- Does not effect later row selection detectio because that is set in
user data
- Moved cfgUISecure(‘clearuitablecb’) to occur as soon as valid
selection occurs
- Added cfgUISecure(‘mainUIOff’) to restrict controls prior to slider
controls
- Changes UI trial-related items to selected trial.
- Would like to put this in UISecure, but don’t want to pass selected
row as argument.
- Also, don’t want to have cfgUISecure search for UserData because
cfgAddNew is searching and clearing that.
- Ultimately, will need to use for plotting also.
- Added cfgUISecure(‘mainUIOn’), cfgUISecure(‘apReturn’) and
cfgUISecure(‘clearsaccaction’) to end.  These are the things I want to
occur last in the chain of events.  Also, consistent with placement in
other nested function, addSelectCB.
- cfgAddNew.m:
- Moved cfgUISecure(‘anyselect’) before function action occurs.  Clear
UI table selection as soon as selection retrieval occurs
- Removed cfgUISecure(‘clearsaccaction’)
- Issues with Multislider:
- Uses main figure window UserData to capture mouse “CurrentPoint”,
among other things
- Doesn’t parameterize to do required actions.
- Produces errors when not clicking on axes figure.

Need more information:
- Include new function, clearing saccades prior to “delay” event.
- Needs to happen after latency files have been added, so after saccade
generation occurs.
- Warning, manipulates original saccade data
- See ilabEditSaccadeCB.m/updateSaccadeTbl(AP)
- “Add” function: Possible to add view changes to main UI plots while
choosing which trial to add a saccade.  However, this is an additional
automated feature and can be forgone if unnecessary
- Currently, saccade plots are simply cleared.
- Implement in cfgSaccCB.m/addDblClickCB, under single click conditional
statements
- Use of Fixation/ROIs/Relative Movement/Pupil features

Known bugs:
- Double-clicking doesn’t capture correctly depending on sequence of
clicks.  Can fix, but repeatedly clicking on a trial will work.