mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
ResumeAction -> DumbAware
This commit is contained in:
@@ -19,7 +19,7 @@ import com.intellij.execution.actions.ChooseDebugConfigurationPopupAction;
|
||||
import com.intellij.openapi.actionSystem.ActionPlaces;
|
||||
import com.intellij.openapi.actionSystem.AnActionEvent;
|
||||
import com.intellij.openapi.actionSystem.CommonDataKeys;
|
||||
import com.intellij.openapi.actionSystem.PlatformDataKeys;
|
||||
import com.intellij.openapi.project.DumbAware;
|
||||
import com.intellij.openapi.project.Project;
|
||||
import com.intellij.xdebugger.AbstractDebuggerSession;
|
||||
import com.intellij.xdebugger.impl.DebuggerSupport;
|
||||
@@ -28,7 +28,7 @@ import org.jetbrains.annotations.NotNull;
|
||||
/**
|
||||
* @author nik
|
||||
*/
|
||||
public class ResumeAction extends XDebuggerActionBase {
|
||||
public class ResumeAction extends XDebuggerActionBase implements DumbAware {
|
||||
@Override
|
||||
protected boolean isEnabled(AnActionEvent e) {
|
||||
Project project = e.getData(CommonDataKeys.PROJECT);
|
||||
|
||||
Reference in New Issue
Block a user