Mercurial > hg > ltpda
comparison m-toolbox/classes/@LTPDAHelper/LTPDAHelper.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 % LTPDAHelper is a graphical helper tool for creating LTPDA scripts. | |
2 % | |
3 % CALL: LTPDAHelper | |
4 % | |
5 % M Hewitson 16-12-10 | |
6 % | |
7 % $Id: LTPDAHelper.m,v 1.1 2010/12/17 15:32:18 hewitson Exp $ | |
8 % | |
9 classdef LTPDAHelper < handle | |
10 | |
11 properties (Constant = true) | |
12 end | |
13 | |
14 properties | |
15 gui = []; | |
16 end | |
17 | |
18 | |
19 methods | |
20 function mainfig = LTPDAHelper(varargin) | |
21 | |
22 | |
23 % -- load GUI | |
24 | |
25 % make a gui | |
26 mainfig.gui = javaObjectEDT('mpipeline.helper.HelperWindow'); | |
27 | |
28 % upload the available functions | |
29 uploadFunctions(mainfig); | |
30 | |
31 %--- called when window is closed | |
32 h = handle(mainfig.gui, 'callbackproperties'); | |
33 set(h, 'WindowClosedCallback', {@mainfig.cb_guiClosed}); | |
34 | |
35 | |
36 % Make gui visible | |
37 mainfig.gui.setVisible(true); | |
38 | |
39 | |
40 end % End constructor | |
41 | |
42 function display(varargin) | |
43 end | |
44 | |
45 end % End public methods | |
46 | |
47 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
48 % Methods (static) % | |
49 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
50 | |
51 methods (Static=true, Access=private) | |
52 | |
53 | |
54 end | |
55 | |
56 methods (Static=true) | |
57 | |
58 %------------ add here the prototypes | |
59 varargout = generateFunctionList(varargin); | |
60 | |
61 | |
62 end | |
63 | |
64 | |
65 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
66 % Methods (static, private) % | |
67 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
68 methods (Access = private, Static=true) | |
69 | |
70 | |
71 end | |
72 | |
73 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
74 % Methods (private) % | |
75 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
76 | |
77 methods (Access = private) | |
78 | |
79 cb_guiClosed(varargin) | |
80 varargout = uploadFunctions(varargin); | |
81 | |
82 end | |
83 | |
84 end | |
85 | |
86 % END |