Changeset 12237


Ignore:
Timestamp:
2006-07-17T10:02:52+12:00 (18 years ago)
Author:
kjdon
Message:

format pane has a reduced set of options for GS3 collections - no supercollection, no macros

File:
1 edited

Legend:

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

    r12119 r12237  
    6060    public FormatPane() {
    6161    super();
    62     contents = new String []{ "CDM.GUI.General", "CDM.GUI.SearchMetadata", "CDM.GUI.Formats", "CDM.GUI.Translation", "CDM.GUI.SuperCollection","CDM.GUI.Macros" };
    63 
     62    if (Gatherer.GS3) {
     63        contents = new String []{ "CDM.GUI.General", "CDM.GUI.SearchMetadata", "CDM.GUI.Formats", "CDM.GUI.Translation" };
     64    } else {
     65        contents = new String []{ "CDM.GUI.General", "CDM.GUI.SearchMetadata", "CDM.GUI.Formats", "CDM.GUI.Translation", "CDM.GUI.SuperCollection","CDM.GUI.Macros" };
     66    }
    6467    JPanel side_panel = new JPanel();
    6568    side_panel.setLayout(new BorderLayout());
Note: See TracChangeset for help on using the changeset viewer.