Changeset 13294


Ignore:
Timestamp:
2006-11-17T13:36:47+13:00 (17 years ago)
Author:
shaoqun
Message:

make adding mutiple plugins available in system-specilist mode

File:
1 edited

Legend:

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

    r13277 r13294  
    7272    /** Constructor.
    7373     */
    74     public PluginManager() {
    75     super(CollectionDesignManager.collect_config.getDocumentElement(), StaticStrings.PLUGIN_ELEMENT, new Plugin());
     74    public PluginManager() {    super(CollectionDesignManager.collect_config.getDocumentElement(), StaticStrings.PLUGIN_ELEMENT, new Plugin());
    7675    DebugStream.println("PluginManager: " + super.getSize() + " plugins parsed.");
    7776    model = this;
     
    125124
    126125    // Now remove any assigned plugins
    127     if (Configuration.getMode() <= Configuration.SYSTEMS_MODE) {
     126    if (Configuration.getMode() < Configuration.SYSTEMS_MODE) {
    128127        available.removeAll(children());
    129128    }
Note: See TracChangeset for help on using the changeset viewer.