diff m-toolbox/classes/@LTPDAworkbench/cb_changeVerbosity.m @ 0:f0afece42f48

Import.
author Daniele Nicolodi <nicolodi@science.unitn.it>
date Wed, 23 Nov 2011 19:22:13 +0100
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/m-toolbox/classes/@LTPDAworkbench/cb_changeVerbosity.m	Wed Nov 23 19:22:13 2011 +0100
@@ -0,0 +1,19 @@
+% 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