void () { myProject.getMessageBus().syncPublisher(PROJECT_VIEW_SELECTION_TOPIC).onChanged(); if (myTree != null && myTree.getSelectionModel() != null) { int count = myTree.getSelectionModel().getSelectionCount(); String description = count > 1 && myTree.hasFocus() ? LangBundle.message("project.view.elements.selected", count) : null; ActionMenu.showDescriptionInStatusBar(true, myTree, description); } }