use of org.netbeans.lib.cvsclient.file.AbstractFileObject in project intellij-community by JetBrains.
the class RtagCommand method execute.
public final boolean execute(IRequestProcessor requestProcessor, IEventSender eventSender, ICvsListenerRegistry listenerRegistry, IClientEnvironment clientEnvironment, IProgressViewer progressViewer) throws CommandException, AuthenticationException {
final Requests requests = new Requests(CommandRequest.RTAG, clientEnvironment);
requests.addArgumentRequest(myOverrideExistings, "-F");
requests.addArgumentRequest(true, myTagName);
for (AbstractFileObject fileObject : getFileObjects()) {
String path = fileObject.getPath();
if (StringUtil.startsWithChar(path, '/'))
path = path.substring(1);
requests.addArgumentRequest(path);
}
return requestProcessor.processRequests(requests, new DummyRequestsProgressHandler());
}
Aggregations