void () { BlockData data = myBlockLoader.getLoadedData(); if (data.isLoading()) { VcsFileRevision revision = data.getCurrentLoadingRevision(); String message = revision != null ? VcsBundle.message("selection.history.loading.revision.status", XmlStringUtil.wrapInHtmlTag(VcsUtil.getShortRevisionString(revision.getRevisionNumber()), "tt")) : CommonBundle.getLoadingTreeNodeText(); int totalRevisions = data.getRevisions().size(); if (totalRevisions != 0) { message += String.format(" (%s/%s)", data.myBlocks.size(), totalRevisions); //NON-NLS } myStatusLabel.setText(XmlStringUtil.wrapInHtml(message)); myStatusSpinner.resume(); myStatusSpinner.setVisible(true); } else { myStatusLabel.setText(""); myStatusSpinner.suspend(); myStatusSpinner.setVisible(false); } }