spedas/gui/utilities/
spd_ui_check_overwrite_data.pro
Routines
top source spd_ui_check_overwrite_data
spd_ui_check_overwrite_data, new_var, loadedData, gui_id, statusBar, historyWin, overwrite_selection, overwrite_count, replay=replay, overwrite_selections=overwrite_selections
Name: spd_ui_check_overwrite_data Purpose: Used to check if data is already loaded in the GUI and queries the user to see if they want to overwrite data if it is already loaded. This code was originally repeated in basically every load routine, so the purpose for this routine is to avoid repeated code Input: new_var: the new variable loadedData: the loadedData object gui_id: widget ID of the parent widget statusBar: status bar object historyWin: history window object overwrite_selection: user's selection for the current query overwrite_count: tracking the number of overwrites for saving/replaying SPEDAS documents Keywords: replay: set by the calling routine if the user is replaying a SPEDAS document overwrite_selections: an array containing the user's selections ;$LastChangedBy: jimm $ $LastChangedDate: 2014-02-11 10:54:32 -0800 (Tue, 11 Feb 2014) $ $LastChangedRevision: 14326 $ $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/spdsoft/trunk/spedas/gui/utilities/spd_ui_check_overwrite_data.pro $
Parameters
- new_var
- loadedData
- gui_id
- statusBar
- historyWin
- overwrite_selection
- overwrite_count
Keywords
- replay
- overwrite_selections
File attributes
Modification date: | Thu Feb 13 16:41:47 2014 |
Lines: | 34 |