use of com.intellij.cvsSupport2.cvsoperations.cvsMessages.CvsListenerWithProgress in project intellij-community by JetBrains.
the class CvsConnectionSettings method createConnection.
public IConnection createConnection(ReadWriteStatistics statistics) {
CvsListenerWithProgress cvsCommandStopper = CvsListenerWithProgress.createOnProgress();
IConnection originalConnection = createOriginalConnection(cvsCommandStopper, myCvsRootConfiguration);
if (originalConnection instanceof SelfTestingConnection) {
return new SelfTestingConnectionWrapper(originalConnection, statistics, cvsCommandStopper);
} else {
return new ConnectionWrapper(originalConnection, statistics, cvsCommandStopper);
}
}
Aggregations