mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
LazyRunConfigurationProducer — python (flask)
This commit is contained in:
+5
-1
@@ -19,6 +19,10 @@ import org.jetbrains.annotations.Nullable;
|
||||
* @author yole
|
||||
*/
|
||||
public abstract class JavaRunConfigurationProducerBase<T extends ModuleBasedConfiguration> extends RunConfigurationProducer<T> {
|
||||
/**
|
||||
* @deprecated Override {@link #getConfigurationFactory()}.
|
||||
*/
|
||||
@Deprecated
|
||||
protected JavaRunConfigurationProducerBase(ConfigurationFactory configurationFactory) {
|
||||
super(configurationFactory);
|
||||
}
|
||||
@@ -28,7 +32,7 @@ public abstract class JavaRunConfigurationProducerBase<T extends ModuleBasedConf
|
||||
*/
|
||||
@Deprecated
|
||||
protected JavaRunConfigurationProducerBase(@NotNull ConfigurationType configurationType) {
|
||||
this(configurationType.getConfigurationFactories()[0]);
|
||||
super(configurationType.getConfigurationFactories()[0]);
|
||||
}
|
||||
|
||||
protected JavaRunConfigurationProducerBase() {
|
||||
|
||||
@@ -44,6 +44,10 @@ public abstract class RunConfigurationProducer<T extends RunConfiguration> {
|
||||
|
||||
private final ConfigurationFactory myConfigurationFactory;
|
||||
|
||||
/**
|
||||
* @deprecated Use {@link LazyRunConfigurationProducer}.
|
||||
*/
|
||||
@Deprecated
|
||||
protected RunConfigurationProducer(@NotNull ConfigurationFactory configurationFactory) {
|
||||
myConfigurationFactory = configurationFactory;
|
||||
}
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* Copyright 2000-2017 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.
|
||||
*/
|
||||
// Copyright 2000-2018 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.run;
|
||||
|
||||
import com.intellij.execution.configurations.ConfigurationFactory;
|
||||
@@ -19,7 +17,7 @@ abstract public class AbstractServerPythonRunConfiguration<T extends AbstractSer
|
||||
@NonNls private static final String LAUNCH_JAVASCRIPT_DEBUGGER = "launchJavascriptDebuger";
|
||||
private boolean myLaunchJavascriptDebugger;
|
||||
|
||||
public AbstractServerPythonRunConfiguration(final Project project, final ConfigurationFactory factory) {
|
||||
public AbstractServerPythonRunConfiguration(@NotNull Project project, @NotNull ConfigurationFactory factory) {
|
||||
super(project, factory);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user