use of com.intellij.cvsSupport2.cvsoperations.cvsImport.ImportDetails in project intellij-community by JetBrains.
the class ImportWizard method createImportDetails.
@Nullable
public ImportDetails createImportDetails() {
final CvsElement module = mySelectCvsElementStep.getSelectedCvsElement();
final String moduleName = mySettingsStep.getModuleName();
final String importModuleName = module.getElementPath().equals(".") ? moduleName : module.getElementPath() + "/" + moduleName;
final File selectedFile = mySelectImportLocationStep.getSelectedFile();
if (selectedFile == null) {
return null;
}
return new ImportDetails(selectedFile, mySettingsStep.getVendor(), mySettingsStep.getReleaseTag(), mySettingsStep.getLogMessage(), importModuleName, mySelectCVSConfigurationStep.getSelectedConfiguration(), mySettingsStep.getFileExtensions(), mySelectImportLocationStep.getIgnoreFileFilter());
}
Aggregations