diff 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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/m-toolbox/classes/@LTPDAHelper/LTPDAHelper.m	Wed Nov 23 19:22:13 2011 +0100
@@ -0,0 +1,86 @@
+% LTPDAHelper is a graphical helper tool for creating LTPDA scripts.
+%
+% CALL: LTPDAHelper
+%
+% M Hewitson 16-12-10
+%
+% $Id: LTPDAHelper.m,v 1.1 2010/12/17 15:32:18 hewitson Exp $
+%
+classdef LTPDAHelper < handle
+  
+  properties (Constant = true)
+  end
+  
+  properties
+    gui = [];
+  end
+  
+  
+  methods
+    function mainfig = LTPDAHelper(varargin)
+      
+      
+      % -- load GUI
+            
+      % make a gui
+      mainfig.gui = javaObjectEDT('mpipeline.helper.HelperWindow');
+      
+      % upload the available functions
+      uploadFunctions(mainfig);
+      
+      %--- called when window is closed
+      h = handle(mainfig.gui, 'callbackproperties');
+      set(h, 'WindowClosedCallback', {@mainfig.cb_guiClosed});
+      
+      
+      % Make gui visible
+      mainfig.gui.setVisible(true);
+      
+    
+    end % End constructor
+    
+    function display(varargin)
+    end
+    
+  end % End public methods
+  
+  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+  %                            Methods (static)                               %
+  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+  methods (Static=true, Access=private) 
+    
+    
+  end
+  
+  methods (Static=true)
+    
+    %------------ add here the prototypes
+     varargout = generateFunctionList(varargin);
+    
+    
+  end
+  
+  
+  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+  %                         Methods (static, private)                         %
+  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+  methods (Access = private, Static=true)
+    
+    
+  end
+  
+  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+  %                         Methods (private)                                 %
+  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+  methods (Access = private)
+
+    cb_guiClosed(varargin)
+     varargout = uploadFunctions(varargin);
+    
+  end
+  
+end
+
+% END