Changeset 5938


Ignore:
Timestamp:
2003-11-24T11:46:22+13:00 (20 years ago)
Author:
jmt12
Message:

The value tree field now uses a TransformCharacterTextField which replaces pipe with forward slash

File:
1 edited

Legend:

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

    r5897 r5938  
    5252import org.greenstone.gatherer.gui.GComboBox;
    5353import org.greenstone.gatherer.gui.MetaEditPrompt;
     54import org.greenstone.gatherer.gui.TransformCharacterTextField;
    5455import org.greenstone.gatherer.gui.WarningDialog;
    5556import org.greenstone.gatherer.gui.table.GTableModel;
     
    10581059
    10591060        JPanel value_field_pane = new JPanel();
    1060         value = new JTextField();
     1061        TransformCharacterTextField value_init = new TransformCharacterTextField();
     1062        value_init.replaceCharacter(StaticStrings.PIPE_CHAR, StaticStrings.FORWARDSLASH_CHAR);
     1063        value = value_init;
     1064        value_init = null;
    10611065        value.setBackground(Gatherer.config.getColor("coloring.editable_background", false));
    10621066        value.setForeground(Gatherer.config.getColor("coloring.editable_foreground", false));
Note: See TracChangeset for help on using the changeset viewer.