void (@NotNull AnActionEvent e) { Presentation presentation = e.getPresentation(); Project project = e.getProject(); if (project == null) { presentation.setEnabled(false); return; } String path = UniqueVFilePathBuilder.getInstance().getUniqueVirtualFilePath(project, myFile); presentation.setText(path); presentation.setIcon(IconUtil.getIcon(myFile, Iconable.ICON_FLAG_READ_STATUS, project)); }