view m-toolbox/classes/@LTPDAworkbench/cb_changeVerbosity.m @ 21:8be9deffe989 database-connection-manager

Update ltpda_uo.update
author Daniele Nicolodi <nicolodi@science.unitn.it>
date Mon, 05 Dec 2011 16:20:06 +0100
parents f0afece42f48
children
line wrap: on
line source

% 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