mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[actions] action-update-thread: sphinx action
GitOrigin-RevId: 8c42a530d5d3dd6aa60b12e5588697a376d51ef8
This commit is contained in:
committed by
intellij-monorepo-bot
parent
9607b24d26
commit
a3d88ed86d
@@ -15,6 +15,12 @@ import org.jetbrains.annotations.NotNull;
|
||||
* user : catherine
|
||||
*/
|
||||
public class RunSphinxQuickStartAction extends AnAction implements DumbAware {
|
||||
|
||||
@Override
|
||||
public @NotNull ActionUpdateThread getActionUpdateThread() {
|
||||
return ActionUpdateThread.BGT;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void update(@NotNull final AnActionEvent event) {
|
||||
RestPythonUtil.updateSphinxQuickStartRequiredAction(event);
|
||||
@@ -23,7 +29,7 @@ public class RunSphinxQuickStartAction extends AnAction implements DumbAware {
|
||||
@Override
|
||||
public void actionPerformed(@NotNull final AnActionEvent e) {
|
||||
final Presentation presentation = RestPythonUtil.updateSphinxQuickStartRequiredAction(e);
|
||||
assert presentation.isEnabled() && presentation.isVisible() : "Sphinx requirements for action are not satisfied";
|
||||
assert presentation.isEnabled() && presentation.isVisible() : "Sphinx requirements for action are not satisfied";
|
||||
|
||||
final Project project = e.getData(CommonDataKeys.PROJECT);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user