Changeset 8243 for trunk/gli/src/org/greenstone/gatherer/msm
- Timestamp:
- 2004-10-08T13:20:01+13:00 (20 years ago)
- Location:
- trunk/gli/src/org/greenstone/gatherer/msm
- Files:
-
- 16 edited
Legend:
- Unmodified
- Added
- Removed
-
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;
Note:
See TracChangeset
for help on using the changeset viewer.