Changeset 9127
- Timestamp:
- 2005-02-22T11:01:35+13:00 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/gui/ExplodeMetadataPrompt.java
r9104 r9127 39 39 import org.greenstone.gatherer.Gatherer; 40 40 import org.greenstone.gatherer.cdm.CollectionDesignManager; 41 import org.greenstone.gatherer.cdm.Plugin; 41 42 import org.greenstone.gatherer.gui.tree.DragTree; 42 43 import org.greenstone.gatherer.metadata.MetadataXMLFileManager; … … 72 73 73 74 // check that we actually have an explodable file 74 plugin_name= CollectionDesignManager.plugin_manager.getExploderPlugin(source_file);75 if (plugin _name==null) {75 Plugin plugin = CollectionDesignManager.plugin_manager.getExploderPlugin(source_file); 76 if (plugin==null) { 76 77 JOptionPane.showMessageDialog(Gatherer.g_man, Dictionary.get("ExplodeMetadataPrompt.NotExplodable"), Dictionary.get("ExplodeMetadataPrompt.Title"), JOptionPane.ERROR_MESSAGE); 77 78 return; 78 79 } 80 plugin_name = plugin.getName(); 79 81 setJMenuBar(new SimpleMenuBar("explodingmetadata")); 80 82 setSize(SIZE);
Note:
See TracChangeset
for help on using the changeset viewer.