Search in sources :

Example 1 with ImportWizard

use of com.intellij.cvsSupport2.ui.experts.importToCvs.ImportWizard in project intellij-community by JetBrains.

the class ImportAction method getCvsHandler.

protected CvsHandler getCvsHandler(CvsContext context) {
    final VirtualFile selectedFile = context.getSelectedFile();
    final ImportWizard importWizard = new ImportWizard(context.getProject(), selectedFile);
    if (!importWizard.showAndGet()) {
        return CvsHandler.NULL;
    }
    myImportDetails = importWizard.createImportDetails();
    if (myImportDetails == null)
        return CvsHandler.NULL;
    return CommandCvsHandler.createImportHandler(myImportDetails);
}
Also used : VirtualFile(com.intellij.openapi.vfs.VirtualFile) ImportWizard(com.intellij.cvsSupport2.ui.experts.importToCvs.ImportWizard)

Aggregations

ImportWizard (com.intellij.cvsSupport2.ui.experts.importToCvs.ImportWizard)1 VirtualFile (com.intellij.openapi.vfs.VirtualFile)1