use of org.eclipse.egit.ui.internal.operations.IgnoreOperationUI in project egit by eclipse.
the class IgnoreActionHandler method execute.
@Override
public Object execute(ExecutionEvent event) throws ExecutionException {
final IResource[] resources = getSelectedResources(event);
if (resources.length == 0)
return null;
List<IPath> paths = new ArrayList<>();
for (IResource resource : resources) paths.add(resource.getLocation());
IgnoreOperationUI operation = new IgnoreOperationUI(paths);
operation.run();
return null;
}
Aggregations