Changeset 36165


Ignore:
Timestamp:
2022-05-09T14:45:11+12:00 (5 months ago)
Author:
kjdon
Message:

made [Default Index] thingy customisable

File:
1 edited

Legend:

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

    r36157 r36165  
    7474    protected String remove_button_key = "CDM.IndexManager.Remove";
    7575    protected String remove_button_tooltip_key = null;
    76 
     76  protected String default_indicator_key = null; //"CDM.IndexManager.Default_Index_Indicator";
    7777    protected String nip_new_index_key = null;
    7878    protected String nip_edit_index_key = null;
     
    477477        JLabel component = (JLabel) super.getListCellRendererComponent(list, value, index, isSelected, cellHasFocus);
    478478        if(default_index != null && default_index.equals(value)) {
    479             component.setText(component.getText() + " " + Dictionary.get("CDM.IndexManager.Default_Index_Indicator"));
     479            component.setText(component.getText() + " " + Dictionary.get(default_indicator_key));
    480480        }
    481481        return component;
Note: See TracChangeset for help on using the changeset viewer.