Search in sources :

Example 1 with CvsListenerWithProgress

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);
    }
}
Also used : CvsListenerWithProgress(com.intellij.cvsSupport2.cvsoperations.cvsMessages.CvsListenerWithProgress) IConnection(org.netbeans.lib.cvsclient.connection.IConnection)

Aggregations

CvsListenerWithProgress (com.intellij.cvsSupport2.cvsoperations.cvsMessages.CvsListenerWithProgress)1 IConnection (org.netbeans.lib.cvsclient.connection.IConnection)1