Mercurial > hg > ltpda
comparison m-toolbox/classes/@LTPDAprefs/cb_removeExtensionPath.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_removeExtensionPath callback for removing a extensions path | |
2 % | |
3 % Parameters: | |
4 % first - LTPDAprefs object | |
5 % second - Source object (here: JButton) | |
6 % third - Event Object (here: ActionEvent) | |
7 % | |
8 % Version: | |
9 % $Id: cb_removeExtensionPath.m,v 1.3 2011/02/07 13:31:37 ingo Exp $ | |
10 % | |
11 | |
12 function cb_removeExtensionPath(varargin) | |
13 disp('removing path'); | |
14 ltpdaPrefs = varargin{1}; | |
15 removePaths = char(ltpdaPrefs.gui.getPrefsTabPane().getExtensionsPanel().getRemovePaths()); | |
16 if ~isempty(removePaths) | |
17 for ii =1:size(removePaths,1) | |
18 p = strtrim(removePaths(ii,:)); | |
19 utils.helper.uninstallExtensionsForDir(p); | |
20 end | |
21 end | |
22 end |