boolean (@NotNull Transferable t, @Nullable Editor editor, @NotNull final Project project) { List<File> list = FileCopyPasteUtil.getFileList(t); if (list == null || list.size() != 1) return false; return ApplyPatchAction.showAndGetApplyPatch(project, list.get(0)); }