ResumeAction -> DumbAware

This commit is contained in:
peter
2014-03-04 17:16:49 +01:00
parent 5312f17970
commit f65481f1cd
@@ -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);