mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-19 13:02:30 +07:00
PY-54597 [action-update-thread] Set ActionUpdateThread for com.jetbrains.python.*
GitOrigin-RevId: 991229338ee8f91d7f9b49794fe1268bf78c2897
This commit is contained in:
committed by
intellij-monorepo-bot
parent
d7b9f88257
commit
af1356d36c
@@ -1,6 +1,7 @@
|
||||
// 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.packaging;
|
||||
|
||||
import com.intellij.openapi.actionSystem.ActionUpdateThread;
|
||||
import com.intellij.openapi.actionSystem.AnAction;
|
||||
import com.intellij.openapi.actionSystem.AnActionEvent;
|
||||
import com.intellij.openapi.actionSystem.PlatformCoreDataKeys;
|
||||
@@ -20,6 +21,11 @@ public class PyManagePackagesAction extends AnAction {
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public @NotNull ActionUpdateThread getActionUpdateThread() {
|
||||
return ActionUpdateThread.BGT;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void update(@NotNull AnActionEvent e) {
|
||||
Module module = e.getData(PlatformCoreDataKeys.MODULE);
|
||||
|
||||
Reference in New Issue
Block a user