public void removeAllPlugins(){
  Iterator<AbstractPlugin> iter=allPlugins.iterator();
  while (iter.hasNext()) {
    AbstractPlugin plugin=(AbstractPlugin)iter.next();
    plugin.removePluginObserver(this);
    activePlugins.remove(plugin);
    iter.remove();
  }
}

public void removeAllPlugins ( ) { Iterator < AbstractPlugin > iter = allPlugins . iterator ( ) ; while ( iter . hasNext ( ) ) { AbstractPlugin plugin = ( AbstractPlugin ) iter . next ( ) ; plugin . removePluginObserver ( this ) ; activePlugins . remove ( plugin ) ; iter . remove ( ) ; } }
remove all available plugins
