use of org.eclipse.egit.ui.internal.operations.DeletePathsOperationUI in project egit by eclipse.
the class DeleteFileCommand method execute.
@Override
public Object execute(ExecutionEvent event) throws ExecutionException {
Collection<IPath> paths = getSelectedFileAndFolderPaths(event);
RepositoriesView view = getView(event);
DeletePathsOperationUI operation = new DeletePathsOperationUI(paths, view.getSite());
operation.run();
view.refresh();
return null;
}
Aggregations