diff m-toolbox/classes/@constructor/constructor.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/@constructor/constructor.m	Wed Nov 23 19:22:13 2011 +0100
@@ -0,0 +1,47 @@
+% CONSTRUCTOR is a graphical user interface for building LTPDA objects.
+%
+% CALL: constructor
+%       constructor(h) % build the model viewer in the figure with handle, h.
+%
+% M Hewitson 24-11-08
+%
+% $Id: constructor.m,v 1.2 2011/04/08 08:56:35 hewitson Exp $
+%
+classdef constructor < handle
+
+  properties
+    handle      = [];
+    signals     = [];
+  end
+  properties (SetAccess=private, GetAccess=private)
+    Gproperties = [];
+    SigSelected = [];
+  end
+  
+  methods
+    function mainfig = constructor(varargin)
+      % Build the main figure
+      mainfig = buildMainfig(mainfig, varargin{:});      
+      % Make the GUI visible.
+      set(mainfig.handle,'Visible','on')
+    end
+  end % End public methods
+
+  methods (Static=true)
+    % Main figure
+    varargout = cb_mainfigClose(varargin)  
+    varargout = cb_selectClass(varargin)
+    varargout = cb_selectSet(varargin)
+    varargout = buildObj(varargin)
+  end
+  
+  methods (Access = private)    
+    varargout = buildMainfig(varargin);
+  end
+  
+  methods (Access = public)
+  end
+  
+end
+
+% END