Ignore:
Timestamp:
2020-07-11T23:32:49+12:00 (4 years ago)
Author:
ak19
Message:

Option in GLI file menu to Export collection meta to CSV (new CSV file or add to existing). Uses apache commons CSV, so had to include the csv subfolder of commons into apache.jar, where all other apache jars used by GLI are bundled into. Updated the gli/lib/README about this.

File:
1 edited

Legend:

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

    r30701 r34263  
    6969    public JMenuItem file_exit       = null;
    7070    public JMenuItem file_exportas   = null;
     71    public JMenuItem file_exportmeta = null;
    7172    public JMenuItem file_new        = null;
    7273    public JMenuItem file_open       = null;
     
    122123    file_exportas.setEnabled(!Gatherer.isGsdlRemote);
    123124    file_exportas.setComponentOrientation(Dictionary.getOrientation());
     125
     126    file_exportmeta = new JMenuItem(Dictionary.get("Menu.File_ExportMeta"));
     127    file_exportmeta.addActionListener(Gatherer.g_man);
     128    file_exportmeta.setEnabled(!Gatherer.isGsdlRemote);
     129    file_exportmeta.setComponentOrientation(Dictionary.getOrientation());
    124130       
    125131    file_new = new JMenuItem(Dictionary.get("Menu.File_New"));
     
    148154    file.add(file_delete);
    149155    file.add(file_exportas);
     156    file.add(file_exportmeta);
    150157    // these currently don't work. better to just disable them?
    151158    if (!Gatherer.GS3) {
Note: See TracChangeset for help on using the changeset viewer.