mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
pass owner component instead of project for showing virtual environment creation errors (EA-47068 - IAE: PackagesNotificationPanel.showError)
This commit is contained in:
@@ -3,6 +3,8 @@ package com.jetbrains.python.packaging;
|
||||
import com.intellij.openapi.project.Project;
|
||||
import com.intellij.openapi.projectRoots.Sdk;
|
||||
|
||||
import java.awt.*;
|
||||
|
||||
/**
|
||||
* @author yole
|
||||
*/
|
||||
@@ -20,5 +22,6 @@ public abstract class PyPackageManager {
|
||||
public abstract boolean hasPip();
|
||||
public abstract void install(String requirementString) throws PyExternalProcessException;
|
||||
public abstract void showInstallationError(Project project, String title, String description);
|
||||
public abstract void showInstallationError(Component owner, String title, String description);
|
||||
public abstract void refresh();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user