Changeset 80 for aedes_juigetfiles.m


Ignore:
Timestamp:
Feb 20, 2009, 3:06:07 PM (10 years ago)
Author:
tjniskan
Message:
  • Changed the historical "an2_" prefix to "aedes_" in all files. NOTE:

Any script or function relying to Aedes functions will be broken
because of this. Just do a search/replace from "an2_" to "aedes_" in
your files and all should be well...

  • Changed the name of an2_readtab.m to a more informative

aedes_readphasetable.m

File:
1 moved

Legend:

Unmodified
Added
Removed
  • aedes_juigetfiles.m

    r78 r80  
    1 function [filename,filepath,filterindex] = an2_juigetfiles(filefilter,ftitle,defaultdir)
    2 % AN2_JUIGETFILES - A Java based file browser for selecting multiple files in
     1function [filename,filepath,filterindex] = aedes_juigetfiles(filefilter,ftitle,defaultdir)
     2% AEDES_JUIGETFILES - A Java based file browser for selecting multiple files in
    33% non-sorted order from different folders.
    44%   
    55%
    66% Synopsis:
    7 %       [FILENAME, PATHNAME, FILTERINDEX] = AN2_JUIGETFILES(FILTERSPEC,TITLE, DEFAULTPATH)
     7%       [FILENAME, PATHNAME, FILTERINDEX] = AEDES_JUIGETFILES(FILTERSPEC,TITLE, DEFAULTPATH)
    88%
    99% Description:
    10 %       The behavior of AN2_JUIGETFILES is very similar to UIGETFILE with a few
     10%       The behavior of AEDES_JUIGETFILES is very similar to UIGETFILE with a few
    1111%       exceptions. The UIGETFILE properties 'location' and 'multiselect'
    1212%       are not available. Output arguments FILENAME and PATHNAME will
     
    1818%       and unsupported functions. This is due to change from version to
    1919%       version and, thus, this function will probably be broken in future
    20 %       Matlab releases. At the moment, however, AN2_JUIGETFILES should
     20%       Matlab releases. At the moment, however, AEDES_JUIGETFILES should
    2121%       work with Matlab version from R14SP2 to R2007b.
    2222%
    2323% Examples:
    24 %       [filename, pathname, filterindex] = an2_juigetfiles( ...
     24%       [filename, pathname, filterindex] = aedes_juigetfiles( ...
    2525%       {'*.m;*.fig;*.mat;*.mdl', 'All MATLAB Files (*.m, *.fig, *.mat, *.mdl)';
    2626%        '*.m',  'M-files (*.m)'; ...
     
    6767%% Default colors and fonts for gui
    6868%FigColor=get(0,'DefaultUicontrolBackgroundcolor');
    69 GD=an2_gui_defaults;
     69GD=aedes_gui_defaults;
    7070FigColor = GD.col.mainfig;
    7171
     
    7878          'Name',ftitle, ...
    7979          'Numbertitle','off', ...
    80           'Tag','an2_juigetfiles_main_fig', ...
     80          'Tag','aedes_juigetfiles_main_fig', ...
    8181          'Color',FigColor,...%[236 233 216]./255,...%GD.col.mainfig, ...
    8282          'Toolbar','none', ...
     
    100100
    101101%% Try to find icon path
    102 tmp = which('an2_juigetfiles');
     102tmp = which('aedes_juigetfiles');
    103103if ~isempty(tmp)
    104104  [fp,fn,fe]=fileparts(tmp);
     
    362362% Close window
    363363delete(fig_h)
    364 clear an2_juigetfiles
     364clear aedes_juigetfiles
    365365return
    366366
     
    441441function l_ExpFcnAlt(h,evd,tree)
    442442
    443 H=getappdata(findall(0,'tag','an2_juigetfiles_main_fig'),'H');
     443H=getappdata(findall(0,'tag','aedes_juigetfiles_main_fig'),'H');
    444444set(H.fh,'pointer','watch')
    445445drawnow
     
    556556function l_DirNodeSelected(h,evd,tree,filetree)
    557557
    558 H=getappdata(findall(0,'tag','an2_juigetfiles_main_fig'),'H');
     558H=getappdata(findall(0,'tag','aedes_juigetfiles_main_fig'),'H');
    559559set(H.fh,'pointer','watch')
    560560drawnow
     
    806806
    807807% Get handles
    808 H=getappdata(findall(0,'tag','an2_juigetfiles_main_fig'),'H');
     808H=getappdata(findall(0,'tag','aedes_juigetfiles_main_fig'),'H');
    809809
    810810switch opt
     
    998998
    999999% Get handles
    1000 H=getappdata(findall(0,'tag','an2_juigetfiles_main_fig'),'H');
     1000H=getappdata(findall(0,'tag','aedes_juigetfiles_main_fig'),'H');
    10011001set(H.fh,'pointer','watch')
    10021002drawnow
     
    11441144
    11451145% Get handles
    1146 H=getappdata(findall(0,'tag','an2_juigetfiles_main_fig'),'H');
     1146H=getappdata(findall(0,'tag','aedes_juigetfiles_main_fig'),'H');
    11471147%set(H.back_btn,'enable','inactive')
    11481148%set(H.forward_btn,'enable','inactive')
Note: See TracChangeset for help on using the changeset viewer.

Powered by Trac 1.0.9.Copyright © Juha-Pekka Niskanen 2008