Search in sources :

Example 1 with SelectCvsConfigurationDialog

use of com.intellij.cvsSupport2.config.ui.SelectCvsConfigurationDialog in project intellij-community by JetBrains.

the class BrowseCvsRepositoryAction method getCvsHandler.

@Override
protected CvsHandler getCvsHandler(CvsContext context) {
    final SelectCvsConfigurationDialog selectCvsConfigurationDialog = new SelectCvsConfigurationDialog(context.getProject());
    if (!selectCvsConfigurationDialog.showAndGet()) {
        return CvsHandler.NULL;
    }
    mySelectedConfiguration = selectCvsConfigurationDialog.getSelectedConfiguration();
    return new MyCvsHandler();
}
Also used : SelectCvsConfigurationDialog(com.intellij.cvsSupport2.config.ui.SelectCvsConfigurationDialog)

Aggregations

SelectCvsConfigurationDialog (com.intellij.cvsSupport2.config.ui.SelectCvsConfigurationDialog)1