void (final @NotNull List<FilePath> filesToDelete) { performBackgroundOperation(filesToDelete, message("remove.removing"), new LongOperationPerRootExecutor() { @Override public void execute(@NotNull VirtualFile root, @NotNull List<? extends FilePath> files) throws VcsException { executeDeletion(root, files); if (!myProject.isDisposed()) { VcsFileUtil.markFilesDirty(myProject, files); } } }); }