mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
PlatformDataKeys -> CommonDataKeys
This commit is contained in:
+4
-3
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2000-2009 JetBrains s.r.o.
|
||||
* Copyright 2000-2013 JetBrains s.r.o.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -19,7 +19,7 @@ import com.intellij.execution.ExecutionException;
|
||||
import com.intellij.execution.process.OSProcessHandler;
|
||||
import com.intellij.execution.runners.ExecutionEnvironment;
|
||||
import com.intellij.ide.DataManager;
|
||||
import com.intellij.openapi.actionSystem.PlatformDataKeys;
|
||||
import com.intellij.openapi.actionSystem.CommonDataKeys;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
|
||||
@@ -49,7 +49,8 @@ public abstract class JavaCommandLineState extends CommandLineState implements J
|
||||
protected abstract JavaParameters createJavaParameters() throws ExecutionException;
|
||||
|
||||
protected GeneralCommandLine createCommandLine() throws ExecutionException {
|
||||
return CommandLineBuilder.createFromJavaParameters(getJavaParameters(), PlatformDataKeys.PROJECT.getData(DataManager.getInstance().getDataContext()), true);
|
||||
return CommandLineBuilder.createFromJavaParameters(getJavaParameters(), CommonDataKeys.PROJECT
|
||||
.getData(DataManager.getInstance().getDataContext()), true);
|
||||
}
|
||||
|
||||
public boolean shouldAddJavaProgramRunnerActions() {
|
||||
|
||||
Reference in New Issue
Block a user