private void updateStatistics() { final String msg; String moduleName = myModuleName; if (moduleName != null) { msg = CompilerBundle.message( "statistics.files.classes.module", myStatistics.getFilesCount(), myStatistics.getClassesCount(), moduleName); } else { msg = CompilerBundle.message( "statistics.files.classes", myStatistics.getFilesCount(), myStatistics.getClassesCount()); } myCompileContext.getProgressIndicator().setText2(msg); // myCompileContext.getProgressIndicator().setFraction(1.0* myProcessedFilesCount // /myTotalFilesToCompile); }
private void sourceFileProcessed() { myStatistics.incFilesCount(); updateStatistics(); }