コード例 #1
0
 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);
 }
コード例 #2
0
 private void sourceFileProcessed() {
   myStatistics.incFilesCount();
   updateStatistics();
 }