view m-toolbox/classes/@LTPDAHelper/LTPDAHelper.m @ 34:03d92954b939 database-connection-manager

Improve look of LTPDAPreferences diaolog
author Daniele Nicolodi <nicolodi@science.unitn.it>
date Mon, 05 Dec 2011 16:20:06 +0100
parents f0afece42f48
children
line wrap: on
line source

% 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