- Timestamp:
- 2003-10-03T14:07:35+12:00 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/collection/SaveCollectionTask.java
r4675 r5564 1 package org.greenstone.gatherer.collection;2 1 /** 3 2 *######################################################################### … … 36 35 *######################################################################## 37 36 */ 37 package org.greenstone.gatherer.collection; 38 38 39 import java.io.*; 39 40 import java.util.*; 40 41 import javax.swing.*; 41 42 import org.greenstone.gatherer.Gatherer; 42 import org.greenstone.gatherer.Message;43 43 import org.greenstone.gatherer.collection.Collection; 44 import org.greenstone.gatherer.gui.GUIManager;45 import org.greenstone.gatherer.undo.UndoManager;46 44 import org.greenstone.gatherer.util.Utility; 45 47 46 /** The actually saving of a collection must run in a thread other than the AWTEvent thread, or else the save progress box will never get updated. To that end this class provides a threaded save method, which saves the various parts of the collection to the appropriate disk location. 48 47 * @author John Thompson, Greenstone Digital Library, University of Waikato … … 111 110 // Create progress monitor box. It will display itself as necessary. 112 111 // WARNING: ProgressMonitors seem to be extremely dodgy, and are not recommended! 113 // ProgressMonitor spd = new ProgressMonitor(Gatherer.g_man, Gatherer.dictionary.get("SaveProgressDialog.Title", collection.getName()), null, 0, 100);112 // ProgressMonitor spd = new ProgressMonitor(Gatherer.g_man, Dictionary.newget("SaveProgressDialog.Title", collection.getName()), null, 0, 100); 114 113 // spd.setMillisToDecideToPopup(100); 115 114 // spd.setMillisToPopup(100);
Note:
See TracChangeset
for help on using the changeset viewer.