Ignore:
Timestamp:
2004-08-24T15:03:16+12:00 (20 years ago)
Author:
mdewsnip
Message:

Moving some code around in preparation for removing the entire msm package.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gli/src/org/greenstone/gatherer/msm/MetadataSetManager.java

    r7573 r8035  
    537537    return value_tree;
    538538    }
    539     /** This method is called to import a metadata set. First a prompt is displayed to gather necessary details such as which metadata set to import. Once this information is gathered the method <i>importMDS(File)</i> is called with the appropriate filename.
    540      * @return A boolean which is <i>true</i> if the metadata set has been imported successfully, <i>false</i> otherwise.
    541      */
    542     public boolean importMDS() {
    543     JFileChooser chooser = new JFileChooser(new File(Utility.METADATA_DIR));
    544     javax.swing.filechooser.FileFilter filter = new MDSFileFilter();
    545     chooser.setFileFilter(filter);
    546     int returnVal = chooser.showDialog(Gatherer.g_man, Dictionary.get("MSMPrompt.File_Import"));
    547     if(returnVal == JFileChooser.APPROVE_OPTION) {
    548         return importMDS(chooser.getSelectedFile(), true);
    549     }
    550     return false;
    551     }
    552539
    553540    public boolean importMDS(File mds_file, boolean user_driven) {
Note: See TracChangeset for help on using the changeset viewer.