Iterator<DetectorFactory> i = DetectorFactoryCollection.instance().factoryIterator(); while (i.hasNext()) { DetectorFactory factory = i.next(); factory.setEnabled(false); }
enableAll(false);
	public void disableAll() {		Iterator<DetectorFactory> i = DetectorFactoryCollection.instance().factoryIterator();		while (i.hasNext()) {			DetectorFactory factory = i.next();			factory.setEnabled(false);		}	}