Mercurial > hg > ltpda
comparison 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 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:f0afece42f48 |
---|---|
1 % CB_CHANGEVERBOSITY change the LTPDA verbosity level via the LTPDAprefs | |
2 % interface. | |
3 % | |
4 % M Hewitson 31-01-09 | |
5 % | |
6 % $Id: cb_changeVerbosity.m,v 1.4 2010/08/16 18:03:43 ingo Exp $ | |
7 % | |
8 function cb_changeVerbosity(varargin) | |
9 | |
10 wb = varargin{1}; | |
11 jc = varargin{2}; | |
12 | |
13 val = jc.SelectedIndex - 1; | |
14 | |
15 warning('!!! Please remove this callback and change the preferences direct in the LTPDAworkbench') | |
16 | |
17 prefs = getappdata(0, 'LTPDApreferences'); | |
18 prefs.getDisplayPrefs.setDisplayVerboseLevel(java.lang.Integer(val)); | |
19 end |