Changeset 36254


Ignore:
Timestamp:
2022-06-13T16:31:40+12:00 (3 weeks ago)
Author:
kjdon
Message:

for gs2, all search meta types are set to 'search'

File:
1 edited

Legend:

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

    r36230 r36254  
    5252    static final private Dimension COMPONENT_SIZE = new Dimension(225,25);
    5353    static final private int LANGUAGE_WIDTH = 75;
    54     // static final private String GENERAL_STR = "General:";
    55     // static final private String INDEX_STR = "Index:";
    56     // static final private String LEVEL_STR = "Level:";
    57     // static final private String PARTITION_STR = "Partitions:";
    5854
    5955    public TranslationView() {
     
    9995    private TreeSet getLanguages() {
    10096    TreeSet lang_set = CollectionDesignManager.collectionmeta_manager.getLanguages();
    101         System.err.println("coll lang set = "+lang_set);
    102         System.err.println("search lang_set = "+CollectionDesignManager.searchmeta_manager.getLanguages());
    10397    lang_set.addAll(CollectionDesignManager.searchmeta_manager.getLanguages());
    104         System.err.println("all lang set = "+lang_set);
    10598    return lang_set;
    10699    }
     
    191184    private String text;
    192185    private String type;
     186   
    193187    BobTheMagicalComparableWrapper(Object content, String type) {
    194188        this.content = content;
    195         this.type = type;
     189        if (type != null) {
     190        if (Gatherer.GS3) {
     191            this.type = type;
     192        } else {
     193            this.type = SearchMeta.TYPE_SEARCH;
     194        }
     195        }
    196196    }
    197197    public int compareTo(Object object) {
Note: See TracChangeset for help on using the changeset viewer.