mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-04 17:20:55 +07:00
[NPW] cleanup: removed client code for the old new project wizard
The new version of the new project wizard has been stable for more than a year. Anymore, we don't need fallback to old one. GitOrigin-RevId: 1351f238d7b44a775e0cfaf61fcfadb09fbbc702
This commit is contained in:
committed by
intellij-monorepo-bot
parent
d90ce2aab4
commit
ed08f7311e
@@ -2,7 +2,6 @@
|
||||
package com.intellij.ide.util.projectWizard;
|
||||
|
||||
|
||||
import com.intellij.ide.NewProjectWizardLegacy;
|
||||
import com.intellij.openapi.diagnostic.Logger;
|
||||
import com.intellij.openapi.module.ModifiableModuleModel;
|
||||
import com.intellij.openapi.module.Module;
|
||||
@@ -60,7 +59,7 @@ public class JavaModuleBuilder extends ModuleBuilder implements SourcePathsBuild
|
||||
|
||||
@Override
|
||||
public boolean isAvailable() {
|
||||
return NewProjectWizardLegacy.isAvailable();
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
package com.intellij.openapi.module;
|
||||
|
||||
import com.intellij.icons.AllIcons;
|
||||
import com.intellij.ide.NewProjectWizardLegacy;
|
||||
import com.intellij.ide.util.projectWizard.ModuleBuilder;
|
||||
import com.intellij.ide.util.projectWizard.ModuleWizardStep;
|
||||
import com.intellij.ide.util.projectWizard.SettingsStep;
|
||||
@@ -69,7 +68,7 @@ public class WebModuleBuilder<T> extends ModuleBuilder {
|
||||
|
||||
@Override
|
||||
public boolean isAvailable() {
|
||||
return NewProjectWizardLegacy.isAvailable();
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -1,10 +1,12 @@
|
||||
// Copyright 2000-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
package com.intellij.ide;
|
||||
|
||||
import com.intellij.openapi.application.Experiments;
|
||||
|
||||
/**
|
||||
* @deprecated Fallback to old implementation of the new project wizard isn't needed. Please remove it.
|
||||
*/
|
||||
@Deprecated(forRemoval = true)
|
||||
public final class NewProjectWizardLegacy {
|
||||
public static boolean isAvailable() {
|
||||
return !Experiments.getInstance().isFeatureEnabled("new.project.wizard");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
@@ -1,7 +1,6 @@
|
||||
// Copyright 2000-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
package com.jetbrains.python.module;
|
||||
|
||||
import com.intellij.ide.NewProjectWizardLegacy;
|
||||
import com.intellij.ide.util.projectWizard.ModuleWizardStep;
|
||||
import com.intellij.ide.util.projectWizard.SdkSettingsStep;
|
||||
import com.intellij.ide.util.projectWizard.SettingsStep;
|
||||
@@ -38,7 +37,7 @@ public class PythonModuleBuilder extends PythonModuleBuilderBase implements Sour
|
||||
|
||||
@Override
|
||||
public boolean isAvailable() {
|
||||
return NewProjectWizardLegacy.isAvailable();
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user