113114115116117118119120121122123
typeCombo.setModel(typeModel); } public void dialogWillDisplay() { guiManager = new StatisticsManager(StatisticsReporter.TYPE_GUI); grammarManager = new StatisticsManager(StatisticsReporter.TYPE_GRAMMAR); runtimeManager = new StatisticsManager(StatisticsReporter.TYPE_RUNTIME); updateInfo(false); }
141142143144145146147148149150151
else return typeCombo.getSelectedIndex()+1; } protected void updateInfo(boolean textOnly) { StatisticsManager sm = null; boolean rangeEnabled = true; switch(getTypeIndex()) { case TYPE_GUI: rangeEnabled = false;
219220221222223224225226227228229
new Thread(this).start(); } public boolean submit() { for (int i = 0; i < managers.length; i++) { StatisticsManager manager = managers[i]; if(manager == guiManager && !usesAWStats) continue; progress.setProgress(i+1);