Mercurial > hg > ltpda
view m-toolbox/classes/@LTPDAworkbench/cb_changeVerbosity.m @ 47:dd93c9ba6624 database-connection-manager
Fix Java dialog
author | Daniele Nicolodi <nicolodi@science.unitn.it> |
---|---|
date | Tue, 06 Dec 2011 19:07:27 +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