Changeset 9856 for trunk/gli/src/org/greenstone/gatherer/collection
- Timestamp:
- 2005-05-12T12:24:38+12:00 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/collection/CollectionManager.java
r9828 r9856 59 59 import org.greenstone.gatherer.gui.WarningDialog; 60 60 import org.greenstone.gatherer.metadata.DocXMLFileManager; 61 import org.greenstone.gatherer.metadata.MetadataChangedListener; 61 62 import org.greenstone.gatherer.metadata.MetadataSet; 62 63 import org.greenstone.gatherer.metadata.MetadataSetManager; … … 78 79 */ 79 80 public class CollectionManager 80 implements GShellListener {81 81 implements GShellListener, MetadataChangedListener 82 { 82 83 /** Are we currently in the process of building? */ 83 84 private boolean building = false; … … 111 112 this.importing = false; 112 113 this.collection = null; 114 115 MetadataXMLFileManager.addMetadataChangedListener(this); 113 116 } 114 117 … … 947 950 public synchronized void message(GShellEvent event) { 948 951 } 952 953 954 public void metadataChanged(CollectionTreeNode[] file_nodes) 955 { 956 if (collection != null) { 957 collection.setMetadataChanged(true); 958 } 959 } 960 949 961 950 962 /** This call is fired whenever a process within a GShell created by this class begins.
Note:
See TracChangeset
for help on using the changeset viewer.