Home > functions > common > utility > @file_dialog > private > drive_popup.m

drive_popup

PURPOSE ^

Driveを選択するpop-up menuのCallback関数

SYNOPSIS ^

function [] = drive_popup(obj, eventdata, dialog)

DESCRIPTION ^

 Driveを選択するpop-up menuのCallback関数

 Copyright (C) 2011, ATR All Rights Reserved.
 License : New BSD License(see VBMEG_LICENSE.txt)

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function [] = drive_popup(obj, eventdata, dialog)
0002 % Driveを選択するpop-up menuのCallback関数
0003 %
0004 % Copyright (C) 2011, ATR All Rights Reserved.
0005 % License : New BSD License(see VBMEG_LICENSE.txt)
0006 
0007 this = get(dialog, 'UserData');
0008 
0009 % current_dirveとcurrent_検索directoryを更新する。
0010 current_drive = get(this.private.gui_handles.drive_popup, 'Value');
0011 this.private.current_drive = current_drive;
0012 this.public.current_dir = this.private.drive_info(current_drive).cwd;
0013 
0014 this.private.current_file = {};
0015 
0016 % drive_info構造体を更新する。
0017 this = set_drive_info(this);
0018 
0019 % DialogのGUIのpropertyを更新する。
0020 set(dialog, 'UserData', this);
0021 set_gui_property(dialog);
0022

Generated on Tue 27-Aug-2013 11:46:04 by m2html © 2005