% CB_CHANGEVERBOSITY change the LTPDA verbosity level via the LTPDAprefs
% interface.
%
% M Hewitson 31-01-09
%
% $Id: cb_changeVerbosity.m,v 1.4 2010/08/16 18:03:43 ingo Exp $
%
function cb_changeVerbosity(varargin)
  
  wb = varargin{1};
  jc = varargin{2};
  
  val = jc.SelectedIndex - 1;
  
  warning('!!! Please remove this callback and change the preferences direct in the LTPDAworkbench')
  
  prefs = getappdata(0, 'LTPDApreferences');
  prefs.getDisplayPrefs.setDisplayVerboseLevel(java.lang.Integer(val));
end
