comparison m-toolbox/classes/@LTPDAprefs/cb_guiClosed.m @ 26:ce4df2e95a55 database-connection-manager

Remove LTPDARepositoryManager initialization
author Daniele Nicolodi <nicolodi@science.unitn.it>
date Mon, 05 Dec 2011 16:20:06 +0100
parents f0afece42f48
children
comparison
equal deleted inserted replaced
25:79dc7091dbbc 26:ce4df2e95a55
8 % Version: 8 % Version:
9 % $Id: cb_guiClosed.m,v 1.4 2011/04/27 12:45:49 hewitson Exp $ 9 % $Id: cb_guiClosed.m,v 1.4 2011/04/27 12:45:49 hewitson Exp $
10 % 10 %
11 11
12 function cb_guiClosed(varargin) 12 function cb_guiClosed(varargin)
13 disp('*** Goodbye from LTPDAprefs');
14 ltpdaPrefs = varargin{1}; 13 ltpdaPrefs = varargin{1};
15 14
16 if ~isempty(ltpdaPrefs) && isvalid(ltpdaPrefs) 15 if ~isempty(ltpdaPrefs) && isvalid(ltpdaPrefs)
17 % fprintf(2, 'deleting handles\n');
18 %--- called when window is closed 16 %--- called when window is closed
19 h = handle(ltpdaPrefs.gui, 'callbackproperties'); 17 h = handle(ltpdaPrefs.gui, 'callbackproperties');
20 set(h, 'WindowClosedCallback', []); 18 set(h, 'WindowClosedCallback', []);
21 %--- Add extension path button 19 %--- Add extension path button
22 h = handle(ltpdaPrefs.gui.getPrefsTabPane().getExtensionsPanel().getAddPathBtn(), 'callbackproperties'); 20 h = handle(ltpdaPrefs.gui.getPrefsTabPane().getExtensionsPanel().getAddPathBtn(), 'callbackproperties');