void () { if (myProject.isDefault()) return; FileEditorManagerEx fileEditorManager = FileEditorManagerEx.getInstanceEx(myProject); for (VirtualFile openVirtualFile : fileEditorManager.getOpenFiles()) { fileEditorManager.updateFilePresentation(openVirtualFile); } ProjectView.getInstance(myProject).refresh(); }