void (final VirtualFile vf) { if (myProgressIndicator == null) return; myProgressIndicator.checkCanceled(); if (myInText2) { myProgressIndicator.setText2(myPrefix + getFileDescriptionForProgress(vf)); } else { myProgressIndicator.setText(myPrefix + getFileDescriptionForProgress(vf)); } myProgressIndicator.setFraction(myCnt/myTotal); ++ myCnt; }