void () { VirtualFile virtualFile = myFilePath.getVirtualFile(); if ((virtualFile == null || !virtualFile.isValid()) && !myFilePath.getIOFile().exists()) { myDualView.setEmptyText(VcsBundle.message("history.file.not.found", myFilePath.getName())); } else if (VcsCachingHistory.getHistoryLock(myVcs, VcsBackgroundableActions.CREATE_HISTORY_SESSION, myFilePath, myStartingRevision) .isLocked()) { myDualView.setEmptyText(CommonBundle.getLoadingTreeNodeText()); } else { myDualView.setEmptyText(StatusText.getDefaultEmptyText()); } }