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/PluginManager.java

    r12798 r12808  
    157157        addBefore(plugin, separator_plugin);
    158158    }
    159     Gatherer.c_man.configurationChanged();
    160159    }
    161160
     
    270269        addBefore(plugin, first_plugin);
    271270        first_plugin = null;
    272         Gatherer.c_man.configurationChanged();
    273271        }
    274272        else {
     
    277275        // Add the moving plugin before the separator
    278276        addBefore(plugin, separator_plugin);
    279         Gatherer.c_man.configurationChanged();
    280277        }
    281278    }
     
    295292        remove(plugin);
    296293        add(index, plugin);
    297         Gatherer.c_man.configurationChanged();
    298294        }
    299295        else {
     
    309305        remove(plugin);
    310306        add(index, plugin);
    311         Gatherer.c_man.configurationChanged();
    312307        }
    313308    }
     
    355350    private void removePlugin(Plugin plugin) {
    356351    remove(plugin);
    357     Gatherer.c_man.configurationChanged();
    358352    }
    359353
     
    626620                ac.destroy();
    627621                ac = null;
    628                 // 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
    629                 Gatherer.c_man.configurationChanged();
    630622            }
    631623            }
     
    653645            ac.destroy();
    654646            ac = null;
    655             // 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
    656             Gatherer.c_man.configurationChanged();
    657647            }
    658648        }
Note: See TracChangeset for help on using the changeset viewer.