use of com.intellij.ide.util.newProjectWizard.OldFrameworkSupportProviderWrapper in project intellij-community by JetBrains.
the class FrameworkSupportModelBase method onFrameworkSelectionChanged.
public void onFrameworkSelectionChanged(FrameworkSupportNode node) {
final FrameworkSupportInModuleProvider provider = node.getUserObject();
//todo[nik]
boolean checked = node.isChecked();
if (provider instanceof OldFrameworkSupportProviderWrapper) {
final FrameworkSupportProvider oldProvider = ((OldFrameworkSupportProviderWrapper) provider).getProvider();
selectFramework(oldProvider, checked);
}
for (FrameworkSupportInModuleProvider.FrameworkDependency dependency : provider.getDependenciesFrameworkIds()) {
if (!dependency.isOptional()) {
String id = dependency.getFrameworkId();
setFrameworkComponentEnabled(id, true);
}
}
}
Aggregations