Changeset 7543


Ignore:
Timestamp:
2004-06-03T10:55:30+12:00 (20 years ago)
Author:
mdewsnip
Message:

I'm sure I'd already committed this... changed the metadata comboboxes to be editable for advanced modes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gli/src/org/greenstone/gatherer/cdm/ArgumentConfiguration.java

    r7241 r7543  
    447447        case Argument.METADATUM:
    448448        value = new GComboBox(Gatherer.c_man.getCollection().msm.getAssignedElements(), false);
    449         //((JComboBox)value).setEditable(false);
    450         //((JComboBox)value).setEditable(true);
     449
     450        // Editable for advanced modes (allows things like dc.Title,ex.Title)
     451        if (Gatherer.config.getMode() > Configuration.LIBRARIAN_MODE) {
     452            ((JComboBox) value).setEditable(true);
     453        }
     454
    451455        // Now ensure we have the existing value or default value selected if either exist.
    452456        if(existing_value != null && existing_value.length() > 0) {
Note: See TracChangeset for help on using the changeset viewer.