void (@NotNull PresentationData presentation) { if (myVirtualFile != null && myVirtualFile.isDirectory()) { presentation.setIcon(AllIcons.Nodes.Folder); } else if (myVirtualFile != null) { presentation.setIcon(myVirtualFile.getFileType().getIcon()); } else { presentation.setIcon(AllIcons.FileTypes.Unknown); } presentation.setPresentableText(getValue().getName()); }