Changeset 8243
- Timestamp:
- 2004-10-08T13:20:01+13:00 (20 years ago)
- Location:
- trunk/gli/src/org/greenstone/gatherer
- Files:
-
- 104 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/cdm/Argument.java
r8236 r8243 37 37 import org.greenstone.gatherer.DebugStream; 38 38 import org.greenstone.gatherer.Gatherer; 39 import org.greenstone.gatherer.cdm.CollectionConfiguration;40 39 import org.greenstone.gatherer.collection.Collection; 41 40 import org.greenstone.gatherer.collection.CollectionManager; -
trunk/gli/src/org/greenstone/gatherer/cdm/ArgumentConfiguration.java
r8236 r8243 35 35 import org.greenstone.gatherer.Dictionary; 36 36 import org.greenstone.gatherer.Gatherer; 37 import org.greenstone.gatherer.cdm.Argument;38 import org.greenstone.gatherer.cdm.ArgumentContainer;39 import org.greenstone.gatherer.cdm.Classifier;40 import org.greenstone.gatherer.cdm.CollectionDesignManager;41 import org.greenstone.gatherer.cdm.PlugIn;42 37 import org.greenstone.gatherer.gui.GComboBox; 43 38 import org.greenstone.gatherer.gui.GLIButton; -
trunk/gli/src/org/greenstone/gatherer/cdm/Classifier.java
r8240 r8243 34 34 import java.io.*; 35 35 import java.util.*; 36 import org.greenstone.gatherer.cdm.Argument;37 import org.greenstone.gatherer.cdm.ArgumentContainer;38 import org.greenstone.gatherer.cdm.CollectionConfiguration;39 import org.greenstone.gatherer.cdm.CollectionDesignManager;40 import org.greenstone.gatherer.cdm.DOMProxyListEntry;41 36 import org.greenstone.gatherer.util.StaticStrings; 42 37 import org.greenstone.gatherer.util.Utility; -
trunk/gli/src/org/greenstone/gatherer/cdm/ClassifierManager.java
r8236 r8243 40 40 import org.greenstone.gatherer.Dictionary; 41 41 import org.greenstone.gatherer.Gatherer; 42 import org.greenstone.gatherer.cdm.Argument;43 import org.greenstone.gatherer.cdm.CollectionConfiguration;44 import org.greenstone.gatherer.cdm.CollectionDesignManager;45 import org.greenstone.gatherer.cdm.CommandTokenizer;46 import org.greenstone.gatherer.cdm.Control;47 import org.greenstone.gatherer.cdm.Classifier;48 import org.greenstone.gatherer.cdm.DOMProxyListModel;49 42 import org.greenstone.gatherer.file.FileNode; 50 43 import org.greenstone.gatherer.gui.GComboBox; -
trunk/gli/src/org/greenstone/gatherer/cdm/CollectionConfiguration.java
r8236 r8243 35 35 import org.greenstone.gatherer.DebugStream; 36 36 import org.greenstone.gatherer.Gatherer; 37 import org.greenstone.gatherer.cdm.CommandTokenizer;38 37 import org.greenstone.gatherer.gui.GLIButton; 39 38 import org.greenstone.gatherer.util.DOMTree; -
trunk/gli/src/org/greenstone/gatherer/cdm/CollectionDesignManager.java
r8236 r8243 35 35 import org.greenstone.gatherer.DebugStream; 36 36 import org.greenstone.gatherer.Gatherer; 37 import org.greenstone.gatherer.cdm.ClassifierManager;38 import org.greenstone.gatherer.cdm.CollectionConfiguration;39 import org.greenstone.gatherer.cdm.CollectionMetaManager;40 import org.greenstone.gatherer.cdm.FormatManager;41 import org.greenstone.gatherer.cdm.GeneralManager;42 import org.greenstone.gatherer.cdm.IndexManager;43 import org.greenstone.gatherer.cdm.MetadataSetView;44 import org.greenstone.gatherer.cdm.PlugInManager;45 import org.greenstone.gatherer.cdm.SubcollectionManager;46 import org.greenstone.gatherer.cdm.TranslationView;47 37 import org.greenstone.gatherer.util.GSDLSiteConfig; 48 38 import org.greenstone.gatherer.util.Utility; -
trunk/gli/src/org/greenstone/gatherer/cdm/CollectionMeta.java
r8240 r8243 28 28 29 29 import org.greenstone.gatherer.Configuration; 30 import org.greenstone.gatherer.cdm.CollectionConfiguration;31 import org.greenstone.gatherer.cdm.CollectionDesignManager;32 import org.greenstone.gatherer.cdm.DOMProxyListEntry;33 import org.greenstone.gatherer.cdm.Index;34 30 import org.greenstone.gatherer.util.Codec; 35 31 import org.greenstone.gatherer.util.StaticStrings; -
trunk/gli/src/org/greenstone/gatherer/cdm/CollectionMetaManager.java
r8236 r8243 35 35 import org.greenstone.gatherer.DebugStream; 36 36 import org.greenstone.gatherer.Gatherer; 37 import org.greenstone.gatherer.cdm.CollectionDesignManager;38 import org.greenstone.gatherer.cdm.CollectionMeta;39 import org.greenstone.gatherer.cdm.DOMProxyListModel;40 import org.greenstone.gatherer.cdm.Index;41 37 import org.greenstone.gatherer.util.StaticStrings; 42 38 import org.greenstone.gatherer.util.Utility; -
trunk/gli/src/org/greenstone/gatherer/cdm/DOMProxyListModel.java
r8240 r8243 29 29 import java.util.*; 30 30 import javax.swing.*; 31 import org.greenstone.gatherer.cdm.DOMProxyListEntry;32 31 import org.w3c.dom.*; 33 32 -
trunk/gli/src/org/greenstone/gatherer/cdm/Format.java
r8015 r8243 32 32 * 14/07/03 - DOM Support 33 33 **************************************************************************************/ 34 import org.greenstone.gatherer.cdm.CollectionConfiguration;35 import org.greenstone.gatherer.cdm.CollectionDesignManager;36 import org.greenstone.gatherer.cdm.Classifier;37 import org.greenstone.gatherer.cdm.DOMProxyListEntry;38 34 import org.greenstone.gatherer.util.Codec; 39 35 import org.greenstone.gatherer.util.XMLTools; -
trunk/gli/src/org/greenstone/gatherer/cdm/FormatManager.java
r8236 r8243 41 41 import org.greenstone.gatherer.Dictionary; 42 42 import org.greenstone.gatherer.Gatherer; 43 import org.greenstone.gatherer.cdm.Classifier;44 import org.greenstone.gatherer.cdm.ClassifierManager;45 import org.greenstone.gatherer.cdm.CollectionConfiguration;46 import org.greenstone.gatherer.cdm.CollectionDesignManager;47 import org.greenstone.gatherer.cdm.CommandTokenizer;48 import org.greenstone.gatherer.cdm.Control;49 import org.greenstone.gatherer.cdm.DOMProxyListModel;50 import org.greenstone.gatherer.cdm.Format;51 43 import org.greenstone.gatherer.gui.GLIButton; 52 44 import org.greenstone.gatherer.msm.ElementWrapper; -
trunk/gli/src/org/greenstone/gatherer/cdm/GeneralManager.java
r8236 r8243 39 39 import org.greenstone.gatherer.Dictionary; 40 40 import org.greenstone.gatherer.Gatherer; 41 import org.greenstone.gatherer.cdm.CollectionConfiguration;42 import org.greenstone.gatherer.cdm.CollectionDesignManager;43 import org.greenstone.gatherer.cdm.Control;44 41 import org.greenstone.gatherer.gui.EmailField; 45 42 import org.greenstone.gatherer.gui.GLIButton; -
trunk/gli/src/org/greenstone/gatherer/cdm/Index.java
r8236 r8243 30 30 import org.greenstone.gatherer.DebugStream; 31 31 import org.greenstone.gatherer.Gatherer; 32 import org.greenstone.gatherer.cdm.CollectionConfiguration;33 import org.greenstone.gatherer.cdm.CollectionDesignManager;34 import org.greenstone.gatherer.cdm.CollectionMeta;35 import org.greenstone.gatherer.cdm.DOMProxyListEntry;36 32 import org.greenstone.gatherer.msm.ElementWrapper; 37 33 import org.greenstone.gatherer.util.StaticStrings; -
trunk/gli/src/org/greenstone/gatherer/cdm/IndexManager.java
r8236 r8243 36 36 import org.greenstone.gatherer.Dictionary; 37 37 import org.greenstone.gatherer.Gatherer; 38 import org.greenstone.gatherer.cdm.CollectionMeta;39 import org.greenstone.gatherer.cdm.CommandTokenizer;40 import org.greenstone.gatherer.cdm.Control;41 import org.greenstone.gatherer.cdm.DOMProxyListModel;42 import org.greenstone.gatherer.cdm.Index;43 38 import org.greenstone.gatherer.checklist.CheckList; 44 39 import org.greenstone.gatherer.gui.GComboBox; -
trunk/gli/src/org/greenstone/gatherer/cdm/Language.java
r7997 r8243 28 28 29 29 30 import org.greenstone.gatherer.cdm.CollectionConfiguration;31 import org.greenstone.gatherer.cdm.CollectionDesignManager;32 import org.greenstone.gatherer.cdm.DOMProxyListEntry;33 30 import org.w3c.dom.*; 34 31 -
trunk/gli/src/org/greenstone/gatherer/cdm/LanguageListCellRenderer.java
r5590 r8243 33 33 import java.awt.*; 34 34 import javax.swing.*; 35 import org.greenstone.gatherer.cdm.CollectionDesignManager;36 35 37 36 /** Provides a renderer which transforms a language code (such as en or fr) into its appropriate name (English and French respectively) before generating the rubberstamping component. */ -
trunk/gli/src/org/greenstone/gatherer/cdm/LanguageManager.java
r8236 r8243 42 42 import org.greenstone.gatherer.Dictionary; 43 43 import org.greenstone.gatherer.Gatherer; 44 import org.greenstone.gatherer.cdm.CollectionConfiguration;45 import org.greenstone.gatherer.cdm.CollectionDesignManager;46 import org.greenstone.gatherer.cdm.Control;47 import org.greenstone.gatherer.cdm.DOMProxyListModel;48 import org.greenstone.gatherer.cdm.Language;49 import org.greenstone.gatherer.cdm.LanguageListCellRenderer;50 44 import org.greenstone.gatherer.gui.GLIButton; 51 45 import org.greenstone.gatherer.util.Utility; -
trunk/gli/src/org/greenstone/gatherer/cdm/Level.java
r8240 r8243 31 31 * Revised: 32 32 **************************************************************************************/ 33 import org.greenstone.gatherer.cdm.CollectionConfiguration;34 import org.greenstone.gatherer.cdm.CollectionDesignManager;35 import org.greenstone.gatherer.cdm.DOMProxyListEntry;36 33 import org.w3c.dom.*; 37 34 -
trunk/gli/src/org/greenstone/gatherer/cdm/MetadataSetView.java
r8236 r8243 36 36 import org.greenstone.gatherer.Dictionary; 37 37 import org.greenstone.gatherer.Gatherer; 38 import org.greenstone.gatherer.cdm.CollectionDesignManager;39 import org.greenstone.gatherer.cdm.Control;40 import org.greenstone.gatherer.cdm.ElementWrapper;41 38 import org.greenstone.gatherer.gui.GLIButton; 42 39 import org.greenstone.gatherer.mem.MetadataEditorManager; -
trunk/gli/src/org/greenstone/gatherer/cdm/PlugIn.java
r8240 r8243 29 29 import java.io.*; 30 30 import java.util.*; 31 import org.greenstone.gatherer.cdm.Argument;32 import org.greenstone.gatherer.cdm.ArgumentContainer;33 import org.greenstone.gatherer.cdm.DOMProxyListEntry;34 31 import org.greenstone.gatherer.util.StaticStrings; 35 32 import org.w3c.dom.*; -
trunk/gli/src/org/greenstone/gatherer/cdm/PlugInManager.java
r8236 r8243 41 41 import org.greenstone.gatherer.Dictionary; 42 42 import org.greenstone.gatherer.Gatherer; 43 import org.greenstone.gatherer.cdm.Argument;44 import org.greenstone.gatherer.cdm.ArgumentConfiguration;45 import org.greenstone.gatherer.cdm.CollectionDesignManager;46 import org.greenstone.gatherer.cdm.CommandTokenizer;47 import org.greenstone.gatherer.cdm.Control;48 import org.greenstone.gatherer.cdm.PlugIn;49 43 import org.greenstone.gatherer.gui.GComboBox; 50 44 import org.greenstone.gatherer.gui.GLIButton; -
trunk/gli/src/org/greenstone/gatherer/cdm/SearchType.java
r8240 r8243 31 31 * Revised: 32 32 **************************************************************************************/ 33 import org.greenstone.gatherer.cdm.CollectionConfiguration;34 import org.greenstone.gatherer.cdm.CollectionDesignManager;35 import org.greenstone.gatherer.cdm.DOMProxyListEntry;36 33 import org.w3c.dom.*; 37 34 -
trunk/gli/src/org/greenstone/gatherer/cdm/SearchTypeManager.java
r8236 r8243 40 40 import org.greenstone.gatherer.Dictionary; 41 41 import org.greenstone.gatherer.Gatherer; 42 import org.greenstone.gatherer.cdm.CollectionConfiguration;43 import org.greenstone.gatherer.cdm.CollectionDesignManager;44 import org.greenstone.gatherer.cdm.Control;45 import org.greenstone.gatherer.cdm.SearchType;46 import org.greenstone.gatherer.cdm.DOMProxyListModel;47 42 import org.greenstone.gatherer.gui.GComboBox; 48 43 import org.greenstone.gatherer.gui.GLIButton; -
trunk/gli/src/org/greenstone/gatherer/cdm/Subcollection.java
r8015 r8243 28 28 29 29 import org.greenstone.gatherer.Gatherer; 30 import org.greenstone.gatherer.cdm.CollectionConfiguration;31 import org.greenstone.gatherer.cdm.CollectionDesignManager;32 import org.greenstone.gatherer.cdm.DOMProxyListEntry;33 30 import org.greenstone.gatherer.msm.ElementWrapper; 34 31 import org.greenstone.gatherer.util.StaticStrings; -
trunk/gli/src/org/greenstone/gatherer/cdm/SubcollectionIndex.java
r8240 r8243 29 29 import java.util.*; 30 30 import org.greenstone.gatherer.DebugStream; 31 import org.greenstone.gatherer.cdm.CollectionConfiguration;32 import org.greenstone.gatherer.cdm.CollectionDesignManager;33 import org.greenstone.gatherer.cdm.CollectionMeta;34 import org.greenstone.gatherer.cdm.DOMProxyListEntry;35 31 import org.greenstone.gatherer.util.StaticStrings; 36 32 import org.greenstone.gatherer.util.Utility; -
trunk/gli/src/org/greenstone/gatherer/cdm/SubcollectionIndexManager.java
r8236 r8243 36 36 import org.greenstone.gatherer.Dictionary; 37 37 import org.greenstone.gatherer.Gatherer; 38 import org.greenstone.gatherer.cdm.CollectionConfiguration;39 import org.greenstone.gatherer.cdm.CollectionDesignManager;40 import org.greenstone.gatherer.cdm.Control;41 import org.greenstone.gatherer.cdm.DOMProxyListModel;42 import org.greenstone.gatherer.cdm.Subcollection;43 import org.greenstone.gatherer.cdm.SubcollectionIndex;44 38 import org.greenstone.gatherer.gui.GLIButton; 45 39 import org.greenstone.gatherer.util.ExclusiveListSelectionListener; -
trunk/gli/src/org/greenstone/gatherer/cdm/SubcollectionManager.java
r8236 r8243 40 40 import org.greenstone.gatherer.Dictionary; 41 41 import org.greenstone.gatherer.Gatherer; 42 import org.greenstone.gatherer.cdm.CollectionConfiguration;43 import org.greenstone.gatherer.cdm.CollectionDesignManager;44 import org.greenstone.gatherer.cdm.Control;45 import org.greenstone.gatherer.cdm.DOMProxyListModel;46 import org.greenstone.gatherer.cdm.Subcollection;47 42 import org.greenstone.gatherer.gui.GLIButton; 48 43 import org.greenstone.gatherer.gui.NonWhitespaceField; -
trunk/gli/src/org/greenstone/gatherer/cdm/SuperCollection.java
r5590 r8243 31 31 * Revised: 32 32 **************************************************************************************/ 33 import org.greenstone.gatherer.cdm.CollectionConfiguration;34 import org.greenstone.gatherer.cdm.DOMProxyListEntry;35 33 import org.w3c.dom.Element; 36 34 -
trunk/gli/src/org/greenstone/gatherer/cdm/SuperCollectionManager.java
r8236 r8243 36 36 import org.greenstone.gatherer.Dictionary; 37 37 import org.greenstone.gatherer.Gatherer; 38 import org.greenstone.gatherer.cdm.DOMProxyListModel;39 38 import org.greenstone.gatherer.checklist.CheckList; 40 39 import org.greenstone.gatherer.checklist.Entry; -
trunk/gli/src/org/greenstone/gatherer/cdm/TranslationView.java
r8240 r8243 36 36 import org.greenstone.gatherer.DebugStream; 37 37 import org.greenstone.gatherer.Dictionary; 38 import org.greenstone.gatherer.cdm.CollectionConfiguration;39 import org.greenstone.gatherer.cdm.CollectionDesignManager;40 import org.greenstone.gatherer.cdm.CollectionMeta;41 import org.greenstone.gatherer.cdm.Control;42 import org.greenstone.gatherer.cdm.Index;43 import org.greenstone.gatherer.cdm.LanguageListCellRenderer;44 import org.greenstone.gatherer.cdm.SubcollectionIndex;45 38 import org.greenstone.gatherer.gui.GLIButton; 46 39 -
trunk/gli/src/org/greenstone/gatherer/checklist/CheckList.java
r6383 r8243 49 49 import javax.swing.*; 50 50 import javax.swing.border.*; 51 import org.greenstone.gatherer.checklist.Entry;52 51 53 52 /** This class provides a visual component that has the form of a list, as provided by JList but uses JCheckBox for data selection. Thus several elements can be 'ticked' in the list, and this selection returned using the method getSelected().<BR>Parts of this code modified from Trevor Harmon's posting on www.dejanews.com. -
trunk/gli/src/org/greenstone/gatherer/collection/Collection.java
r8236 r8243 47 47 import org.greenstone.gatherer.cdm.CollectionMeta; 48 48 import org.greenstone.gatherer.cdm.CollectionMetaManager; 49 import org.greenstone.gatherer.collection.BuildOptions;50 import org.greenstone.gatherer.collection.BasicCollectionConfiguration;51 import org.greenstone.gatherer.collection.CollectionManager;52 49 import org.greenstone.gatherer.file.FileNode; 53 50 import org.greenstone.gatherer.msm.MetadataXMLFileManager; -
trunk/gli/src/org/greenstone/gatherer/collection/CollectionManager.java
r8236 r8243 53 53 import org.greenstone.gatherer.cdm.CollectionMetaManager; 54 54 import org.greenstone.gatherer.cdm.CommandTokenizer; 55 import org.greenstone.gatherer.collection.Collection;56 import org.greenstone.gatherer.collection.SaveCollectionTask;57 55 import org.greenstone.gatherer.file.FileNode; 58 56 import org.greenstone.gatherer.file.FileQueue; -
trunk/gli/src/org/greenstone/gatherer/collection/DeleteCollectionPrompt.java
r8236 r8243 47 47 import org.greenstone.gatherer.Dictionary; 48 48 import org.greenstone.gatherer.Gatherer; 49 import org.greenstone.gatherer.collection.BasicCollectionConfiguration;50 import org.greenstone.gatherer.collection.Collection;51 49 import org.greenstone.gatherer.gui.GLIButton; 52 50 import org.greenstone.gatherer.gui.ModalDialog; -
trunk/gli/src/org/greenstone/gatherer/collection/ExportCollectionPrompt.java
r8236 r8243 49 49 import org.greenstone.gatherer.checklist.CheckList; 50 50 import org.greenstone.gatherer.checklist.Entry; 51 import org.greenstone.gatherer.collection.BasicCollectionConfiguration;52 import org.greenstone.gatherer.collection.Collection;53 51 import org.greenstone.gatherer.gui.GLIButton; 54 52 import org.greenstone.gatherer.gui.ModalDialog; -
trunk/gli/src/org/greenstone/gatherer/collection/SaveCollectionTask.java
r8236 r8243 43 43 import org.greenstone.gatherer.DebugStream; 44 44 import org.greenstone.gatherer.Gatherer; 45 import org.greenstone.gatherer.collection.Collection;46 45 import org.greenstone.gatherer.util.Utility; 47 46 -
trunk/gli/src/org/greenstone/gatherer/file/FileJob.java
r8240 r8243 28 28 29 29 import javax.swing.tree.*; 30 import org.greenstone.gatherer.file.FileNode;31 import org.greenstone.gatherer.file.FileSystemModel;32 30 import org.greenstone.gatherer.util.DragComponent; 33 31 -
trunk/gli/src/org/greenstone/gatherer/file/FileManager.java
r8041 r8243 41 41 import org.greenstone.gatherer.Dictionary; 42 42 import org.greenstone.gatherer.Gatherer; 43 import org.greenstone.gatherer.file.FileNode;44 import org.greenstone.gatherer.file.FileQueue;45 import org.greenstone.gatherer.file.RecycleBin;46 43 import org.greenstone.gatherer.gui.LongProgressBar; 47 44 import org.greenstone.gatherer.gui.NewFolderPrompt; -
trunk/gli/src/org/greenstone/gatherer/file/FileNode.java
r8236 r8243 13 13 import org.greenstone.gatherer.collection.BasicCollectionConfiguration; 14 14 import org.greenstone.gatherer.collection.Collection; 15 import org.greenstone.gatherer.file.FileFilter;16 import org.greenstone.gatherer.file.FileSystemModel;17 15 import org.greenstone.gatherer.util.ArrayTools; 18 16 import org.greenstone.gatherer.util.StaticStrings; -
trunk/gli/src/org/greenstone/gatherer/file/FileOpenActionListener.java
r6387 r8243 43 43 import javax.swing.tree.*; 44 44 import org.greenstone.gatherer.Gatherer; 45 import org.greenstone.gatherer.file.FileNode;46 45 47 46 /** This class listens for mouse clicks and responds to double-clicks (spawn a new application to view the selected file) and right mouse button clicks (popup menu). -
trunk/gli/src/org/greenstone/gatherer/file/FileQueue.java
r8236 r8243 36 36 import org.greenstone.gatherer.Dictionary; 37 37 import org.greenstone.gatherer.Gatherer; 38 import org.greenstone.gatherer.file.FileJob;39 import org.greenstone.gatherer.file.FileNode;40 38 import org.greenstone.gatherer.gui.LongProgressBar; 41 39 import org.greenstone.gatherer.gui.tree.DragTree; -
trunk/gli/src/org/greenstone/gatherer/file/FileSystem.java
r8236 r8243 5 5 import org.greenstone.gatherer.DebugStream; 6 6 import org.greenstone.gatherer.Dictionary; 7 import org.greenstone.gatherer.file.FileNode;8 7 import org.greenstone.gatherer.util.ArrayTools; 9 8 import org.greenstone.gatherer.util.Utility; -
trunk/gli/src/org/greenstone/gatherer/file/FileSystemModel.java
r8236 r8243 9 9 import org.greenstone.gatherer.Dictionary; 10 10 import org.greenstone.gatherer.Gatherer; 11 import org.greenstone.gatherer.file.FileFilter;12 import org.greenstone.gatherer.file.FileNode;13 import org.greenstone.gatherer.file.FileOpenActionListener;14 11 import org.greenstone.gatherer.gui.tree.DragTree; 15 12 import org.greenstone.gatherer.util.SynchronizedTreeModelTools; -
trunk/gli/src/org/greenstone/gatherer/file/RecycleBin.java
r8231 r8243 48 48 import org.greenstone.gatherer.Configuration; 49 49 import org.greenstone.gatherer.Gatherer; 50 import org.greenstone.gatherer.file.FileNode;51 import org.greenstone.gatherer.file.FileSystemModel;52 50 import org.greenstone.gatherer.util.DragComponent; 53 51 import org.greenstone.gatherer.util.DragGroup; -
trunk/gli/src/org/greenstone/gatherer/file/WorkspaceTreeModel.java
r8236 r8243 5 5 import org.greenstone.gatherer.Gatherer; 6 6 import org.greenstone.gatherer.collection.CollectionManager; 7 import org.greenstone.gatherer.file.FileNode;8 7 import org.greenstone.gatherer.gui.MirrorPane; 9 8 import org.greenstone.gatherer.util.SynchronizedTreeModelTools; -
trunk/gli/src/org/greenstone/gatherer/gui/AboutDialog.java
r8240 r8243 35 35 import javax.swing.*; 36 36 import org.greenstone.gatherer.Dictionary; 37 import org.greenstone.gatherer.gui.GLIButton;38 37 import org.greenstone.gatherer.util.Utility; 39 38 -
trunk/gli/src/org/greenstone/gatherer/gui/ComboArea.java
r5589 r8243 43 43 import jp.gr.java_conf.tame.swing.combobox.*; 44 44 import org.greenstone.gatherer.Gatherer; 45 import org.greenstone.gatherer.gui.SmarterTextArea;46 45 import org.greenstone.gatherer.util.Utility; 47 46 -
trunk/gli/src/org/greenstone/gatherer/gui/CreatePane.java
r8231 r8243 50 50 import org.greenstone.gatherer.collection.BuildOptions; 51 51 import org.greenstone.gatherer.collection.Collection; 52 import org.greenstone.gatherer.gui.GLIButton;53 import org.greenstone.gatherer.gui.OptionsPane;54 52 import org.greenstone.gatherer.shell.GBasicProgressMonitor; 55 53 import org.greenstone.gatherer.shell.GBuildProgressMonitor; -
trunk/gli/src/org/greenstone/gatherer/gui/DownloadProgressBar.java
r7689 r8243 44 44 import org.greenstone.gatherer.Gatherer; 45 45 import org.greenstone.gatherer.collection.DownloadJob; 46 import org.greenstone.gatherer.gui.GLIButton;47 46 import org.greenstone.gatherer.util.AppendLineOnlyFileDocument; 48 47 import org.greenstone.gatherer.util.Utility; -
trunk/gli/src/org/greenstone/gatherer/gui/EditorDialog.java
r8231 r8243 43 43 import org.greenstone.gatherer.Dictionary; 44 44 import org.greenstone.gatherer.Gatherer; 45 import org.greenstone.gatherer.gui.GLIButton;46 import org.greenstone.gatherer.gui.SimpleMenuBar;47 import org.greenstone.gatherer.gui.ModalDialog;48 45 49 46 /** A class that extends a JDialog into a editor for editing large block of text for the metadata value. -
trunk/gli/src/org/greenstone/gatherer/gui/EnrichPane.java
r8236 r8243 51 51 import org.greenstone.gatherer.Gatherer; 52 52 import org.greenstone.gatherer.file.FileNode; 53 import org.greenstone.gatherer.gui.Filter;54 import org.greenstone.gatherer.gui.GComboBox;55 import org.greenstone.gatherer.gui.GLIButton;56 import org.greenstone.gatherer.gui.MetaEditPrompt;57 import org.greenstone.gatherer.gui.WarningDialog;58 53 import org.greenstone.gatherer.gui.table.GTableModel; 59 54 import org.greenstone.gatherer.gui.table.TableCellRenderer; -
trunk/gli/src/org/greenstone/gatherer/gui/ExternalCollectionPrompt.java
r8231 r8243 46 46 import org.greenstone.gatherer.Dictionary; 47 47 import org.greenstone.gatherer.Gatherer; 48 import org.greenstone.gatherer.gui.GLIButton;49 import org.greenstone.gatherer.gui.SimpleMenuBar;50 import org.greenstone.gatherer.gui.ModalDialog;51 48 52 49 // this has been changed to not offer the choice of a new metadata set, cos I haven't made this work properly. -
trunk/gli/src/org/greenstone/gatherer/gui/FileAssociationDialog.java
r8231 r8243 49 49 import org.greenstone.gatherer.Gatherer; 50 50 import org.greenstone.gatherer.file.FileAssociationManager; 51 import org.greenstone.gatherer.gui.GLIButton;52 import org.greenstone.gatherer.gui.ModalDialog;53 import org.greenstone.gatherer.gui.NonWhitespaceField;54 import org.greenstone.gatherer.gui.OpenCollectionDialog;55 import org.greenstone.gatherer.gui.SimpleMenuBar;56 51 import org.greenstone.gatherer.util.TableUtils; 57 52 import org.greenstone.gatherer.util.Utility; -
trunk/gli/src/org/greenstone/gatherer/gui/GUIManager.java
r8236 r8243 59 59 import org.greenstone.gatherer.file.FileNode; 60 60 import org.greenstone.gatherer.file.FileOpenActionListener; 61 import org.greenstone.gatherer.gui.AboutDialog;62 import org.greenstone.gatherer.gui.GatherPane;63 import org.greenstone.gatherer.gui.CreatePane;64 import org.greenstone.gatherer.gui.Filter;65 import org.greenstone.gatherer.gui.DesignPane;66 import org.greenstone.gatherer.gui.MenuBar;67 import org.greenstone.gatherer.gui.EnrichPane;68 import org.greenstone.gatherer.gui.MirrorPane;69 import org.greenstone.gatherer.gui.OpenCollectionDialog;70 import org.greenstone.gatherer.gui.Preferences;71 import org.greenstone.gatherer.gui.SimpleOpenCollectionDialog;72 61 import org.greenstone.gatherer.gui.metaaudit.MetaAuditFrame; 73 62 import org.greenstone.gatherer.gui.tree.DragTree; -
trunk/gli/src/org/greenstone/gatherer/gui/GatherPane.java
r8236 r8243 53 53 import org.greenstone.gatherer.file.FileSystemModel; 54 54 import org.greenstone.gatherer.file.RecycleBin; 55 import org.greenstone.gatherer.gui.Filter;56 import org.greenstone.gatherer.gui.GComboBox;57 import org.greenstone.gatherer.gui.GLIButton;58 55 import org.greenstone.gatherer.gui.tree.DragTree; 59 56 import org.greenstone.gatherer.gui.tree.WorkspaceTree; -
trunk/gli/src/org/greenstone/gatherer/gui/LockFileDialog.java
r8240 r8243 43 43 import org.greenstone.gatherer.Configuration; 44 44 import org.greenstone.gatherer.Dictionary; 45 import org.greenstone.gatherer.gui.GLIButton;46 import org.greenstone.gatherer.gui.SimpleMenuBar;47 import org.greenstone.gatherer.gui.ModalDialog;48 45 import org.greenstone.gatherer.util.Utility; 49 46 import org.greenstone.gatherer.util.XMLTools; -
trunk/gli/src/org/greenstone/gatherer/gui/MetaEditPrompt.java
r8231 r8243 34 34 import org.greenstone.gatherer.Dictionary; 35 35 import org.greenstone.gatherer.Gatherer; 36 import org.greenstone.gatherer.gui.GLIButton;37 import org.greenstone.gatherer.gui.SimpleMenuBar;38 import org.greenstone.gatherer.gui.ModalDialog;39 36 import org.greenstone.gatherer.util.Utility; 40 37 -
trunk/gli/src/org/greenstone/gatherer/gui/MirrorPane.java
r8231 r8243 51 51 import org.greenstone.gatherer.WGet; 52 52 import org.greenstone.gatherer.file.FileNode; 53 import org.greenstone.gatherer.gui.GLIButton;54 import org.greenstone.gatherer.gui.Preferences;55 53 import org.greenstone.gatherer.gui.tree.WorkspaceTree; 56 54 import org.greenstone.gatherer.util.StaticStrings; -
trunk/gli/src/org/greenstone/gatherer/gui/NewCollectionDetailsPrompt.java
r8231 r8243 38 38 import org.greenstone.gatherer.Gatherer; 39 39 import org.greenstone.gatherer.collection.BasicCollectionConfiguration; 40 import org.greenstone.gatherer.gui.GLIButton;41 import org.greenstone.gatherer.gui.SimpleMenuBar;42 import org.greenstone.gatherer.gui.ModalDialog;43 40 import org.greenstone.gatherer.util.StaticStrings; 44 41 import org.greenstone.gatherer.util.Utility; -
trunk/gli/src/org/greenstone/gatherer/gui/NewCollectionMetadataPrompt.java
r8231 r8243 38 38 import org.greenstone.gatherer.checklist.CheckList; 39 39 import org.greenstone.gatherer.checklist.Entry; 40 import org.greenstone.gatherer.gui.GLIButton;41 import org.greenstone.gatherer.gui.SimpleMenuBar;42 import org.greenstone.gatherer.gui.ModalDialog;43 40 import org.greenstone.gatherer.cdm.ElementWrapper; 44 41 import org.greenstone.gatherer.msm.MetadataSet; -
trunk/gli/src/org/greenstone/gatherer/gui/NewFolderPrompt.java
r8231 r8243 45 45 import org.greenstone.gatherer.Gatherer; 46 46 import org.greenstone.gatherer.file.FileNode; 47 import org.greenstone.gatherer.gui.GLIButton;48 47 49 48 public class NewFolderPrompt -
trunk/gli/src/org/greenstone/gatherer/gui/NewMetaSetPrompt.java
r8231 r8243 46 46 import org.greenstone.gatherer.Dictionary; 47 47 import org.greenstone.gatherer.Gatherer; 48 import org.greenstone.gatherer.gui.GLIButton;49 import org.greenstone.gatherer.gui.ModalDialog;50 48 51 49 /** this class is pretty much copied from an inner class of MEM - AddSetActionListener. At some stage the two should be merged so there is only one copy of the code. */ -
trunk/gli/src/org/greenstone/gatherer/gui/Preferences.java
r8231 r8243 43 43 import org.greenstone.gatherer.checklist.Entry; 44 44 import org.greenstone.gatherer.collection.Collection; 45 import org.greenstone.gatherer.gui.EmailField;46 import org.greenstone.gatherer.gui.GLIButton;47 import org.greenstone.gatherer.gui.ModalDialog;48 import org.greenstone.gatherer.gui.SimpleMenuBar;49 45 import org.greenstone.gatherer.gui.tree.DragTree; 50 46 import org.greenstone.gatherer.util.ArrayTools; // just for debug -
trunk/gli/src/org/greenstone/gatherer/gui/PreviewCommandDialog.java
r8231 r8243 48 48 import org.greenstone.gatherer.Dictionary; 49 49 import org.greenstone.gatherer.Gatherer; 50 import org.greenstone.gatherer.gui.GLIButton;51 import org.greenstone.gatherer.gui.ModalDialog;52 import org.greenstone.gatherer.gui.OpenCollectionDialog;53 import org.greenstone.gatherer.gui.SimpleMenuBar;54 50 import org.greenstone.gatherer.util.Utility; 55 51 -
trunk/gli/src/org/greenstone/gatherer/gui/SimpleOpenCollectionDialog.java
r8231 r8243 37 37 import org.greenstone.gatherer.Gatherer; 38 38 import org.greenstone.gatherer.collection.BasicCollectionConfiguration; 39 import org.greenstone.gatherer.gui.GLIButton;40 import org.greenstone.gatherer.gui.ModalDialog;41 39 import org.greenstone.gatherer.util.StaticStrings; 42 40 import org.greenstone.gatherer.util.Utility; -
trunk/gli/src/org/greenstone/gatherer/gui/WarningDialog.java
r8231 r8243 33 33 import org.greenstone.gatherer.Dictionary; 34 34 import org.greenstone.gatherer.Gatherer; 35 import org.greenstone.gatherer.gui.GLIButton;36 35 import org.greenstone.gatherer.util.Utility; 37 36 -
trunk/gli/src/org/greenstone/gatherer/gui/metaaudit/AutofilterDialog.java
r8231 r8243 45 45 import org.greenstone.gatherer.Gatherer; 46 46 import org.greenstone.gatherer.gui.GLIButton; 47 import org.greenstone.gatherer.gui.metaaudit.Autofilter;48 import org.greenstone.gatherer.gui.metaaudit.Filter;49 import org.greenstone.gatherer.gui.metaaudit.MetaAuditFrame;50 47 import org.greenstone.gatherer.gui.SimpleMenuBar; 51 48 import org.greenstone.gatherer.gui.ModalDialog; -
trunk/gli/src/org/greenstone/gatherer/gui/metaaudit/Filter.java
r5589 r8243 51 51 import java.util.Vector; 52 52 import javax.swing.table.TableModel; 53 import org.greenstone.gatherer.gui.metaaudit.Autofilter;54 53 55 54 /** This class essentially manages the autofilters applied to the metaaudit table. -
trunk/gli/src/org/greenstone/gatherer/gui/metaaudit/HeaderListener.java
r6221 r8243 50 50 import java.awt.event.MouseEvent; 51 51 import java.util.ArrayList; 52 import org.greenstone.gatherer.gui.metaaudit.MetaAuditFrame;53 import org.greenstone.gatherer.gui.metaaudit.MetaAuditTable;54 52 55 53 public class HeaderListener -
trunk/gli/src/org/greenstone/gatherer/gui/metaaudit/HeaderRenderer.java
r8240 r8243 41 41 import javax.swing.table.TableCellRenderer; 42 42 import org.greenstone.gatherer.Dictionary; 43 import org.greenstone.gatherer.gui.metaaudit.MetaAuditTable;44 43 import org.greenstone.gatherer.util.Utility; 45 44 -
trunk/gli/src/org/greenstone/gatherer/gui/metaaudit/MetaAuditTable.java
r8240 r8243 44 44 import javax.swing.table.*; 45 45 import org.greenstone.gatherer.file.FileNode; 46 import org.greenstone.gatherer.gui.metaaudit.Filter; 47 import org.greenstone.gatherer.gui.metaaudit.HeaderListener; 48 import org.greenstone.gatherer.gui.metaaudit.HeaderRenderer; 49 import org.greenstone.gatherer.gui.metaaudit.MetaAuditFrame; 50 import org.greenstone.gatherer.gui.metaaudit.MetaAuditModel; 51 import org.greenstone.gatherer.gui.metaaudit.MetaAuditRenderer; 46 52 47 /** 53 48 * @author John Thompson, Greenstone Digital Library, University of Waikato -
trunk/gli/src/org/greenstone/gatherer/mem/MEMNode.java
r8236 r8243 45 45 import org.greenstone.gatherer.Gatherer; 46 46 import org.greenstone.gatherer.collection.BasicCollectionConfiguration; 47 import org.greenstone.gatherer.mem.AttributeTableModel;48 47 import org.greenstone.gatherer.msm.ElementWrapper; 49 48 import org.greenstone.gatherer.msm.MetadataSet; -
trunk/gli/src/org/greenstone/gatherer/mem/MetadataEditorManager.java
r8231 r8243 57 57 import org.greenstone.gatherer.gui.NonWhitespaceField; 58 58 import org.greenstone.gatherer.gui.TransformCharacterTextField; 59 import org.greenstone.gatherer.mem.Attribute;60 import org.greenstone.gatherer.mem.AttributeTableModel;61 import org.greenstone.gatherer.mem.MEMNode;62 59 import org.greenstone.gatherer.msm.ElementWrapper; 63 60 import org.greenstone.gatherer.msm.MetadataSet; -
trunk/gli/src/org/greenstone/gatherer/msm/ElementWrapper.java
r7540 r8243 45 45 **************************************************************************************/ 46 46 import java.util.TreeSet; 47 import org.greenstone.gatherer.msm.MSMUtils;48 47 import org.greenstone.gatherer.util.StaticStrings; 49 48 import org.greenstone.gatherer.util.Troolean; -
trunk/gli/src/org/greenstone/gatherer/msm/ExistingMetadataLoader.java
r8240 r8243 42 42 import org.greenstone.gatherer.DebugStream; 43 43 import org.greenstone.gatherer.file.FileNode; 44 import org.greenstone.gatherer.msm.MetadataParser;45 44 import org.greenstone.gatherer.util.Utility; 46 45 /** Attempts to locate and import any metadata already attatched to files about to be imported. This entire function is part of a critical file copy and so must be fast and reliable (or at least recover nicely when things go wrong). Futhermore this process must be aware of concerns such as previous greenstone collections having metadata sets that could be immediately imported, or hierarchy files needed to turn indexes into something more meaningful. We also must allow for the extensibility of this class to include custom metadata objects such as MARK records etc. -
trunk/gli/src/org/greenstone/gatherer/msm/ExportMDSPrompt.java
r8231 r8243 45 45 import org.greenstone.gatherer.Dictionary; 46 46 import org.greenstone.gatherer.Gatherer; 47 import org.greenstone.gatherer.msm.MetadataSet;48 import org.greenstone.gatherer.msm.MetadataSetManager;49 47 import org.greenstone.gatherer.util.Utility; 50 48 import org.greenstone.gatherer.gui.GLIButton; -
trunk/gli/src/org/greenstone/gatherer/msm/GreenstoneArchiveParser.java
r8236 r8243 47 47 import org.greenstone.gatherer.collection.CollectionManager; 48 48 import org.greenstone.gatherer.file.FileNode; 49 import org.greenstone.gatherer.msm.ElementWrapper;50 import org.greenstone.gatherer.msm.MetadataSet;51 import org.greenstone.gatherer.msm.MetadataSetManager;52 import org.greenstone.gatherer.msm.MSMUtils;53 49 import org.greenstone.gatherer.shell.GShell; 54 50 import org.greenstone.gatherer.shell.GShellProgressMonitor; -
trunk/gli/src/org/greenstone/gatherer/msm/LegacyCollectionImporter.java
r8236 r8243 36 36 import org.greenstone.gatherer.cdm.Classifier; 37 37 import org.greenstone.gatherer.cdm.CollectionDesignManager; 38 import org.greenstone.gatherer.msm.ElementWrapper;39 import org.greenstone.gatherer.msm.MetadataSetManager;40 38 import org.greenstone.gatherer.util.StaticStrings; 41 39 import org.greenstone.gatherer.util.Utility; -
trunk/gli/src/org/greenstone/gatherer/msm/MSMAction.java
r6770 r8243 37 37 package org.greenstone.gatherer.msm; 38 38 39 /** 40 * Title: The Gatherer<br> 41 * Description: The Gatherer: a tool for gathering and enriching digital collections.<br> 42 * Copyright: Copyright (c) 2001<br> 43 * Company: The University of Waikato<br> 44 * Written: /04/02<br> 45 * @author John Thompson, Greenstone Digital Libraries 46 * @version 2.1 47 */ 48 import org.greenstone.gatherer.msm.Declarations; 49 import org.greenstone.gatherer.msm.MetadataSetManager; 39 50 40 /** This class provides all the information required to correctly perform metadata actions, with regard to the users previously indicated preferences in terms of importing and renaming. */ 51 41 final public class MSMAction { -
trunk/gli/src/org/greenstone/gatherer/msm/MSMAdapter.java
r5589 r8243 37 37 package org.greenstone.gatherer.msm; 38 38 39 /**************************************************************************************40 * Title: Gatherer41 * Description: The Gatherer: a tool for gathering and enriching a digital collection.42 * Copyright: Copyright (c) 200143 * Company: The University of Waikato44 * Written: 22/07/0245 * Revised:46 * @author John Thompson, 982650947 * @version 2.348 **************************************************************************************/49 import org.greenstone.gatherer.msm.MSMEvent;50 import org.greenstone.gatherer.msm.MSMListener;51 39 52 40 /** The default adapter for a MSMListener doesn't actually do anything, thus users can override whatever methods they want. */ -
trunk/gli/src/org/greenstone/gatherer/msm/MSMEvent.java
r5990 r8243 37 37 package org.greenstone.gatherer.msm; 38 38 39 /** 40 * Title: The Gatherer<br> 41 * Description: The Gatherer: a tool for gathering and enriching digital collections.<br> 42 * Copyright: Copyright (c) 2001<br> 43 * Company: The University of Waikato<br> 44 * @author John Thompson, Greenstone Digital Libraries 45 * @version 2.1 46 */ 39 47 40 import java.awt.AWTEvent; 48 41 import java.io.*; 49 42 import org.greenstone.gatherer.file.FileNode; 50 import org.greenstone.gatherer.msm.ElementWrapper;51 import org.greenstone.gatherer.msm.Metadata;52 import org.greenstone.gatherer.msm.MSMAction;53 43 import org.greenstone.gatherer.valuetree.GValueModel; 54 44 /** An event object which contains useful information about the event that generated it, which in this case is probably an element update (this means a MSMAction object should be provided). */ -
trunk/gli/src/org/greenstone/gatherer/msm/MSMListener.java
r5589 r8243 37 37 package org.greenstone.gatherer.msm; 38 38 39 /**40 * Title: The Gatherer<br>41 * Description: The Gatherer: a tool for gathering and enriching digital collections.<br>42 * Copyright: Copyright (c) 2001<br>43 * Company: The University of Waikato<br>44 * @author John Thompson, Greenstone Digital Libraries45 * @version 2.146 */47 import org.greenstone.gatherer.msm.MSMEvent;48 39 49 40 /** This class provides an interface for classes who wish to listener for events within the <strong>MetadataSetManager</strong>. There are events which are fired whenever a set or an element within a set changes. The events are either very broad, of the <i>metadataSetChanged()</i> variaty down to the more explicit <i>elementChanged(Profile change)</i> which actually details what change occured so the GUI etc can update just that element. */ -
trunk/gli/src/org/greenstone/gatherer/msm/MSMProfiler.java
r8236 r8243 41 41 import org.greenstone.gatherer.DebugStream; 42 42 import org.greenstone.gatherer.Gatherer; 43 import org.greenstone.gatherer.msm.MSMAdapter;44 43 import org.greenstone.gatherer.util.HashMap3D; 45 44 import org.greenstone.gatherer.util.Utility; -
trunk/gli/src/org/greenstone/gatherer/msm/MSMPrompt.java
r8231 r8243 49 49 import org.greenstone.gatherer.gui.ModalDialog; 50 50 import org.greenstone.gatherer.gui.SimpleMenuBar; 51 import org.greenstone.gatherer.msm.Declarations;52 import org.greenstone.gatherer.msm.MetadataSet;53 import org.greenstone.gatherer.msm.MetadataSetManager;54 import org.greenstone.gatherer.msm.MSMUtils;55 51 import org.greenstone.gatherer.util.ArrayTools; 56 52 import org.w3c.dom.*; -
trunk/gli/src/org/greenstone/gatherer/msm/MSMUtils.java
r8231 r8243 43 43 import org.greenstone.gatherer.cdm.CommandTokenizer; 44 44 import org.greenstone.gatherer.mem.Attribute; 45 import org.greenstone.gatherer.msm.MetadataSet;46 45 import org.greenstone.gatherer.util.ArrayTools; 47 46 import org.greenstone.gatherer.util.StaticStrings; -
trunk/gli/src/org/greenstone/gatherer/msm/Metadata.java
r7290 r8243 41 41 import org.greenstone.gatherer.collection.Collection; 42 42 import org.greenstone.gatherer.collection.CollectionManager; 43 import org.greenstone.gatherer.msm.ElementWrapper;44 import org.greenstone.gatherer.msm.MetadataSetManager;45 43 import org.greenstone.gatherer.valuetree.GValueModel; 46 44 import org.greenstone.gatherer.valuetree.GValueNode; -
trunk/gli/src/org/greenstone/gatherer/msm/MetadataSetManager.java
r8236 r8243 50 50 import org.greenstone.gatherer.gui.MetaEditPrompt; 51 51 import org.greenstone.gatherer.mem.MetadataEditorManager; 52 import org.greenstone.gatherer.msm.Declarations;53 import org.greenstone.gatherer.msm.MDSFileFilter;54 import org.greenstone.gatherer.msm.MetadataSet;55 import org.greenstone.gatherer.msm.MSMAction;56 import org.greenstone.gatherer.msm.MSMEvent;57 import org.greenstone.gatherer.msm.MSMPrompt;58 import org.greenstone.gatherer.msm.MSMUtils;59 52 import org.greenstone.gatherer.valuetree.GValueModel; 60 53 import org.greenstone.gatherer.valuetree.GValueNode; -
trunk/gli/src/org/greenstone/gatherer/msm/MetadataXMLFile.java
r8236 r8243 31 31 import org.greenstone.gatherer.DebugStream; 32 32 import org.greenstone.gatherer.Gatherer; 33 import org.greenstone.gatherer.msm.MetadataXMLFileManager;34 import org.greenstone.gatherer.msm.MSMUtils;35 33 import org.greenstone.gatherer.util.Codec; 36 34 import org.greenstone.gatherer.util.HashMap3D; -
trunk/gli/src/org/greenstone/gatherer/msm/MetadataXMLFileManager.java
r8236 r8243 49 49 import org.greenstone.gatherer.gui.GLIButton; 50 50 import org.greenstone.gatherer.gui.MetaEditPrompt; 51 import org.greenstone.gatherer.msm.ElementWrapper;52 import org.greenstone.gatherer.msm.MetadataXMLFile;53 import org.greenstone.gatherer.msm.MetadataXMLFileParser;54 import org.greenstone.gatherer.msm.Metadata;55 import org.greenstone.gatherer.msm.MSMEvent;56 import org.greenstone.gatherer.msm.MSMListener;57 51 import org.greenstone.gatherer.util.DOMTree; 58 52 import org.greenstone.gatherer.util.HashMap3D; -
trunk/gli/src/org/greenstone/gatherer/shell/GBasicProgressMonitor.java
r7924 r8243 37 37 package org.greenstone.gatherer.shell; 38 38 39 /** Title: The Gatherer<br>40 * Description: The Gatherer: a tool for gathering and enriching digital collections.<br>41 * Copyright: Copyright (c) 2001<br>42 * Company: The University of Waikato<br>43 * Written: / /01<br>44 * Revised: 12/05/02 - Commented<br>45 * 29/05/02 - Moved into correct package<br>46 * @author John Thompson, Greenstone Digital Libraries47 * @version 2.1 */48 39 49 40 import java.awt.Component; 50 41 import java.util.ArrayList; 51 42 import javax.swing.JProgressBar; 52 import org.greenstone.gatherer.shell.GShellEvent;53 import org.greenstone.gatherer.shell.GShellProgressMonitor;54 43 55 44 /** This is the most basic implementation of <i>GShellProgressMonitor</i> in that it doesn't even attempt to parse the process messages. Instead it has one graphic which is displayed once the start() method is called, and another which appears after the stop(). -
trunk/gli/src/org/greenstone/gatherer/shell/GBuildProgressMonitor.java
r8236 r8243 45 45 import org.greenstone.gatherer.Gatherer; 46 46 import org.greenstone.gatherer.cdm.CollectionDesignManager; 47 import org.greenstone.gatherer.shell.GImportProgressMonitor;48 import org.greenstone.gatherer.shell.GShellElement;49 import org.greenstone.gatherer.shell.GShellEvent;50 import org.greenstone.gatherer.shell.GShellProgressMonitor;51 47 import org.greenstone.gatherer.util.StaticStrings; 52 48 /** This implementation of <i>GShellProgressMonitor</i> is designed to parse and translate the progress of a buildcol.pl call. -
trunk/gli/src/org/greenstone/gatherer/shell/GImportProgressMonitor.java
r8236 r8243 38 38 39 39 import java.awt.Component; 40 import java.util.ArrayList; 41 import java.util.StringTokenizer; 40 import java.util.*; 42 41 import javax.swing.JProgressBar; 43 42 import org.greenstone.gatherer.Configuration; … … 45 44 import org.greenstone.gatherer.Dictionary; 46 45 import org.greenstone.gatherer.Gatherer; 47 import org.greenstone.gatherer.shell.GShellElement;48 import org.greenstone.gatherer.shell.GShellProgressMonitor;49 46 import org.greenstone.gatherer.util.StaticStrings; 50 47 -
trunk/gli/src/org/greenstone/gatherer/shell/GShell.java
r8236 r8243 53 53 import org.greenstone.gatherer.cdm.CollectionMeta; 54 54 import org.greenstone.gatherer.msm.GreenstoneArchiveParser; 55 import org.greenstone.gatherer.shell.GShellListener;56 import org.greenstone.gatherer.shell.GShellProgressMonitor;57 55 import org.greenstone.gatherer.util.StaticStrings; 58 56 import org.greenstone.gatherer.util.Utility; -
trunk/gli/src/org/greenstone/gatherer/shell/GShellProgressMonitor.java
r7924 r8243 51 51 import java.util.ArrayList; 52 52 import javax.swing.JProgressBar; 53 import org.greenstone.gatherer.shell.GShellEvent;54 53 55 54 /** When implemented, this interface allows another class to monitor the progress of a <strong>GShell</strong> process. Specifically implementing classes should be designed to take the textual output from the process and then translate that message into some quanitive measure of progress which can then be shown on the progress bar. -
trunk/gli/src/org/greenstone/gatherer/util/AppendLineOnlyFileDocument.java
r8240 r8243 40 40 import org.greenstone.gatherer.DebugStream; 41 41 import org.greenstone.gatherer.gui.GLIButton; 42 import org.greenstone.gatherer.util.StaticStrings;43 42 44 43 /** A Document whose underlying data is stored in a RandomAccessFile, and whose Element implementations lack the memory hogging problems associated with anything that extends the AbstractDocument class. This Document, for reasons of time constraints and sanity, only provides an editting ability of appending new lines to the end of the current document, perfect for our logging needs, completely useless for text editing purposes. Furthermore, since the append actions tend to somewhat swamp the IO, I'll temporarily store strings in the structure model, and write them out using a separate thread. -
trunk/gli/src/org/greenstone/gatherer/util/AppendLineOnlyFileDocumentOwner.java
r6382 r8243 31 31 package org.greenstone.gatherer.util; 32 32 33 import org.greenstone.gatherer.util.AppendLineOnlyFileDocument; 33 34 34 /** Any class that wants to act as the owner of an AppendLineOnlyFileDocument has to implement this. 35 35 * @author John Thompson, Greenstone Project, New Zealand Digital Library, University of Waikato -
trunk/gli/src/org/greenstone/gatherer/util/Codec.java
r8240 r8243 26 26 */ 27 27 package org.greenstone.gatherer.util; 28 /************************************************************************* 29 * Written: 17-08-03 30 ************************************************************************/ 28 31 29 import java.util.*; 32 import org.greenstone.gatherer.util.Utility; 30 33 31 /** Provides a standard, extensible way to convert from one format of string to another (given that each format has differing requirements regarding legal characters and escaped characters) 34 32 * @author John Thompson, Greenstone Digital Library, University of Waikato -
trunk/gli/src/org/greenstone/gatherer/util/DefaultSynchronizedTreeNode.java
r5581 r8243 3 3 import javax.swing.*; 4 4 import javax.swing.tree.*; 5 import org.greenstone.gatherer.util.SynchronizedTreeNode;6 5 7 6 public class DefaultSynchronizedTreeNode -
trunk/gli/src/org/greenstone/gatherer/util/DragComponent.java
r4674 r8243 49 49 import javax.swing.tree.*; 50 50 import org.greenstone.gatherer.file.FileSystemModel; 51 import org.greenstone.gatherer.util.DragGroup; 51 52 52 /** Any component that wants to act a GTree like drag'n'drop component must implement this. */ 53 53 public interface DragComponent { -
trunk/gli/src/org/greenstone/gatherer/util/DragGroup.java
r6387 r8243 36 36 */ 37 37 package org.greenstone.gatherer.util; 38 /** 39 * Title: Gatherer<br> 40 * Description: The Gatherer: a tool for gathering and enriching a digital collection.<br> 41 * Copyright: Copyright (c) 2001<br> 42 * Company: The University of Waikato<br> 43 * Written: / /01<br> 44 * Revised: 21/06/02 - Moved into correct package and commented. 45 * 24/03/03 - Moved again, and rewritten for new Tree. 46 * @author John Thompson 47 * @version 2.3 48 */ 38 49 39 import java.awt.Point; 50 import java.awt.event.FocusEvent; 51 import java.awt.event.FocusListener; 40 import java.awt.event.*; 52 41 import java.awt.image.BufferedImage; 53 42 import java.util.Vector; 54 55 43 import javax.swing.JComponent; 56 44 import javax.swing.tree.TreePath; 45 import org.greenstone.gatherer.gui.tree.DragTree; 57 46 58 import org.greenstone.gatherer.gui.tree.DragTree;59 import org.greenstone.gatherer.util.DragComponent;60 47 61 48 /** This class acts as a linker between all the various drag and drop enabled DragComponent. It provides methods for ensuring only one component is the drop target, showing extra user feedback, and maintains a single point of focus. Moreover it provides a storage space for necessary shared variables such as mouse_offset of initial drag etc. */ -
trunk/gli/src/org/greenstone/gatherer/util/HTMLStringTokenizer.java
r5785 r8243 37 37 package org.greenstone.gatherer.util; 38 38 39 /**40 * Title: The Gatherer<br>41 * Description: The Gatherer: a tool for gathering and enriching digital collections.<br>42 * Copyright: Copyright (c) 2001<br>43 * Company: The University of Waikato<br>44 * @author John Thompson, Greenstone Digital Libraries45 * @version 2.146 */47 import org.greenstone.gatherer.util.Utility;48 39 49 40 /** This class functions much like a <strong>StringTokenizer</strong> in that it tokenizes a long string into tokens, however this tokenizer cleverly notices HTML formatting tags. */ -
trunk/gli/src/org/greenstone/gatherer/util/SynchronizedTreeModel.java
r5581 r8243 3 3 import javax.swing.*; 4 4 import javax.swing.tree.*; 5 import org.greenstone.gatherer.util.DefaultSynchronizedTreeNode; 6 import org.greenstone.gatherer.util.TreeModelTest; 7 import org.greenstone.gatherer.util.SynchronizedTreeNode; 5 8 6 9 7 /** This synchronized TreeModel is comprised of two seperate models. The extended model is used to paint the screen, and can only be updated on the AWTEvent Thread. The second, private, model contains the current actual state of the model with changes made immediately. If such changes occur then a task is queued in the AWTEvent Thread to update the 'painted' model. This model depends on the TreeNodes used having these properties: -
trunk/gli/src/org/greenstone/gatherer/util/TreeModelTest.java
r6318 r8243 44 44 import javax.swing.tree.*; 45 45 import org.greenstone.gatherer.gui.GLIButton; 46 import org.greenstone.gatherer.util.DefaultSynchronizedTreeNode; 47 import org.greenstone.gatherer.util.SynchronizedTreeModel; 48 import org.greenstone.gatherer.util.SynchronizedTreeNode; 46 49 47 50 48 public class TreeModelTest -
trunk/gli/src/org/greenstone/gatherer/util/Utility.java
r8236 r8243 50 50 import org.greenstone.gatherer.Dictionary; 51 51 import org.greenstone.gatherer.Gatherer; 52 import org.greenstone.gatherer.util.HTMLStringTokenizer;53 52 import org.w3c.dom.*; 54 53 import org.xml.sax.*;
Note:
See TracChangeset
for help on using the changeset viewer.