void (List<VirtualFile> files, MavenExplicitProfiles profiles, Module previewModuleToDelete) { myPreviewModule = previewModuleToDelete; if (!isInitialized()) { initAndActivate(); var distributionUrl = getWrapperDistributionUrl(ProjectUtil.guessProjectDir(myProject)); if (distributionUrl != null) { getGeneralSettings().setMavenHomeType(MavenWrapper.INSTANCE); } } myProjectsTree.addManagedFilesWithProfiles(files, profiles); }