Search in sources :

Example 1 with AbstractFileStateRequest

use of org.netbeans.lib.cvsclient.request.AbstractFileStateRequest in project intellij-community by JetBrains.

the class FileStateRequestsProgressHandler method requestSent.

public void requestSent(IRequest request) {
    if (!(request instanceof AbstractFileStateRequest)) {
        return;
    }
    final AbstractFileStateRequest fileStateRequest = (AbstractFileStateRequest) request;
    final FileObject fileObject = fileStateRequest.getFileObject();
    if (!fileObjects.remove(fileObject)) {
        return;
    }
    count++;
    notifyProgress(count, maxCount, progressViewer);
}
Also used : AbstractFileStateRequest(org.netbeans.lib.cvsclient.request.AbstractFileStateRequest) FileObject(org.netbeans.lib.cvsclient.file.FileObject)

Aggregations

FileObject (org.netbeans.lib.cvsclient.file.FileObject)1 AbstractFileStateRequest (org.netbeans.lib.cvsclient.request.AbstractFileStateRequest)1