use of com.intellij.cvsSupport2.config.CvsRootConfiguration in project intellij-community by JetBrains.
the class CvsConfigurationsListEditor method getConfigurations.
public List<CvsRootConfiguration> getConfigurations() {
final ArrayList<CvsRootConfiguration> result = new ArrayList<>();
final Enumeration each = myModel.elements();
while (each.hasMoreElements()) result.add((CvsRootConfiguration) each.nextElement());
return result;
}
use of com.intellij.cvsSupport2.config.CvsRootConfiguration in project intellij-community by JetBrains.
the class SshConnectionSettings method createSshConnection.
public static IConnection createSshConnection(CvsRootConfiguration cvsRootConfiguration, CvsRootData settings, SshSettings sshConfiguration) {
int timeout = CvsApplicationLevelConfiguration.getInstance().TIMEOUT * 1000;
ProxySettings proxy_settings = cvsRootConfiguration.PROXY_SETTINGS;
return CvsConnectionUtil.createSshConnection(settings, sshConfiguration, proxy_settings, SSHPasswordProviderImpl.getInstance(), timeout);
}
use of com.intellij.cvsSupport2.config.CvsRootConfiguration in project intellij-community by JetBrains.
the class ConfigureCvsRootsAction method actionPerformed.
public void actionPerformed(AnActionEvent e) {
final CvsApplicationLevelConfiguration configuration = CvsApplicationLevelConfiguration.getInstance();
final List<CvsRootConfiguration> configurations = configuration.CONFIGURATIONS;
final CvsConfigurationsListEditor cvsConfigurationsListEditor = new CvsConfigurationsListEditor(new ArrayList<>(configurations), e.getProject());
if (cvsConfigurationsListEditor.showAndGet()) {
configuration.CONFIGURATIONS = cvsConfigurationsListEditor.getConfigurations();
}
}
Aggregations