Changeset 36149


Ignore:
Timestamp:
2022-05-09T09:44:39+12:00 (5 months ago)
Author:
kjdon
Message:

updated for new class name

File:
1 edited

Legend:

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

    r36148 r36149  
    5252 * @version 2.3
    5353 */
    54 public class IndexManager
     54public class SearchIndexManager
    5555    extends DOMProxyListModel
    5656    implements BuildTypeManager.BuildTypeListener {
     
    6868
    6969    static final private Dimension PROMPT_SIZE = new Dimension(400,400);
    70     public IndexManager(Element indexes, String current_build_type) {
     70    public SearchIndexManager(Element indexes, String current_build_type) {
    7171
    7272    super(indexes, StaticStrings.INDEX_ELEMENT, (current_build_type.equals(BuildTypeManager.BUILD_TYPE_MG)?new MGIndex():new Index()));
    73     DebugStream.println("IndexManager: " + getSize() + " indexes parsed.");
     73    DebugStream.println("SearchIndexManager: " + getSize() + " indexes parsed.");
    7474    index_model = this;
    7575     
     
    862862            }
    863863            }
    864             if (!mgpp_enabled) {
     864            if (!mgpp_enabled && existing_index instanceof MGIndex) {
    865865            level_combobox.setSelectedIndex(((MGIndex)existing_index).getLevel());
    866866            }
Note: See TracChangeset for help on using the changeset viewer.