Silently disable other incompatible framework
#KT-4644 In Progress
This commit is contained in:
@@ -76,6 +76,16 @@ public class JSFrameworkSupportProvider extends FrameworkSupportInModuleProvider
|
|||||||
|
|
||||||
description.finishLibConfiguration(module, rootModel);
|
description.finishLibConfiguration(module, rootModel);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void onFrameworkSelectionChanged(boolean selected) {
|
||||||
|
if (selected) {
|
||||||
|
String providerId = JavaFrameworkType.getInstance().getId();
|
||||||
|
if (model.isFrameworkSelected(providerId)) {
|
||||||
|
model.setFrameworkComponentEnabled(providerId, false);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -74,6 +74,16 @@ public class JavaFrameworkSupportProvider extends FrameworkSupportInModuleProvid
|
|||||||
|
|
||||||
description.finishLibConfiguration(module, rootModel);
|
description.finishLibConfiguration(module, rootModel);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void onFrameworkSelectionChanged(boolean selected) {
|
||||||
|
if (selected) {
|
||||||
|
String providerId = JSFrameworkType.getInstance().getId();
|
||||||
|
if (model.isFrameworkSelected(providerId)) {
|
||||||
|
model.setFrameworkComponentEnabled(providerId, false);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user