use of com.intellij.openapi.cvsIntegration.CvsModule in project intellij-community by JetBrains.
the class ModuleChooser method getSelectedModules.
public CvsModule[] getSelectedModules() {
CvsRepository repository = getSelectedRepository();
CvsElement[] selectedCvsElement = mySelectCvsElementStep.getSelectedCvsElements();
ArrayList<CvsModule> result = new ArrayList<>();
for (CvsElement cvsElement : selectedCvsElement) {
result.add(new CvsModule(repository, cvsElement.getElementPath(), cvsElement instanceof CvsFile));
}
return result.toArray(new CvsModule[result.size()]);
}
Aggregations