Ignore:
Timestamp:
2020-07-12T02:51:45+12:00 (4 years ago)
Author:
ak19
Message:
  1. Added moveMetaXMLToCSV 2. Both this and exportMetaAsCSV now also made to work for the remote case. 3. Bugfix to oversight in GUIManager that in the previous commit used to ignore user selected csvfile and always created a metdata.csv in import folder. 4. Tidied up MetaToCSV.java some more.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/gli/src/org/greenstone/gatherer/gui/MenuBar.java

    r34263 r34264  
    7070    public JMenuItem file_exportas   = null;
    7171    public JMenuItem file_exportmeta = null;
     72    public JMenuItem file_movemeta   = null;
    7273    public JMenuItem file_new        = null;
    7374    public JMenuItem file_open       = null;
     
    126127    file_exportmeta = new JMenuItem(Dictionary.get("Menu.File_ExportMeta"));
    127128    file_exportmeta.addActionListener(Gatherer.g_man);
    128     file_exportmeta.setEnabled(!Gatherer.isGsdlRemote);
    129129    file_exportmeta.setComponentOrientation(Dictionary.getOrientation());
    130        
     130
     131    file_movemeta = new JMenuItem(Dictionary.get("Menu.File_MoveMetaToCSV"));
     132    file_movemeta.addActionListener(Gatherer.g_man);
     133    file_movemeta.setComponentOrientation(Dictionary.getOrientation());
     134   
    131135    file_new = new JMenuItem(Dictionary.get("Menu.File_New"));
    132136    file_new.addActionListener(Gatherer.g_man);
     
    155159    file.add(file_exportas);
    156160    file.add(file_exportmeta);
     161    file.add(file_movemeta);
    157162    // these currently don't work. better to just disable them?
    158163    if (!Gatherer.GS3) {
Note: See TracChangeset for help on using the changeset viewer.