Ignore:
Timestamp:
2006-09-21T15:24:25+12:00 (18 years ago)
Author:
mdewsnip
Message:

Removed CollectionManager.configurationChanged() and all 50 calls to it. The CollectionConfiguration class now works out itself whether it needs to be changed or not -- a far more reliable approach.

File:
1 edited

Legend:

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

    r12798 r12808  
    112112        Node target_node = CollectionConfiguration.findInsertionPoint(element);
    113113        add(root, classifier, target_node);
    114         Gatherer.c_man.configurationChanged();
    115114    }
    116115    }
     
    230229    }
    231230   
    232     Gatherer.c_man.configurationChanged();
    233231    // tell the format manager to update the names of its format statements
    234232    Gatherer.c_man.getCollection().cdm.format_manager.refresh();
     
    241239    private void removeClassifier(Classifier classifier) {
    242240    remove(classifier);
    243     Gatherer.c_man.configurationChanged();
    244241    }
    245242
     
    467464            ac.destroy();
    468465            ac = null;
    469             // cos I can't be bothered checking every argument to see if it has changed or not, we'll asasume that the configuration has changed if someone has clicked configure
    470             Gatherer.c_man.configurationChanged();
    471466            }
    472467        }
     
    493488           ac.destroy();
    494489           ac = null;
    495            // cos I can't be bothered checking every argument to see if it has changed or not, we'll asasume that the configuration has changed if someone has clicked configure
    496            Gatherer.c_man.configurationChanged();
    497490        }
    498491        }
Note: See TracChangeset for help on using the changeset viewer.